Skip to content

Getting started

Remote endpoint

Connect over Streamable HTTP with no local process: the hosted MCP endpoint runs the same four tools as the stdio server, authenticated with your API key.

2 min read · Updated

Clients that speak MCP's Streamable HTTP transport can skip the local npx process entirely and talk to the hosted endpoint at https://www.pastepile.com/api/mcp. It runs the exact same dispatcher as the stdio package, so the four tools, their parameters, and their answers are identical; only the transport differs.

The remote endpoint requires a free API key for tool calls, sent as Authorization: Bearer <key> or X-API-Key: <key>. Discovery (initialize, tools/list) works without one. The stdio server remains fully usable anonymously.

Connect a client

One command
claude mcp add --transport http pastepile https://www.pastepile.com/api/mcp --header "Authorization: Bearer pk_live_..."

Transport shape

BehaviorDetail
RequestsPOST one JSON-RPC 2.0 message; the response returns as application/json.
NotificationsMessages without an id are acknowledged with 202 and an empty body.
Sessions and streamsStateless by design: no Mcp-Session-Id, and GET returns 405 (no server-initiated streams).
BatchingNot supported, matching MCP protocol 2025-06-18.
Limits120 requests per minute per IP at the transport, then your key's plan limits apply.

stdio or remote?

  • stdio (npx -y @pastepile/mcp): works anonymously, ideal for local assistants and air-gapped config; requires Node.js 18+.
  • Remote: nothing to install and nothing to keep updated, ideal for clients on machines without Node or for hosted agents; requires a free key for tool calls.
  • Both hit the same REST API with the same per-key isolation, so you can switch transports at any time without moving data.

Related documentation