Skip to content

Protocol and llms.txt

How DECA's MCP server speaks the protocol, which versions it accepts, and the files that describe DECA to models and code.

Most agents need only the server URL. This page is for people writing their own client, checking compatibility, or feeding DECA to a model.

Transport

Server URL https://app.decalabs.ai/mcp
Transport Streamable HTTP. Every message is a POST with a JSON-RPC 2.0 body.
Responses Plain JSON (application/json). The server never opens a server-sent event stream; GET and DELETE answer 405.
Sessions None. The server issues no Mcp-Session-Id; every request stands alone, so any instance can answer it.
Notifications A message with no id, such as notifications/initialized, is accepted with 202 and no body.
Batches A JSON array of up to 20 messages. Each tool call in a batch counts against the rate limit.
CORS Open to any origin, so a browser can call it.
Server info name: "deca", title: "DECA Labs", the tools' version (now 1.6.0), and instructions for the model.

Protocol versions

The server accepts these MCP protocol versions, newest first:

Version
2025-11-25 The default
2025-06-18
2025-03-26
2024-11-05

On initialize, a client that asks for one of them gets it back. A client that asks for any other version gets 2025-11-25, and may disconnect if it cannot speak it.

Methods

Method Answer
initialize Protocol version, capabilities: { tools: { listChanged: false } }, server info and instructions
ping {}
tools/list The ten tools, each with its JSON Schema and annotations (readOnlyHint, destructiveHint, idempotentHint)
tools/call The tool's object as structuredContent and as JSON text in content, with isError

DECA offers tools only: no resources, prompts or sampling. The tool list does not change while connected.

curl -X POST https://app.decalabs.ai/mcp \
  -H "content-type: application/json" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": "2025-11-25", "capabilities": {}, "clientInfo": {"name": "my-agent", "version": "1.0.0"}}}'

JSON-RPC error codes are listed in Errors.

Authentication on the wire

A key is optional. When one is sent as Authorization: Bearer, it must be good: a bad or revoked key is answered 401 with JSON-RPC error -32001, never treated as no key. A tool that needs a workspace, called with no key, answers 401 with a WWW-Authenticate header that points to Sign in with DECA.

For models: llms.txt and Markdown

Every page of these docs is also plain Markdown, and two files gather them, following llmstxt.org:

File What it holds
/llms.txt What DECA is, how to connect, every endpoint, and a link to each docs page as Markdown
/llms-full.txt Every docs page in one file, in reading order
/docs/<page>.md Any one page as Markdown: add .md to its address, as in /docs/quickstart.md

Each page also has Copy page and Ask Claude about this page at its top.

Machine-readable descriptions

OpenAPI /api/agent/openapi.json: the REST endpoints, the paid ones included
MCP Registry ai.decalabs/deca in the official MCP Registry, so clients can find the server and check where it comes from
x402 Bazaar POST /api/agent/score carries the Bazaar discovery block, so x402 marketplaces can list and call it