AI

AI Toolkit

Use an AI coding assistant to build on the Partner API, or connect an agent to a COUNT workspace over MCP.

Choose a path

Build an integration

You are writing code that calls the Partner API from your own product. Generate a prompt for Cursor or Claude Code that covers OAuth, HMAC signing and the endpoints you need.

Automate from a coding agent

Claude Code, Cursor or another agent on your machine works in a COUNT workspace. The COUNT CLI signs you in and runs a local MCP server.

Connect a hosted assistant

Claude.ai, ChatGPT or another client that supports remote MCP. Sign in with OAuth and the assistant gets 319 workspace tools — nothing to install.

The paths combine: many teams build their integration with generated prompts, then use MCP for their own back-office work. Local and remote MCP expose the same COUNT_* tools.

Give your assistant the docs

If your AI tool accepts a documentation URL, give it one of these. Both are rebuilt from this site on every deploy.

Grounding beats guessing

COUNT's HMAC signing scheme is specific to COUNT, and a model without the docs in context will confidently invent a plausible-looking one. Giving it llms.txt first is the cheapest fix for wrong generated code.

Connect a remote MCP client

Add COUNT to an MCP client to let an assistant read and write real workspace data. The full tool catalog is on the MCP Server page.

VS Code

Or add this to .vscode/mcp.json in your workspace:
.vscode/mcp.json
{
  "servers": {
    "count": {
      "type": "http",
      "url": "https://api.getcount.com/mcp"
    }
  }
}

Cursor

Or add this to ~/.cursor/mcp.json:
~/.cursor/mcp.json
{
  "mcpServers": {
    "count": {
      "url": "https://api.getcount.com/mcp"
    }
  }
}

Claude Code

Terminal
claude mcp add --transport http count https://api.getcount.com/mcp
Run it in your project directory. Claude Code opens the browser for OAuth on the first tool call; check the connection with /mcp.

Claude.ai

Settings → Connectors → Add custom connector, then paste the server URL.

Available on Pro, Max, Team, and Enterprise plans. Claude completes the OAuth consent flow in the browser and stores the connection on your account.

ChatGPT

Open Plugins → Browse plugins, select the + button at the top, then choose Create app → MCP app. Paste the server URL as the MCP endpoint.

Requires a Plus, Pro, Business, Enterprise, or Edu account with developer mode enabled.

Any other MCP client

Server URL
https://api.getcount.com/mcp
MCP is an open protocol. Point any client that supports a streamable HTTP server with OAuth at this URL — it will register the same COUNT_* tools under the name count.

Run MCP locally

For an agent on your machine, install the CLI, sign in, and print the MCP configuration to paste into your agent. Details on the COUNT CLI page.

Terminal
npm install -g @countfinancial/cli
count login
count mcp print-config