Skip to main content
API reference

Guide · MCP server

1322 docs MCP server

A public, read-only Model Context Protocol server that gives MCP clients the published 1322 API reference for all eight sources. It needs no key and returns no account data.

Streamable HTTP · 2 tools · 1 resource · no authentication
Endpoint
https://1322.io/mcp
Transport
Streamable HTTP
Access
Public, read-only
Updated

What it is

  • An MCP server at https://1322.io/mcp that answers with the 1322 API reference already published on the docs page and in llms.txt, structured for tool calls.
  • It is public and read-only: no sign-in and no API key. It returns published documentation only, never customer data, keys, tracked lists or live events, and it cannot change anything.
  • To work with your own account, call the REST API and WebSocket with the key from API access in the dashboard. The quick starts show how.

Endpoint and transport

URLhttps://1322.io/mcp
TransportStreamable HTTP, stateless: no session id, nothing kept between requests
MethodPOST only. GET and DELETE answer 405.
ResponsesJSON (application/json), not an event stream
Request headersContent-Type: application/json and Accept: application/json, text/event-stream
AuthenticationNone
Servername 1322-docs, version 1.0.0

Tools and resource

The server exposes two tools. Each returns its answer as JSON text. Call list_platforms first, then get_platform_docs for the source you need.

ToolInputReturns
list_platformsNoneThe 8 sources (X, Truth Social, Instagram, YouTube, TikTok, Binance Square, News, FOMO), each with its id, name and a one-line description.
get_platform_docsplatform: x, truth-social, instagram, youtube, tiktok, binance-square, news, fomoThe reference for one source: summary, REST base URL, WebSocket URL patterns, authentication, rate limits, management endpoints with request and response examples, WebSocket event types with their field shapes, type definitions and notes.

It also serves one resource, docs://1322/llms-txt (text/plain): the contents of 1322.io/llms.txt, with the overview, pricing, key pages and FAQs.

Connect a client

Most clients that support remote MCP servers take a JSON entry with the server URL. Field names differ between clients; the two values that matter are the URL and the transport, Streamable HTTP.

{
  "mcpServers": {
    "1322-docs": {
      "url": "https://1322.io/mcp"
    }
  }
}
{
  "servers": {
    "1322-docs": {
      "type": "http",
      "url": "https://1322.io/mcp"
    }
  }
}
  • On the docs page, the reference tools button (bottom right) has one-click installs for Cursor and VS Code, and copies the MCP URL.
  • No API key, header or environment variable is needed.

Try it with curl

Each call is one JSON-RPC request in a POST. The server is stateless, so you can call a tool without a session.

# List the tools
curl -s https://1322.io/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

# Get the TikTok reference
curl -s https://1322.io/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_platform_docs","arguments":{"platform":"tiktok"}}}'

# Read the llms.txt resource
curl -s https://1322.io/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":3,"method":"resources/read","params":{"uri":"docs://1322/llms-txt"}}'

Limits and errors

HTTP statusWhen
405GET or DELETE. The server only accepts POST.
406The Accept header does not list both application/json and text/event-stream.
413The request body is larger than 64 KB.
415Content-Type is not application/json.
429More than 60 requests in a minute from one IP address. Wait for the minute to pass.

Common questions

Do I need an API key or an account?

No. The server is public and asks for no authentication, because it only returns documentation that is already published at 1322.io/docs and 1322.io/llms.txt.

Can it see my account, keys or tracked accounts?

No. It has no access to customer data and returns no keys, tracked lists or live events. To work with your own account, call the REST API and WebSocket with the key from API access in the dashboard.

Is it the same reference as the docs page?

Yes. get_platform_docs returns the per-source reference from 1322.io/docs, structured for a tool call. The same reference is also published as plain text at 1322.io/llms-full.txt.

Related

  • API reference: REST endpoints and WebSocket event shapes for every source.
  • llms-full.txt: the same per-source reference as plain text.
  • Webhooks: receive signed events on your own HTTPS endpoint.