Access MCP Tools and Resources

post

/mcp

Allows MCP clients to discover and use available tools and resources.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Match One Schema
Show Source
Nested Schema : JSONRPCRequest
Type: object
Show Source
Nested Schema : JSONRPCNotification
Type: object
Show Source
Nested Schema : id
Type: object
Nested Schema : params
Type: object
Nested Schema : params
Type: object
Back to Top

Response

Supported Media Types

200 Response

JSON-RPC response returned.
Body ()
Root Schema : JSONRPCResponse
Type: object
Show Source
Nested Schema : JSONRPCError
Type: object
Show Source
Nested Schema : id
Type: object
Nested Schema : result
Type: object
Nested Schema : data
Type: object

202 Response

Notification accepted without a response body.

400 Response

Malformed request or unsupported transport headers.
Body ()
Root Schema : JSONRPCResponse
Type: object
Show Source
Nested Schema : JSONRPCError
Type: object
Show Source
Nested Schema : id
Type: object
Nested Schema : result
Type: object
Nested Schema : data
Type: object

401 Response

Authentication is required.

403 Response

Origin or access was denied.
Body ()
Root Schema : JSONRPCResponse
Type: object
Show Source
Nested Schema : JSONRPCError
Type: object
Show Source
Nested Schema : id
Type: object
Nested Schema : result
Type: object
Nested Schema : data
Type: object

404 Response

MCP is disabled.

500 Response

An internal server error occurred.
Body ()
Root Schema : JSONRPCResponse
Type: object
Show Source
Nested Schema : JSONRPCError
Type: object
Show Source
Nested Schema : id
Type: object
Nested Schema : result
Type: object
Nested Schema : data
Type: object

503 Response

MCP transport is unavailable.
Back to Top