Secure Close access for AI agents

Leads, contacts, opportunities, activities, tasks, and workflows via Close's official MCP server.

Through Close, agents can search leads and opportunities, read notes and activities, and update the CRM or place voice-agent calls when you allow it — every call runs through your policies and is logged for audit.

Server URL: https://mcp.close.com/mcp

Setup

Close's MCP server supports dynamic client registration, so there is no app to create on Close's side; the gateway registers an OAuth client automatically per org. See Dynamic client registration below, or Credential modes for how this compares to other catalog resources.

Dynamic client registration

  1. Navigate to Resources and click Add Resource, then select Close from the catalog.
  2. Choose Per-org dynamic registration. The gateway self-registers an OAuth client with Close and installs the resource right away; no client ID/secret needed.
  3. Each user authorizes their own Close account; the connection is bounded by that user's Close role and permissions.

Access is per user: each person signs in with their own Close account and only reaches the leads, opportunities, and settings their Close role allows. Manage linked accounts in Connections.

Available tools

Close exposes a broad tool surface (99 tools). Highlights by area:

ToolAccessDescription
org_inforeadGeneral information about the organization and current user
searchreadNatural-language search for leads or contacts
lead_searchreadSimple lead search returning the initial result set
activity_searchreadSearch activities, ordered by date descending
aggregationreadAggregate CRM data to answer analytical questions
fetch_leadreadFetch a lead (company) by ID
find_opportunitiesreadFind opportunities by status, owner, lead, or pipeline
find_tasksreadFind tasks with filters
create_leadwriteCreate a new lead (company)
update_leadwriteUpdate an existing lead
create_contactwriteCreate a contact on a lead
create_opportunitywriteCreate an opportunity
create_notewriteCreate a note on a lead
create_commentwriteComment on notes, calls, opportunities, tasks, and custom objects
create_task / update_taskwriteCreate or update lead tasks
create_workflowwriteCreate a workflow (sequence) in Draft status
enrich_fieldwriteUse AI to determine and set a field value on a lead or contact
delete_leadwritePermanently delete a lead and all of its data

The connector registers the full Close MCP tool set (leads, contacts, addresses, notes, comments, opportunities, pipelines and statuses, tasks and call tasks, email/SMS templates, smart views, custom activities, custom objects, custom fields, forms, workflows, scheduling links, voice agents, and product knowledge search). Use gateway policies to allow only the tools each agent needs.

Required scopes

The gateway requests the following OAuth scopes during dynamic client registration:

  • mcp.read — read access to CRM data
  • mcp.write_safe — non-destructive writes (create/update)
  • mcp.write_destructive — destructive writes (deletes)
  • offline_access — refresh tokens for long-lived connections

The connection is additionally bounded by the authorizing user's Close role and permissions.

Policy examples

Rules are evaluated first-match-wins from the top of the list, and every org starts with a seeded Allow all rule sitting at the bottom — so a recipe made only of allow rules restricts nothing. These examples work by adding denies above it.

  • Read-only access: deny create_*, update_*, delete_*, enrich_field, apply_voice_agent_update, and schedule_voice_agent_call. The last three matter — the wildcards miss them, but enrich_field writes an AI-derived value back to a lead or contact, apply_voice_agent_update persists a config change, and schedule_voice_agent_call queues a real outbound call. Add propose_voice_agent_update if agents shouldn't store proposals either.
  • Safe writes only: deny delete_* so agents can never destroy CRM data.
  • Sales-assist scope: deny the administration surface — *_email_template, *_sms_template, *_pipeline, create_workflow, and *_voice_agent* — leaving lead, contact, opportunity, and task tools available.

To deny by default instead, delete or disable the seeded Allow all rule and allow the read surface explicitly: org_info, search, paginate_search, lead_search, activity_search, aggregation, get_fields, and fetch_* / find_*. get_fields and paginate_search are easy to forget — aggregation requires fetching the field list with get_fields first, and search pages through paginate_search — so leaving them out breaks the tools you just allowed. Removing Allow all is org-wide: anything relying on that fall-through loses access, so add your specific rules first.

Next steps

  • Create a policy — start from the read-only pattern in Policy examples above.
  • Credential modes — see how DCR compares to the other modes catalog resources use.

On this page