How to Connect Tapuffin to Cursor (mcp.json Setup)
29 November 2026 · 4 min read
Short answer: create an API key in Tapuffin under Dashboard → AI assistants, export it as TAPUFFIN_API_KEY in your shell, and add a tapuffin entry to ~/.cursor/mcp.json with "url": "https://tapuffin.com/api/mcp" and an Authorization header of "Bearer ${env:TAPUFFIN_API_KEY}". Restart Cursor and the Tapuffin tools appear for the agent.
These steps follow Cursor's MCP docs as of November 2026.
1. Create a key
Open Dashboard → AI assistants, click Create API key, name it (for example "Cursor on my laptop") and copy it. It starts with tpf_live_ and is shown only once. Leave Can send nudges off unless you want the agent to message people.
2. Put the key in your environment
Cursor reads ${env:NAME} in a remote server's url and headers, but remote servers don't support envFile, so set the variable in your shell profile:
export TAPUFFIN_API_KEY="tpf_live_…"3. Add the server to mcp.json
Use ~/.cursor/mcp.json for every project, or .cursor/mcp.json in one repository:
{
"mcpServers": {
"tapuffin": {
"url": "https://tapuffin.com/api/mcp",
"headers": {
"Authorization": "Bearer ${env:TAPUFFIN_API_KEY}"
}
}
}
}4. Check it
Open Cursor's MCP settings and confirm tapuffin is enabled with its tools listed. Then ask the agent: "List my 10 newest leads as a table." More ideas in how to manage leads in Cursor.
OAuth instead of a key
Cursor's docs say it supports OAuth for remote servers and that with dynamic client registration the url alone is usually enough. Tapuffin supports dynamic registration, so an entry with only "url" should prompt you to sign in. The key route above is the one we test and recommend for scripts.
Troubleshooting
- 401 Unauthorized. The variable is empty in Cursor's environment. Start Cursor from a terminal where
echo $TAPUFFIN_API_KEYprints the key, or set it system-wide. - 429 Too many requests. Each key allows 120 requests a minute. Ask for bigger pages (limit up to 100) instead of many small calls.
- Team leads missing. Only owners and admins can use scope team.
Frequently asked questions
Should I commit .cursor/mcp.json?
You can, as long as it only contains the ${env:…} reference and never the key itself.
Can I use one key on several machines?
You can, but one key per machine lets you revoke a lost laptop without breaking the rest.
Where are ChatGPT and Claude?
See connect ChatGPT, connect Claude and the MCP page.
Tapuffin