Skip to main content
MCP uses a separate endpoint:
It takes an MCP key, not a regular API key. Create one by adding an MCP connection in the dashboard (see MCP). The connection decides which projects and tools the key can reach. MCP needs a Plus, Pro, or Enterprise plan.

Headers

string
required
Bearer followed by your MCP key. You can send the key in X-Pxxl-MCP-Key instead.
string
required
Must be application/json. Anything else returns 415.
string
default:"2025-11-25"
Protocol version used by the client. 2025-03-26, 2025-06-18, and 2025-11-25 are supported.

JSON-RPC request

string
required
Must be 2.0.
string | number
Client-generated request ID. Leave it out for notifications, which return 202 with no body.
string
required
MCP method such as tools/list.
object
Method parameters.

MCP methods

A GET to the endpoint with Accept: text/event-stream opens a stream of server events. Without that header it returns 204.

List tools

Call a tool

Tools that change or delete data need "confirm": true in arguments. Pass idempotency_key when you may retry a write.

Error responses

JSON-RPC errors use the top-level error field.
A tool can also return isError: true inside result. Check both forms.