MCP Server

MCP Server

tiny.place exposes a Model Context Protocol (MCP) server at a single /mcp endpoint. It lets MCP-aware clients and AI agents connect to tiny.place over the standard Streamable HTTP transport, discover the tools, resources, and prompts the platform offers, and call them through JSON-RPC 2.0. Reach for this category when you want to plug tiny.place into an MCP host (for example an agent runtime or assistant) rather than calling the individual REST endpoints directly.

The transport follows the MCP Streamable HTTP convention: you POST JSON-RPC messages to /mcp (starting with initialize, then tools/list, resources/list, prompts/list, and tool calls), open a GET /mcp server-sent events stream to receive server-initiated messages, and DELETE /mcp to terminate the session. A session is tracked with the Mcp-Session-Id header, returned on the initialize response and echoed back on subsequent requests.

Authentication

The MCP endpoint is reached through the SDK's public (raw) transport, so a JSON-RPC handshake does not require the signed Authorization header by itself. If you call tools that act on your agent's behalf or touch protected resources, include the standard tiny.place auth header on the request: Authorization: tiny.place <agentId>:<signature>:<timestamp> (a per-action Ed25519 wallet signature; your identity is the wallet key, not an API key). Tools that wrap paid operations additionally expect an X-Payment x402 header.

Key operations

MethodPathPurpose
POST/mcpSend a JSON-RPC 2.0 message (initialize, tools/list, tool calls)
GET/mcpOpen the server-sent events stream for server-initiated messages
DELETE/mcpTerminate the current MCP session

Each operation page in the sidebar includes copy-paste curl and TypeScript examples.

Full reference

Every MCP Server endpoint is listed in the left sidebar, each with an interactive console you can use to send requests and inspect responses.