AI
Build with COUNT's AI toolkit
Most partners start with the Prompt Generator to ship a Partner API integration with an AI coding assistant. Use MCP or the CLI when you want workspace automation inside an agent.
Which surface should I use?
Match the tool to your build target. You can use more than one — many teams generate integration prompts first, then wire MCP for internal ops automation.
Your product on the Partner API
OAuth, HMAC, REST. Build COUNT into your own app or backend.
Prompt GeneratorA coding agent on your laptop
Claude Code, Cursor, or Windsurf with local login and stdio MCP.
COUNT CLIRemote MCP endpoint
https://api.getcount.com/mcpSetup guideGive your assistant the docs
Before you install anything: if your AI tool accepts a documentation URL, point it at one of these. Both are generated from this site on every deploy, so an assistant reading them is never working from a stale copy of the reference.
/llms.txtAn index of every page — guides, endpoints, and tools — one line each. Small enough to hand to an assistant up front so it knows what exists before it starts guessing.
/llms-full.txtThe entire documentation set inlined as markdown in a single file. One fetch instead of crawling every link — best when the tool has a large context window.
Grounding beats guessing
The Partner API's HMAC signing scheme is specific to COUNT, and a model without the docs in context will confidently invent a plausible-looking one. Giving itllms.txt first is the cheapest fix for wrong generated code.Connect an MCP client
Install the remote MCP server to let an agent read and write real workspace data. Full tool catalog and local (stdio) setup on the MCP Server page.
VS Code
.vscode/mcp.json in your workspace:{
"servers": {
"count": {
"type": "http",
"url": "https://api.getcount.com/mcp"
}
}
}Cursor
~/.cursor/mcp.json:{
"mcpServers": {
"count": {
"url": "https://api.getcount.com/mcp"
}
}
}Claude Code
claude mcp add --transport http count https://api.getcount.com/mcp/mcp.Claude.ai
Settings → Connectors → Add custom connector, then paste the server URL.
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.
Any other MCP client
https://api.getcount.com/mcpCOUNT_* tools under the name count.Quick start
For local MCP in a coding agent, install the CLI, sign in, and print MCP configuration:
npm install -g @countfinancial/cli
count login
count mcp print-configTwo paths, one API
Build an integration with the Prompt Generator (REST + OAuth + HMAC). Automate a workspace with CLI or remote MCP (COUNT_* tools). Local and remote MCP expose the same tool names and partner API paths.