MCP

MCP JSON-RPC request

Synchronous JSON-RPC 2.0 request. Common methods:

  • initialize — handshake. Returns server capabilities.
  • notifications/initialized — client signals it's ready.
  • tools/list — list every callable tool (≥30 free; the full catalogue on paid plans).
  • tools/call — execute a tool with arguments.
  • resources/list — list memory://files, memory://anchors, workflows://saved.
  • resources/read — read a resource by URI.
  • prompts/list — list the 6 demo prompts.
  • prompts/get — render a prompt with arguments.

See MCP spec 2025-03-26 for the full method catalog.

post/mcp/messages

Request

  • Base URL: https://api.johnsessentials.com
  • URL: https://api.johnsessentials.com/mcp/messages
  • Auth: HTTP bearer

Headers

Mcp-Session-Idstring

Session ID from the initialize response. Required for every method other than initialize.

Request body

jsonrpc'2.0' required
methodstring required

One of: initialize, notifications/initialized, tools/list, tools/call, resources/list, resources/read, prompts/list, prompts/get, ping.

paramsobject

Method-specific parameters.

Response

JSON-RPC response.

jsonrpc'2.0' required
resultunknown

Changes

No recorded changes to this operation across all 1 revision of this API.