- Add a capability to a virtual MCP connection
- okta.resourceServers.virtualMcpServers.manage
- SUPER_ADMIN
Adds a single capability to the virtual MCP connection. Optionally includes an admin-defined alias that overrides the capability's default name when exposed through the virtual MCP server. If no alias is provided, it defaults to the capability name as reported by the upstream resource server.
Admin-defined alias that overrides the capability's default name when exposed through the virtual MCP server. If not provided, defaults to the capability name as reported by the upstream resource server.
The ORN of the source capability on the upstream resource server
- Add a capability with an alias
- Add a capability without an alias
curl -i -X POST \
https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections/mcn1a2b3c4d5e6f7g8h9/capabilities \
-H 'Content-Type: application/json' \
-d '{
"sourceOrn": "orn:okta:directory:00o1gjjp4jsdR3Sww4x7:resource-servers:mcp:ems8nUa7p0g4zrZbs2f4:tools:emt1aB2cD3eF4gH5iJ6k",
"alias": "get_jira_issues"
}'Created
The ORN of the connection that provides authentication data for the resource server this capability is bound to
Unique identifier for the capability. Use this value in the {capabilityId} path parameter.
The ORN of the source capability on the upstream resource server
Validity status of the capability relative to the upstream MCP server
| Enum Value | Description |
|---|---|
| VALID | The capability still exists on the upstream MCP server |
| INVALID | The upstream MCP server no longer reports this capability after its most recent discovery |
{ "id": "vsc1aB2cD3eF4gH5iJ6k", "sourceOrn": "orn:okta:directory:00o1gjjp4jsdR3Sww4x7:resource-servers:mcp:ems8nUa7p0g4zrZbs2f4:tools:emt1aB2cD3eF4gH5iJ6k", "connectionOrn": "orn:okta:idp:00o1gjjp4jsdR3Sww4x7:connections:mcn1aB2cD3eF4gH5iJ6k", "type": "TOOL", "status": "VALID", "profile": { "name": "get_issues", "description": "Get issues from a repository", "alias": "get_jira_issues" } }