- Create a virtual MCP connection
List all virtual MCP connections
Retrieve a virtual MCP connection
Update a virtual MCP connection
Delete a virtual MCP connection
List all capabilities for a virtual MCP connection
Add a capability to a virtual MCP connection
Replace all capabilities for a virtual MCP connection
Retrieve a specific capability
Update a specific capability
Remove a specific capability from a virtual MCP connection
Activate a virtual MCP connection
Deactivate a virtual MCP connection
Create a virtual MCP conn...
OAuth 2.0 scope:
- okta.resourceServers.virtualMcpServers.manage
Admin roles:
- SUPER_ADMIN
Creates a resource connection for the virtual MCP. Only STS_ACCESS_TOKEN connections to MCP_SERVER resources are supported.
POST
curl -i -X POST \
https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections \
-H 'Content-Type: application/json' \
-d '{
"connectionType": "STS_ACCESS_TOKEN",
"resource": {
"orn": "orn:okta:idp:00o1n8sbwArJ7OQRw406:client_auth_settings:rsc2c8xwvBn4h2Ry50g7"
},
"resourceIndicator": "https://mcp.example.com"
}'A response confirming the successful creation of the connection.
Unique identifier for the resource connection. Only present for resource connections.
The ORN of the resource connection
Resource indicator used when requesting tokens
The status of the connection
| Enum Value | Description |
|---|---|
| ACTIVE | The agent connection is active |
| INACTIVE | The agent connection is inactive |
Response
- APP_INSTANCE
- MCP_SERVER
- API_SERVER
{ "connectionType": "STS_ACCESS_TOKEN", "id": "mcn9i0j1k2l3m4n5o6p7", "orn": "orn:okta:idp:00o1n8sbwArJ7OQRw406:connections:mcn9i0j1k2l3m4n5o6p7", "status": "INACTIVE", "resourceIndicator": "https://mcp.example.com", "resource": { "resourceType": "MCP_SERVER", "orn": "orn:okta:directory:00o1n8sbwArJ7OQRw406:resource-servers:mcp:mcp2c8xwvBn4h2Ry50g7", "name": "Code Assistant MCP Server", "mcpServerId": "mcp2c8xwvBn4h2Ry50g7", "endpointUrl": "https://mcp.example.com", "clientAuthSettings": { … }, "_links": { … } }, "_links": { "self": { … } } }