Get MCP Resource Spec

Retrieve the raw spec content for an MCP resource.

get

Path Parameters

resourceIdstring(uuid)required

The ID of the MCP resource.

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

MCPAPISpecobject

Represents raw API spec content, such as an OpenAPI document.

* Additional properties are allowed.
get/mcp-resources/{resourceId}/spec
 

MCPResourceInfo

object
idstring(uuid)required

The unique identifier for the MCP resource.

namestringrequired

The unique name of the MCP resource.

>= 1 characters<= 256 characters

mcp_serversarray[string](uuid)required

List of MCP server IDs that reference this resource.

typestringrequired

The type of the MCP resource.

Allowed values:api

sourcestringrequired

The source of the MCP resource, indicating how it was created.

Allowed values:uploadapi_catalog

versionstringrequired

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”).

updated_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity update date.

Example:2022-11-04T20:10:06.927Z

created_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity creation date.

Example:2022-11-04T20:10:06.927Z

Example

MCPResourceSource

string

The source of the MCP resource, indicating how it was created.

Allowed values:uploadapi_catalog

MCPResourceAPIConfigType

string

The type of the MCP resource API configuration.

Allowed values:specapi_reference

MCPResourceInput

object
typestringrequired

The type of the MCP resource.

Allowed values:api

Default:api

configOne Of
required
MCPResourceSpecConfigobject

The configuration of the MCP resource.

Show Child Parameters
Example