← Letivo docs  ·  Letti MCP Server
Get your API key →

Letti MCP Server

Connect Claude, ChatGPT, Cursor and any other Model-Context-Protocol capable AI client to your Letivo PMS data. Read-only, RBAC-enforced.

🔑 Get your API key first.
The MCP server authenticates with the same key used by the REST API. To generate one, log in to pms.letivo.co.uk and go to Settings → API key → Rotate. The key is shown once (starts with letivo_).

Endpoint

Streamable HTTP (JSON-RPC 2.0), protocol version 2025-03-26:

POST https://mcp.letivo.co.uk/mcp
X-API-Key: letivo_...
Content-Type: application/json

Available tools (all read-only)

Add to Claude Desktop

Open ~/Library/Application Support/Claude/claude_desktop_config.json and add:

{
  "mcpServers": {
    "letivo": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp.letivo.co.uk/mcp"],
      "env": {
        "MCP_HEADER_X_API_KEY": "letivo_YOUR_KEY_HERE"
      }
    }
  }
}

Restart Claude Desktop. You'll see a letivo connector in the tools tray.

Add to ChatGPT (custom connector)

Only available on ChatGPT Team / Enterprise / Pro plans with connector support enabled.

  1. Settings → Connectors → Add custom connector
  2. URL: https://mcp.letivo.co.uk/mcp
  3. Auth: Custom header — Name X-API-Key, Value your letivo_... key
  4. Save. Enable the connector in a new chat.

Add to Cursor

Cursor Settings → MCP tab → paste the same JSON block as Claude Desktop above.

Quick test with curl

# List available tools
curl -s https://mcp.letivo.co.uk/mcp \
  -H "X-API-Key: letivo_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

# Call get_arrears_summary
curl -s https://mcp.letivo.co.uk/mcp \
  -H "X-API-Key: letivo_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
       "params":{"name":"get_arrears_summary","arguments":{}}}'

Security model