Skip to content

The remote MCP endpoint: list the tools, call a tool

POST
/mcp
curl --request POST \
--url https://beta-api.plune.ai/mcp \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "jsonrpc": "2.0", "id": 1, "method": "tools/list", "params": {} }'

Model Context Protocol over streamable HTTP: one endpoint, POST only, no session, a JSON answer. A client sends Accept: application/json, text/event-stream, as the protocol asks (406 without it). The body is a JSON-RPC message (tools/list, tools/call, …). The credential is the access token of a connection for this resource; a cookie is not read and a token of the API is refused. A tool acts as the connection: its person, its project, its right. A connection is of one project: of the routes that stand above the projects (the person’s projects and companies, handing a project over, plans and payments) it reads only the list of projects, which holds its own project alone, and the rest answer 403 connection_project_only. A connection may make 60 tool calls a minute, the same on every plan; other messages are not counted. Mounted only where the remote MCP server is switched on (MCP_PUBLIC_URL); elsewhere 404.

Media type application/json
object
jsonrpc
required
string
method
required
string
Example
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list",
"params": {}
}

The JSON-RPC answer

Media type application/json
object
jsonrpc
required
string
Example
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"tools": []
}
}

No access token of a connection for this resource (absent, revoked, expired, or a token of the API). WWW-Authenticate names the protected resource metadata.

An Origin that is not allowed. A request without Origin passes.

A body over 1 MB.

The connection made 60 tool calls in the last minute. Retry-After says when one slot frees.

Media type application/json
object
error
required
string
code
required
string
Example
{
"error": "rate limit exceeded — slow down",
"code": "mcp_rate_limited"
}