Skip to main content
POST
/
mcp
MCP protocol message
curl --request POST \
  --url http://localhost:8080/mcp \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "method": "<string>",
  "params": {},
  "id": "<string>"
}
'
{
  "jsonrpc": "2.0",
  "result": {},
  "error": {
    "code": 123,
    "message": "<string>"
  },
  "id": "<string>"
}

Body

application/json

JSON-RPC 2.0 request

jsonrpc
enum<string>
Available options:
2.0
method
string
params
object
id

Response

200 - application/json

JSON-RPC 2.0 response

jsonrpc
enum<string>
Available options:
2.0
result
object
error
object
id