- Update a virtual MCP connection
List all virtual MCP connections
Create a virtual MCP connection
Retrieve 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
Update a virtual MCP conn...
OAuth 2.0 scope:
- okta.resourceServers.virtualMcpServers.manage
Admin roles:
- SUPER_ADMIN
Updates a resource connection for the virtual MCP. You can update only the resourceIndicator field.
PATCH
- Update the resource indicator
- Reset resource indicator to default
curl -i -X PATCH \
https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections/mcn1a2b3c4d5e6f7g8h9 \
-H 'Content-Type: application/merge-patch+json' \
-d '{
"resourceIndicator": "https://mcp.custom-domain.company.com"
}'A response confirming the successful update 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": "ACTIVE", "resourceIndicator": "https://mcp.custom-domain.company.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": { … } } }