Skip to main content
POST
/
v1rc1
/
resource
/
mcp
curl --request POST \
  --url 'https://openapi.msu.io/v1rc1/resource/mcp' \
  --header 'Content-Type: application/json' \
  --header 'x-nxopen-api-key: YOUR_API_KEY' \
  --data '{
    "rawBody": "{\"jsonrpc\":\"2.0\",\"method\":\"tools/list\",\"id\":1}",
    "sessionId": "YOUR_SESSION_ID"
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {}
}

Body parameters

rawBody
string
required
Raw JSON-RPC 2.0 request body to forward to the MCP server
sessionId
string
MCP session ID

Response

Standard MCP JSON-RPC 2.0 response from the upstream MCP server. Content-Type may be application/json or text/event-stream (SSE).
jsonrpc
string
JSON-RPC version. Always "2.0"
id
integer
Request ID echoed from the original request
result
object
Result payload. Shape depends on the MCP method called.
error
object
Set only when a JSON-RPC error occurs.
curl --request POST \
  --url 'https://openapi.msu.io/v1rc1/resource/mcp' \
  --header 'Content-Type: application/json' \
  --header 'x-nxopen-api-key: YOUR_API_KEY' \
  --data '{
    "rawBody": "{\"jsonrpc\":\"2.0\",\"method\":\"tools/list\",\"id\":1}",
    "sessionId": "YOUR_SESSION_ID"
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {}
}