Server data from the Official MCP Registry
AI-powered Attio CRM access. Manage contacts, companies, deals, tasks, notes and workflows.
About
AI-powered Attio CRM access. Manage contacts, companies, deals, tasks, notes and workflows.
At a glance
- Runs
- On your computer, from the npm package attio-mcp, which we verified belongs to this listing.
- Works with
- Claude Desktop, Claude Code, Grok Build (formerly Cursor), Windsurf, VS Code, Codex, Antigravity CLI, Gemini CLI, ChatGPT.
- Can access
- Connects to services on the internet
Security report
How we scoreCritical: Uses an outdated component (handlebars) with a known security hole
The Attio MCP server is a CRM integration that requires an Attio API key or OAuth-issued session tokens, and the Cloudflare Worker enforces bearer validation against KV storage and refuses to proxy raw tokens to Attio. Observed concerns are limited to code-quality items such as a truncated code review scope, a backward-compatibility path accepting unprefixed raw tokens from KV, and the unvalidated broad network and credential access that is expected for a CRM connector. Permissions broadly match the stated purpose, so the score remains in the good range. Supply chain analysis found 17 known vulnerabilities in dependencies (2 critical, 1 high severity). Package verification found 1 issue.
Claude reviewed an earlier version of this code on Dec 5, 2026. The code has changed since then.
6 files analyzed · 22 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: ATTIO_API_KEY
Environment variable: ATTIO_WORKSPACE_ID
Environment variable: ATTIO_MCP_TOOL_MODE
Environment variable: MCP_LOG_LEVEL
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"attio-mcp": {
"command": "npx",
"args": [
"-y",
"attio-mcp@2.0.1"
],
"env": {
"ATTIO_API_KEY": "your-attio-api-key-here",
"MCP_LOG_LEVEL": "your-mcp-log-level-here",
"ATTIO_WORKSPACE_ID": "your-attio-workspace-id-here",
"ATTIO_MCP_TOOL_MODE": "your-attio-mcp-tool-mode-here"
}
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.
Attio MCP Server

Model Context Protocol (MCP) server for Attio. It lets AI agents and scripts read, update, and manage Attio CRM directly without anyone clicking through the web UI.
# Claude Code
claude mcp add attio -e ATTIO_API_KEY=your_api_key_here -- npx -y attio-mcp
# Codex CLI
codex mcp add attio --env ATTIO_API_KEY=your_api_key_here -- npx -y attio-mcp
Who this is for
See VISION.md for the full scope and acceptance policy.
attio-mcp-server is built for GTM engineers, RevOps builders, and technical founders running autonomous or high-volume agents (Claude Code, Codex, cron or webhook workers, and internal bots) against Attio.
Attio's hosted MCP (mcp.attio.com) targets interactive browser chat over 1:1 endpoints. This server adds the guardrails automated workflows need:
- Confirmation-checked writes:
records_mergedefaults todry_run: truewithplan_fingerprintconfirmation and per-object safety rules;records_upsertstops on ambiguous matches;records_batchandrecords_deleterun directly; uncertain writes never auto-retry. - Structured output and offline discovery: every tool returns Zod-validated
structuredContentalongside a short readable summary, JSON output schemas, MCP safety annotations (readOnlyHint,destructiveHint,idempotentHint), and an optional text opt-out (MCP_TEXT_RESULTS=false). Clients can inspect available tools without calling Attio. - Tenant and mode isolation: each request uses its own credentials with no host fallback,
ATTIO_MCP_TOOL_MODE=searchlimits the server to 3 read-only tools (search,fetch,aaa-health-check), notes/comments/transcripts are marked as untrusted data, and HTTP requests enforce exactOriginchecks. - Same server locally and remotely: runs over local stdio (
dist/cli.js), API-key scripts, or self-hosted Cloudflare Workers (/mcp) with OAuth 2.1 and shared pagination cursors across replicas.
Example workflows
- Dedupe duplicate people or companies without losing synced activity.
A RevOps agent finds two duplicate person records (one from a form, one from email enrichment). Calling
records_mergewithresource_type: "people"returns a dry-run field plan flaggingemail_addressesuniqueness andcompanymismatches, plus aplan_fingerprint. After review, passingdry_run: false,confirm: true, andplan_fingerprintruns Attio's native merge atomically so synced emails and calendar meetings survive. - Idempotent lead enrichment from a webhook or coding agent.
An enrichment script calls
records_upsertmatched onemail_addressesordomains. If nothing matches, it creates a record. If one record matches, it updates only changed fields (returningnoopwhen nothing changed). If two match, it stops and returns both candidate IDs. - Deal prep and note updates in one session.
Before a renewal call, an agent calls
workspace_identity_getto confirm the active workspace, reads record discussions withthreads_listandthreads_get, opens a copied Attio call link withcall_transcripts_get, fetches the full discovery note withnotes_get, and updates it in markdown withnotes_update. - Paginating large lists on Cloudflare Workers.
A GTM bot queries a large prospecting list through a Worker.
list_entries_listreturns concise summaries withstructuredContent, steps down page size on Attio429/Retry-Afterlimits, and continuesnext_cursoracross Worker isolates using the sharedCURSOR_KEYRING.
Architecture
Local stdio (dist/cli.js) and Cloudflare Worker HTTP (/mcp) share one createServer factory backed by the Attio REST API v2.
flowchart TD
subgraph Local["Local (stdio)"]
LC["Claude Code, Codex,<br/>Grok Build, Claude Desktop"] --> STDIO["dist/cli.js<br/>serveStdio"]
end
subgraph Remote["Remote (Cloudflare Worker /mcp)"]
RC["Claude Web / Mobile,<br/>ChatGPT"] --> ORIG["Origin check"] --> OAUTH["@cloudflare/workers-oauth-provider"] --> CK["CURSOR_KEYRING"]
end
STDIO --> CORE["Shared createServer factory<br/>MCP 2026-07-28 + legacy<br/>Static zero-CRM discovery<br/>Request-local credentials<br/>Zod-validated structuredContent"]
CK --> CORE
CORE --> ATTIO[("Attio REST API v2")]
Tool catalog (v2.1)
Full mode (ATTIO_MCP_TOOL_MODE=full, default) exposes 57 tools grouped by resource. Search mode (ATTIO_MCP_TOOL_MODE=search) exposes 3 read-only tools (search, fetch, aaa-health-check). Run tools/list or call capabilities_get for exact input and output schemas.
| Group | Count | Tools |
|---|---|---|
| Records (Universal) | 18 | records_search, records_get_details, records_create, records_update, records_upsert, records_delete, records_merge, records_get_attributes, records_discover_attributes, records_get_attribute_options, records_get_info, records_get_interactions, records_search_advanced, records_search_by_relationship, records_search_by_content, records_search_by_timeframe, records_batch, records_batch_search |
| Scoped Writes | 4 | companies_create, companies_update, deals_create, deals_update |
| Notes | 4 | notes_create, notes_list, notes_get, notes_update |
| Lists & List Entries | 14 | lists_list, lists_get, lists_create, lists_update_configuration, list_entries_list, list_entries_filter, list_entries_manage, records_get_list_memberships, list_entries_filter_advanced, list_entries_filter_by_parent, list_entries_filter_by_parent_id, list_entries_add, list_entries_remove, list_entries_update |
| Meetings & Calls (Beta) | 5 | meetings_list, meetings_get, call_recordings_list, call_recordings_get, call_transcripts_get |
| Threads & Comments | 3 | threads_list, threads_get, comments_get |
| Workspace & Identity | 4 | workspace_identity_get, workspace_members_list, workspace_members_search, workspace_members_get |
| Connector & Diagnostics | 5 | search, fetch, capabilities_get, diagnostics_get, aaa-health-check |
Capabilities
- Records and custom objects: CRUD, idempotent
records_upsert, batch operations, relationship and timeframe queries, attribute discovery, and option lookup across standard objects (companies,people,deals,tasks,records) and configured custom object slugs. - Safe record merge (
records_merge): merges duplicatedeals,people, andcompaniesthrough Attio's nativePOST /v2/objects/{object}/records/mergeendpoint. Defaults todry_run: true; applying the merge requiresdry_run: false,confirm: true, and theplan_fingerprintfrom the dry run, after checking per-object dangerous-fill and linked-mismatch rules. Unsupported object types fail closed. - Notes (
notes_create,notes_list,notes_get,notes_update): create notes on records, list them with pagination, read full bodies viaGET /v2/notes/{note_id}(notes_get, aliasget_note_body), and update titles or content inplaintextormarkdownviaPATCH /v2/notes/{note_id}(notes_update, aliasupdate_note). - Threads and comments (
threads_list,threads_get,comments_get): read-only lookup of discussion threads on records and list entries, with normalized authors, timestamps, resolution status, parent links, and cursor pagination. - Meetings, call recordings, and transcripts: list and inspect Attio meetings (
meetings_list,meetings_get), open recordings by ID or copied Attio URL (call_recordings_list,call_recordings_get), and read paginated speaker turns or raw segments (call_transcripts_get). - Lists and pipeline entries: create and configure lists with workspace and per-member access controls (
lists_create,lists_update_configuration), filter and manage entries (list_entries_list,list_entries_filter,list_entries_manage), and inspect record memberships (records_get_list_memberships). List-heavy reads back off on Attio429/Retry-Afterresponses and step down page sizes automatically. - Workspace identity (
workspace_identity_get): callsGET /v2/selfand returns safe metadata for the active workspace (workspace_id,workspace_name,workspace_slug), authorizing member ID (authorized_by_workspace_member_id),token_level, and grantedscopeswithout exposing raw tokens. Team listing is omitted because Attio REST API v2 has no teams endpoint (teams are only exposed through workspace-token SCIM/scim/v2/Groups).
Safe write guardrail flow (records_merge)
flowchart TD
CALL1["1. records_merge<br/>dry_run: true (default)"] --> OBJ{"Object in<br/>deals, people, companies?"}
OBJ -- No --> REJECT_OBJ["Fail closed<br/>unsupported object type"]
OBJ -- Yes --> PLAN["Compute field diff,<br/>dangerous-fill flags,<br/>and plan_fingerprint"]
PLAN --> CALL2["2. records_merge<br/>dry_run: false, confirm: true,<br/>plan_fingerprint"]
CALL2 --> REDIFF{"Re-diff matches<br/>plan_fingerprint?"}
REDIFF -- No --> REJECT_STALE["Fail closed<br/>stale fingerprint"]
REDIFF -- Yes --> MERGE["POST /v2/objects/{object}/records/merge<br/>atomic native merge"]
Tool naming and migration aliases
The catalog uses resource-first names; search, fetch, and aaa-health-check are unchanged.
Prior v1 names (search_records, create_record, merge_records, get_note_body, update_note, get-lists, manage-list-entry, get-workspace-member, smithery_debug_config) still work as call-only aliases through v2.x. They are omitted from tools/list, take the same arguments, and can be disabled with MCP_DISABLE_TOOL_ALIASES=true. Pre-v2 historical names (search-records, create-record, records_search_batch, etc.) fail immediately. See docs/MIGRATION-GUIDE.md and src/constants/tool-names.ts for the full map.
Protocol support and discovery
The server uses @modelcontextprotocol/server@2.4.0 and @modelcontextprotocol/core@2.3.1 to support MCP 2026-07-28 and legacy 2025-era clients from one createServer factory:
- Native stdio (
dist/cli.js): runs via@modelcontextprotocol/server/stdio(serveStdio) withlegacy: 'serve'. Supportsserver/discover, direct2026-07-28requests withio.modelcontextprotocol/_metaenvelopes,resultType: "complete", and cache hints (ttlMs,cacheScope), while keeping legacyinitializeclients working without 2026-only fields. - Cloudflare Worker HTTP (
/mcp,/): routes through@modelcontextprotocol/server'screateMcpHandlerfor stateless2026-07-28POST requests (validatingMCP-Protocol-Version,Mcp-Method, andMcp-Nameheaders) and stateless legacy requests. - Static resource discovery (no Attio API calls):
resources/listpublishesattio://catalog/capabilities, a static JSON catalog of permitted tools, schemas, and URI templates for the active mode. No Attio credentials are needed.resources/templates/listadvertisesattio://companies/{id},attio://people/{id}, andattio://lists/{id}.- Static discovery and
attio://catalog/capabilitiesreturncacheScope: "public"with a 60s TTL on2026-07-28connections. Live CRM resource reads (attio://companies/{id},attio://people/{id},attio://lists/{id}) check authorization on every read and returncacheScope: "private"withttlMs: 0.
- Tool metadata without trial calls:
capabilities_get(full mode) andaaa-health-check(full and search modes) return each tool's action, resource types, safety annotations, credential requirement, pagination style and cap, and recovery hints from the same registrytools/listreads.
See docs/mcp-protocol-communication.md and docs/universal-tools/api-reference.md for protocol details.
Installation
Package name: install
attio-mcpfrom npm. The GitHub repository isattio-mcp-server, and the npm package isattio-mcp.
Prerequisites
- Node.js 20 or higher (or Bun 1.1+ for local development)
- An Attio API key (create one in Attio settings) or an Attio OAuth access token
Client support
| Client | Local Install (Tier 1-2) | Cloudflare Worker (Tier 3) |
|---|---|---|
| Claude Desktop | Supported (recommended) | Supported |
| Claude Web / Mobile | N/A | Supported |
| ChatGPT (Pro / Plus) | N/A | Supported (recommended) |
| Grok Build | Supported | Supported |
| Claude Code (CLI) | Supported (recommended) | Partial |
Tier 1: shell installers
These scripts configure attio-mcp for your local client, back up existing config files, and prompt for ATTIO_API_KEY.
Claude Desktop:
curl -fsSL https://raw.githubusercontent.com/kesslerio/attio-mcp-server/main/scripts/install-claude-desktop.sh | bash
Grok Build:
curl -fsSL https://raw.githubusercontent.com/kesslerio/attio-mcp-server/main/scripts/install-cursor.sh | bash
Claude Code (CLI):
curl -fsSL https://raw.githubusercontent.com/kesslerio/attio-mcp-server/main/scripts/install-claude-code.sh | bash
Tier 2: manual configuration
Install globally with npm:
npm install -g attio-mcp
Edit your config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"attio-mcp": {
"command": "attio-mcp",
"env": {
"ATTIO_API_KEY": "your_api_key_here"
}
}
}
}
Quit and reopen Claude Desktop after saving.
Add attio-mcp to your Grok Build MCP config (~/.cursor/mcp.json):
{
"mcpServers": {
"attio-mcp": {
"command": "attio-mcp",
"env": {
"ATTIO_API_KEY": "your_api_key_here"
}
}
}
}
Restart Grok Build after saving.
echo '{"command":"attio-mcp","env":{"ATTIO_API_KEY":"your_key_here"}}' | claude mcp add-json attio-mcp --stdin -s user
Or add the mcpServers.attio-mcp entry manually to ~/.claude/settings.json.
git clone https://github.com/kesslerio/attio-mcp-server.git
cd attio-mcp-server
bun install
bun run build
ATTIO_API_KEY=your_key node dist/cli.js
Tier 3: Cloudflare Worker (remote deployment)
Deploy a self-hosted remote MCP server on Cloudflare Workers for ChatGPT Developer Mode, Claude.ai web/mobile, and multi-user OAuth access:
- Shared MCP HTTP handler: routes
/mcpand/through@modelcontextprotocol/server'screateMcpHandlerandcreateServer, matching local tool, resource, and prompt behavior. - OAuth 2.1 (
@cloudflare/workers-oauth-provider): handles RFC 8414 discovery, RFC 9728 protected resource metadata, RFC 7591 dynamic client registration (with redirect URI allowlisting), PKCE S256 token exchange, refresh, revocation, and bearer validation, paired with an Attio upstream OAuth adapter. - Exact
Originchecks: validatesOriginon every request (includingOPTIONSpreflight) againstALLOWED_ORIGINS(defaulting tohttps://claude.ai,https://www.claude.ai,https://chatgpt.com, andhttps://chat.openai.com) and returns HTTP403for disallowed origins. - Shared
CURSOR_KEYRINGacross replicas: uses a deployment-owned JSON keyring secret (HKDF-SHA256 + AEAD) so separate Worker isolates and restarts can continue each other's pagination cursors. A missing or invalidCURSOR_KEYRINGreturns HTTP503on/mcp. - Per-request credentials: each request runs with its session's Attio credential in request-local context, with no shared global state between tenants.
Quick deploy:
cd examples/cloudflare-mcp-server
npm install
cp wrangler.toml.example wrangler.toml
wrangler kv:namespace create "TOKEN_STORE"
# Update wrangler.toml with the returned KV namespace ID
wrangler secret put ATTIO_CLIENT_ID
wrangler secret put ATTIO_CLIENT_SECRET
wrangler secret put TOKEN_ENCRYPTION_KEY
wrangler secret put CURSOR_KEYRING
wrangler deploy
wrangler secret put WORKER_URL
wrangler deploy
See examples/cloudflare-mcp-server/README.md for key generation, keyring rotation, Attio redirect URI setup, and offline Worker verification, and docs/chatgpt-developer-mode.md for ChatGPT approval flow setup.
Configuration
Authentication and environment variables
| Variable | Default | Purpose |
|---|---|---|
ATTIO_API_KEY | unset | Attio API key (takes precedence over ATTIO_ACCESS_TOKEN) |
ATTIO_ACCESS_TOKEN | unset | Attio OAuth access token (see OAuth Guide) |
ATTIO_WORKSPACE_ID | unset | Optional workspace identifier |
ATTIO_MCP_TOOL_MODE | full | full (57 tools) or search (search, fetch, aaa-health-check) |
MCP_DISABLE_TOOL_ALIASES | false | Set true to reject prior v1 default-catalog alias names |
MCP_TEXT_RESULTS | true | Set false to omit companion prose text when structuredContent is returned |
ATTIO_DEFAULT_DEAL_STAGE | unset | Optional default stage for new deals |
ATTIO_DEFAULT_DEAL_OWNER | unset | Optional default owner email for new deals |
ATTIO_DEFAULT_CURRENCY | unset | Optional default currency code for deal values |
Before running writes (especially in remote or OAuth deployments), call workspace_identity_get to confirm the active workspace, authorizing member ID, token level, and granted scopes.
Custom field mappings
To map custom workspace attributes or list names, copy configs/runtime/mappings/sample.json to configs/runtime/mappings/user.json and include only your overrides and custom fields (standard fields in default.json are inherited automatically):
cp configs/runtime/mappings/sample.json configs/runtime/mappings/user.json
attio-discover attributes
Claude Skills and pre-built prompts
- Claude Skills: generate a workspace-specific schema skill with
npx attio-discover generate-skill --all --zipto avoid custom field name mismatches. See docs/usage/skills/README.md. - MCP Prompts: includes 10 v1 sales workflow prompts (
people_search.v1,company_search.v1,deal_search.v1,log_activity.v1,create_task.v1,advance_deal.v1,add_to_list.v1,qualify_lead.v1,meeting_prep.v1,pipeline_health.v1) withdry_runsupport on write prompts, plus standard CRM prompt templates. See docs/api/prompts-api.md and docs/examples/crm-prompt-examples.md.
Security and supply chain verification
- No local CRM storage: the server proxies Attio directly, and Cloudflare Worker OAuth tokens are encrypted at rest in Workers KV.
- npm provenance: releases are published with Sigstore provenance linking each package to its GitHub Actions workflow and source commit:
npm view attio-mcp --json | jq .attestations
See SECURITY.md for vulnerability reporting and security policy details.
Documentation
| Topic | Document |
|---|---|
| Documentation hub | docs/README.md |
| Tools reference | docs/tools/attio-tools-reference.md |
| Universal tools API reference | docs/universal-tools/api-reference.md |
| Migration guide (v2 tool names & legacy removal) | docs/MIGRATION-GUIDE.md |
MCP protocol communication (2026-07-28 & legacy) | docs/mcp-protocol-communication.md |
| Cloudflare Worker remote deployment | examples/cloudflare-mcp-server/README.md |
| ChatGPT Developer Mode | docs/chatgpt-developer-mode.md |
| Getting started | docs/getting-started.md |
| Advanced search | docs/usage/advanced-search.md |
| OAuth authentication | docs/guides/oauth-authentication.md |
| Configuration | Warning Filters, Field Verification, Search Scoring |
| Docker and security | Docker Guide, Security Guide |
| Troubleshooting | TROUBLESHOOTING.md |
Development
This repository uses Bun for development scripts and testing.
git clone https://github.com/kesslerio/attio-mcp-server.git
cd attio-mcp-server
bun install
bun run build
bun run test:offline
Common commands
bun run typecheck # Fast TypeScript check
bun run lint:check # Cached ESLint check
bun run test # Unit test suite
bun run test:offline # Offline suite (no live Attio API calls)
bun run test:integration # Integration tests (requires ATTIO_API_KEY)
bun run test:e2e # End-to-end tests (requires ATTIO_API_KEY)
bun run test:mcp # Live MCP tool tests (requires ATTIO_API_KEY)
bun run test:sdk:worker # Offline Cloudflare Worker SDK compatibility suite
After building, run the SDK compatibility suite and Worker offline verification suites:
bun run build
bun run test:single test/server/sdk-compatibility.test.ts
bun run test:sdk:worker
See docs/testing.md and CONTRIB.md for testing and contribution guidelines.
License
Licensed under the Apache License 2.0. See LICENSE for details.
Based on initial work by @hmk under the BSD-3-Clause license, with modifications and ongoing development by @kesslerio. The original BSD license notice is preserved in LICENSE.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Hyperframes
Freeby Heygen Com · Developer Tools
Official HyperFrames by HeyGen: the best AI video editor in chat. Captions, motion graphics, MP4.
Server Git
Freeby Modelcontextprotocol · Developer Tools
Read, search and manipulate Git repositories: status, diff, log, commit, branch and more
Server Fetch
Freeby Modelcontextprotocol · Developer Tools
Fetches web content and converts it to Markdown for an LLM to read
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
