Skip to main content

Before you start

  • Hosted connectors (Claude web & desktop, ChatGPT, Claude Code over HTTP) sign you in to Precept with OAuth 2.1. There’s no API key to copy: Precept creates one for the connector, and new accounts start on the free Starter trial (no card needed).
  • Local setups (npx, for Claude Code, Cursor, Codex, Claude Desktop local mode or your own agent) need an API key. Sign in at app.preceptai.co.uk, open the Developer page, click Generate New API Key and copy it (keys start with pt_). The server reads it from the PRECEPT_API_KEY environment variable.

Connect your client

Uses the hosted server. Once added, the connector is available on Claude web, desktop and mobile.
  1. In Claude, open Settings → Connectors → Add custom connector and fill in:
    • Name: Precept AI
    • MCP server URL: https://precept-mcp-server-production.up.railway.app/mcp
    Click Continue.
  2. Leave the options Claude detects (Sign in now, Use your own OAuth client) as they are, enter the OAuth client ID claude, leave the client secret blank, and click Add.
  3. Click Connect next to Precept AI and sign in to Precept (or create a free account) in the window that opens. It closes once you’re connected.
Step-by-step screenshots: preceptai.co.uk/mcp/claude.

Use it from your own agent

Any MCP client can call Precept’s tools directly, with or without an LLM in the loop. This example uses the official TypeScript SDK (npm install @modelcontextprotocol/sdk @preceptai/mcp-server):
To give an LLM these tools, pass the result of client.listTools() into its tool definitions and forward its tool calls to client.callTool(). A full agent-loop example with the Claude API is on preceptai.co.uk/mcp/code.

Check it works

Ask your assistant:
Check my Precept credits.
It should call precept_check_credits and reply with your balance. Then try a real request, for example “Find 10 Heads of Growth at Series A fintechs in London”.

Troubleshooting