# MCP server

URL: https://docs.ajusteur.com/mcp

One endpoint that speaks the Model Context Protocol over Streamable HTTP

The server gives an agent Ajusteur's design engine as tools. It is the same engine our workshop packs come from, so a design that passes here is one we can build.

```text
POST https://ajusteur.com/api/mcp
```

## The facts [#the-facts]

| What | How it works here |
| --- | --- |
| Protocol | [Model Context Protocol](https://modelcontextprotocol.io), JSON-RPC 2.0. Versions `2025-11-25`, `2025-06-18` and `2025-03-26` |
| Transport | Streamable HTTP. Answers come back as JSON. |
| Sessions | None. Every request carries the token and stands on its own. `GET` and `DELETE` answer `405`. |
| Authentication | `Authorization: Bearer aj_…`, an API token you create on your account. See [Authentication and tokens](/authentication). |
| Headers | `Content-Type: application/json` and `Accept: application/json, text/event-stream` |
| Surface | `ajusteur/v1`, fourteen tools and three prompts. See [All tools](/tools) and [Prompts](/mcp/prompts). |
| Language | English |

## What a tool call looks like [#what-a-tool-call-looks-like]

You post one JSON-RPC message. The tool's answer is in `result.structuredContent`, and the same data comes as JSON text in `result.content` for clients that only read text.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": { "name": "families_list", "arguments": {} }
}
```

Three things hold for every tool:

- **Millimetres and AED.** Every dimension is a whole millimetre. Money is in AED, rounded to 50 in estimates. You never get a unit rate.
- **`say`.** Every answer carries `say`, one sentence your agent may pass to the customer as it is.
- **Refusals are answers.** A tool that refuses its input answers HTTP `200` with `isError: true`. The reasons are in `structuredContent.error`. See [Errors and limits](/mcp/errors).

## Methods [#methods]

| Method | What it does |
| --- | --- |
| `initialize` | Optional here, since there is no session. Well behaved clients send it, and the answer carries the [server instructions](/mcp/instructions). |
| `tools/list` | The fourteen tools with their JSON Schemas. |
| `prompts/list`, `prompts/get` | The three [prompts](/mcp/prompts), one per family. |
| `tools/call` | Runs one tool. Counts against your daily quota. |

<Cards>
  <Card title="Connect a client" href="/mcp/connect">Claude Code, Codex, Cursor, VS Code, Gemini CLI and more.</Card>
  <Card title="Plugin and skill" href="/mcp/skill">The Claude Code plugin, and a skill any agent can read.</Card>
  <Card title="Server instructions" href="/mcp/instructions">What every connected agent is told before its first call.</Card>
</Cards>

