# MCP server (/docs/mcp)

Connect an MCP client such as Claude to your workspace through the hosted MCP server.

The MCP server lets an AI assistant work with your content. It is a remote server using Streamable HTTP, so a client connects to a URL and no local install is needed.

> **Early preview**
>
> The server has one tool, `whoami`, and sign-in is not wired up yet. It reports that you are not authenticated.

## Connect a client

The endpoint is `mcp.<your-domain>/mcp`. For example, in Claude Code:

```bash
claude mcp add --transport http cms https://mcp.example.com/mcp
```

Clients that read a JSON configuration take the same URL:

```json
{
  "mcpServers": {
    "cms": { "type": "http", "url": "https://mcp.example.com/mcp" }
  }
}
```

Replace `mcp.example.com` with your MCP origin.

## Tools

| Tool | What it does |
| --- | --- |
| `whoami` | Returns the signed-in user and workspace the connection acts for. |

Tools to read and edit posts will follow once sign-in is in place.
