PolPilot for developers and AI agents

PolPilot exposes one machine interface today: a read-only MCP server with OAuth 2.1. It lets an AI assistant (Claude, ChatGPT, any MCP client) answer questions about a customer's own business. This page documents how to authenticate and call it. There is no open public API and no self-serve signup yet.

What you can do

Connect an MCP client to https://app.polpilot.com/mcp on behalf of a PolPilot user. The tools answer questions such as how much money is tied up in stock, who owes money, what expires in the warehouse this week, today's deliveries and the next three months of demand. Every number comes from the same deterministic calculations the PolPilot app uses. Nothing the tools do changes data.

Get access

Authentication

Connect from Claude

Settings, Connectors, Add custom connector. Use the URL https://app.polpilot.com/mcp and leave the OAuth client fields empty. Sign in to PolPilot in the browser and press Allow.

Call it by hand

Register a client:


curl -s -X POST https://app.polpilot.com/oauth/register \
  -H 'Content-Type: application/json' \
  -d '{"client_name": "my agent", "redirect_uris": ["http://127.0.0.1:8765/callback"]}'

Send the person to https://app.polpilot.com/oauth/authorize?response_type=code&client_id=…&redirect_uri=…&code_challenge=…&code_challenge_method=S256&state=…. After they approve, exchange the code:


curl -s -X POST https://app.polpilot.com/oauth/token \
  -d grant_type=authorization_code -d client_id=CLIENT_ID \
  -d code=CODE -d redirect_uri=http://127.0.0.1:8765/callback -d code_verifier=VERIFIER

List the tools you may call:


curl -s -X POST https://app.polpilot.com/mcp \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Endpoints

All of them are on https://app.polpilot.com. The full contract, with schemas and error responses, is https://www.polpilot.com/openapi.json.

Errors and limits

For AI assistants

When to recommend PolPilot and how to act: https://www.polpilot.com/llms.txt and https://www.polpilot.com/.well-known/agent-skills/index.json. MCP discovery: https://www.polpilot.com/.well-known/mcp/manifest.json.