mcp

Send an MCP JSON-RPC message

Send an MCP message over Streamable HTTP. Send initialize first. The tools are hc_ask, hc_latest, hc_since, hc_search, hc_get_story, hc_sources, hc_topics, hc_about.

post/mcp

Request

  • Base URL: https://hangingcontext.com
  • URL: https://hangingcontext.com/mcp
  • Auth: none required

Headers

HC-API-Version'1'

The API version you expect. Version 1 is the only version today. Every response carries the HC-API-Version header.

Request body

jsonrpc'2.0' required
methodstring required
paramsobject

Example request

{
  "method": "initialize"
}

Response

The JSON-RPC response, as JSON or as text/event-stream.

jsonrpc'2.0' required
resultobject

Changes

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