Get MCP Resource Spec
Retrieve the raw spec content for an MCP resource.
Path Parameters
The ID of the MCP resource.
Response
Response
A response to retrieving an MCP resource spec.
Use Accept header to specify the format of the response content, either JSON or YAML.
When Accept header is not specified, JSON is returned by default.
MCPAPISpec
Represents raw API spec content, such as an OpenAPI document.
Authentication
Path Parameters
MCPResourceInfo
objectThe unique identifier for the MCP resource.
The unique name of the MCP resource.
>= 1 characters<= 256 characters
List of MCP server IDs that reference this resource.
The type of the MCP resource.
Allowed values:api
The source of the MCP resource, indicating how it was created.
Allowed values:uploadapi_catalog
The version of the MCP resource. In the case of API resources, this corresponds
to the version of the spec (e.g., “3.0.0”).
An ISO-8601 timestamp representation of entity update date.
Example:2022-11-04T20:10:06.927Z
An ISO-8601 timestamp representation of entity creation date.
Example:2022-11-04T20:10:06.927Z
MCPResourceSource
stringThe source of the MCP resource, indicating how it was created.
Allowed values:uploadapi_catalog
MCPResourceAPIConfigType
stringThe type of the MCP resource API configuration.
Allowed values:specapi_reference
MCPResourceInput
objectThe type of the MCP resource.
Allowed values:api
Default:api
One OfThe configuration of the MCP resource.