AdvanzoDocumentation

MCP server: connect AI agents to Advanzo

· Developers and power users

In short

Advanzo ships a built-in Model Context Protocol (MCP) server at https://advanzo.app/mcp. Any MCP-capable assistant can read your CRM, analyse deals and prepare changes. Writes are always staged first and either applied by the agent or routed to your Autopilot approval queue; nothing is ever deleted through MCP.

The Model Context Protocol (MCP) is an open standard that lets AI assistants call tools in other applications. Advanzo CRM includes an MCP server, so you can ask Claude, ChatGPT, Cursor or Claude Code questions like "Which deals in negotiation have had no activity for two weeks?" and let the assistant answer from live CRM data, draft replies, score deals and propose record changes that you approve.

Looking for one tool? The MCP tools explorer lists all 18 tools with their parameters and an example question each, with filter and search.

Who can use it: every plan, including Free. The user who connects needs the API access permission (or super admin). AI tools additionally need an active AI Assistant or your own AI key.

At a glance

Server URLhttps://advanzo.app/mcp (POST, Streamable HTTP transport)
Sign-inOAuth 2.1 with PKCE (hosted clients such as claude.ai and ChatGPT, desktop clients) or a personal access token as Bearer header
ScopeOne workspace per connection. The user's own record permissions apply.
Tools14: 6 read, 2 staged write, 4 AI, 2 approval queue. No delete.
Resources / promptsNone exposed yet. Everything goes through tools.
Protocol versions2025-11-25, 2025-06-18, 2025-03-26
Limits90 requests per minute per user. Free plan: 200 tool calls per workspace per day.
AuditEvery call is logged for 90 days. Changes made by agents show "(via MCP: <client>)" in the record changelog.

Plugin for Claude Code, Codex and Cursor

The quickest way to connect a coding agent is the open-source Advanzo agent plugins repository on GitHub. The plugin contains the MCP connection and a set of skills (pre-call briefing, pipeline review, log interaction, import leads, draft email, approval queue) that teach the agent how to work with your pipeline.

Install from GitHub
or install directly with
Manual steps
Claude Code/plugin marketplace add Uliasti-Agency/advanzo-agent-plugins, then /plugin install advanzo@advanzo-plugins, then /mcp to sign in
Codexcodex plugin marketplace add Uliasti-Agency/advanzo-agent-plugins, install advanzo under Plugins, then codex mcp login advanzo
CursorSettings → Plugins, paste https://github.com/Uliasti-Agency/advanzo-agent-plugins, install advanzo, then sign in when the MCP server asks

Signing in opens Advanzo in your browser: log in, choose the workspace the agent may work in, and approve. Disconnect at any time under Settings → Integrations → AI Assistants (MCP).

Connect a client

Open Settings → Integrations → AI Assistants (MCP) in Advanzo. The page shows the server URL, copy buttons, a ready-made Claude Desktop snippet, your connected assistants and the number of tool calls in the last 30 days.

Claude (claude.ai)

  1. In Claude, go to Settings → Connectors → Add custom connector.
  2. Enter the name Advanzo and the URL https://advanzo.app/mcp.
  3. Click Connect. A browser window opens the Advanzo sign-in and consent screen.
  4. Choose the workspace the connection should work in and approve.

Custom connectors require a Claude Pro, Max, Team or Enterprise plan on the Anthropic side.

ChatGPT

  1. Enable Developer mode in ChatGPT settings.
  2. Go to Settings → Connectors → Create and enter https://advanzo.app/mcp.
  3. Complete the OAuth sign-in and pick a workspace.

Claude Code and Claude Desktop

Claude Code can register the server with one command:

claude mcp add --transport http advanzo https://advanzo.app/mcp

For Claude Desktop (or any client that reads a JSON configuration), add:

{
  "mcpServers": {
    "advanzo": {
      "url": "https://advanzo.app/mcp"
    }
  }
}

On first use, the client opens the browser for the OAuth sign-in.

Cursor, VS Code, Windsurf

Add https://advanzo.app/mcp as an HTTP (remote) MCP server in the editor's MCP settings. Redirects back to the cursor://, vscode://, vscode-insiders:// and windsurf:// schemes are allowed, so the OAuth flow completes inside the editor.

Using a personal access token instead of OAuth

Scripts, self-built agents and clients that cannot run an OAuth flow can authenticate with a personal access token. The token is bound to the workspace that was active when you created it.

{
  "mcpServers": {
    "advanzo": {
      "url": "https://advanzo.app/mcp",
      "headers": { "Authorization": "Bearer YOUR_PERSONAL_ACCESS_TOKEN" }
    }
  }
}

Required request headers for hand-written clients:

Accept: application/json, text/event-stream
MCP-Protocol-Version: 2025-06-18
Authorization: Bearer <token>          # only for token sign-in

How the OAuth 2.1 sign-in works

Advanzo implements the MCP authorization specification, so hosted clients can connect without you ever handling a token:

  • Discovery: GET /.well-known/oauth-protected-resource/mcp and GET /.well-known/oauth-authorization-server.
  • Dynamic client registration (RFC 7591): POST /oauth/register. Clients are public clients and must use PKCE with S256.
  • Authorization and token endpoints: /oauth/authorize and /oauth/token. Scope: mcp:use.
  • The consent screen lists what the client may do and asks you to choose a workspace. The connection works in that workspace only. Reconnecting the same client to a different workspace replaces the binding.
  • Access tokens live 30 days, refresh tokens 90 days. An unauthenticated call returns 401 with a WWW-Authenticate header pointing to the resource metadata, which is how clients know to start the sign-in.

Tools reference

Agents usually start with get-context, then use describe-resource to learn the fields before searching or proposing changes. Resources available to tools:

  • Readable: contacts, companies, deals, activities, calls, notes, documents, products
  • With a timeline: contacts, companies, deals
  • Writable (staged): contacts, companies, deals, activities, notes

Read tools

All read tools are annotated as read-only and idempotent, so clients can call them without confirmation prompts.

get-context

No parameters. Returns who you are and what the workspace looks like: user, workspace (plan, AI status), currency, permissions, readable and writable resources, pipelines with stages and win probabilities, deal statuses, activity types, call outcomes, lost reasons, sources, mail accounts, plus the write mode (approval or direct) and proposal TTL.

describe-resource

resource (required). Returns the fields with attribute, label, type, whether it is a custom field, required, read-only, unique and options; plus filterable and searchable columns, filter operators, associations and whether the resource has a timeline.

Filter operators: eq, neq, gt, gte, lt, lte, contains, starts_with, in, not_in, is_null, not_null, between.

search-records

resource (required), query (free text, max 200 characters), filters (array of {field, operator, value}, max 20, combined with AND), sort ({field, direction}), page (default 1), per_page (default 25, max 100). Returns resource, page, per_page, total, last_page and data.

get-records

resource and ids (max 50). Returns the full records in data and any ids that were not found in missing.

get-timeline

resource (contacts, companies or deals), id, optional types (activities, calls, notes, emails, documents) and limit (default 50, max 100). Returns the chronological history of the record.

pipeline-summary

Optional pipeline_id, from and to (YYYY-MM-DD, default last 30 days). For each pipeline: open deals (count and amount), open deals by stage, top 10 owners by open amount, won and lost totals in the range.

Write tools: staged changes

Agents never write directly. They first propose a change and then apply it. This gives the agent a diff and warnings to reason about, and gives you a place to review.

propose-change

resource (a writable resource), operation (create, update or unlink), id (required unless creating), fields (required unless unlinking; notes use body, via_resource and via_resource_id), associations (for example {"contacts":[12]}, required for unlink), summary (max 500 characters).

Nothing is written. The response contains a proposal_id, the diff, associations, warnings, expires_at, requires_approval and a next_step hint. Proposals expire after 60 minutes.

apply-change

proposal_id (required), route: direct (default) or approval. If the workspace setting Review agent changes is on, every proposal is forced onto the approval route.

With direct the change is validated and written, and the response contains the record_id. With approval the response is status: queued plus an approval_item_id; calling apply-change again later reports applied, rejected or still waiting. A proposal can only be applied by the user whose token or connection created it.

Unlink removes an association (for example detaching a contact from a deal). It never deletes a record, and it fails with a validation error if none of the given ids are linked. On create and update, associations are added to the existing ones. There is no delete tool. Deleting stays in the Advanzo UI and the REST API.

AI tools

These tools run Advanzo's own AI features and return structured results. They need the AI Assistant (activated, or with your own key). All are read-only: they never send email or save anything. language defaults to your locale.

summarize-record

resource (contacts, companies or deals), id, optional focus (max 500 characters) and language. Returns summary, key_facts, open_items, risks and next_step.

score-deal

id, optional language. Returns a score 0 to 100, a band (hot, healthy, cooling, at_risk, stalled), reasons, risks, next_actions and the facts the server computed. See AI deal scoring.

draft-reply

email_id or resource + id, instructions (required, max 2000 characters), tone (formal default, friendly, brief), language. Returns subject, body and assumptions. The draft is not sent; the agent can hand it to you or create a note via propose-change.

analyze-transcript

deal_id and transcript (50 to 50,000 characters). Returns a summary and suggested follow-ups. Nothing is saved; use propose-change to create the activities you want.

Approval queue tools

list-approval-queue

Optional type (mcp_change, draft_reply, create_activity, move_stage, suggest_deal, intake_lead, meeting_brief) and limit (default 50, max 100). Returns pending_count and the items with id, type, what they are about, reason, confidence, source, timestamps and details. For mcp_change items the details include the diff and links.

review-queue-item

id, decision (approve or dismiss), optional payload with edits merged into the item before approval. Runs the same executor as the Autopilot inbox. Approving a draft_reply records the draft but does not send it.

Reviewing agent changes in Advanzo

Under Settings → Autopilot, the toggle Review agent changes decides what happens when an agent calls apply-change:

  • Off (direct): the agent can apply its own proposals. Permissions and validation are still enforced, and the change is attributed to you "via MCP".
  • On (approval): every proposal becomes an Agent Change card in the Autopilot inbox. The card shows the operation and a field-by-field before/after table. Approve re-validates and writes the change; Dismiss rejects it.

Recommendation: keep Review agent changes on while you learn how an assistant behaves, then turn it off for trusted, low-risk workflows.

Example conversations

  • "Summarise everything we know about Müller Elektro AG and tell me the next step." → search-records, get-timeline, summarize-record
  • "Which open deals above CHF 10,000 have no activity in 14 days?" → describe-resource, search-records with filters, get-timeline
  • "Create a follow-up call for Friday on the Seeblick deal." → propose-change (activities, create), then apply-change
  • "How did Q3 go per pipeline?" → pipeline-summary with from / to
  • "Draft a friendly reply to the last email from Reto Bürki." → draft-reply with tone: friendly

Limits, security and audit

  • Rate limit: 90 requests per minute per user (shared with the REST API).
  • Free plan: 200 tool calls per workspace per day. The error message tells the agent when the counter resets (UTC). Paid plans have no MCP-specific cap.
  • Per-call caps: 100 results per search page, 50 ids per get-records, 100 timeline entries.
  • Permissions: the agent sees exactly what you see ("view own / team / all" rules apply). It cannot delete anything.
  • Audit log: each call stores the tool, arguments (strings truncated to 200 characters), status, error and duration for 90 days. Proposals are kept for 90 days as well.
  • Disconnecting: on the MCP settings page click Disconnect next to a client. This revokes its access and refresh tokens and removes the workspace binding. Personal access tokens are revoked on the Personal Access Tokens page.

Troubleshooting

MessageCause and fix
401 with WWW-AuthenticateNo valid sign-in. Reconnect the client; it will start the OAuth flow again.
"Your account is not authorized to perform API requests."Your user lacks the API access flag. Ask a workspace admin to enable it under Users.
"This connection is not bound to a workspace."The OAuth connection has no workspace. Connect the client again and choose a workspace on the consent screen.
"The token is bound to a workspace this user no longer belongs to."You left the workspace. Create a new token or reconnect in another workspace.
AI tool returns an error about AI not being availableActivate the AI Assistant or add your own key under Settings → Integrations → AI Assistant.
"expired" when applying a proposalProposals live 60 minutes. Ask the agent to propose again.
Daily limit reachedFree plan cap of 200 calls per day. Upgrade to Plus or Pro Unlimited.

Frequently asked questions

Can an AI agent delete records through MCP?

No. There is no delete tool. The strongest write operation is unlink, which only removes an association between two records.

Does the agent see data from all my workspaces?

No. Each connection or token is bound to exactly one workspace. Connect again and pick another workspace to switch.

Do MCP calls use my AI credits?

Read and write tools do not. The four AI tools (summarize-record, score-deal, draft-reply, analyze-transcript) run through the AI Assistant and use the workspace's AI credits unless you use your own key.

Is the MCP server available on the Free plan?

Yes, with a cap of 200 tool calls per workspace per day.

Can I use MCP with a self-hosted Enterprise installation?

Yes. The server is part of the application. Replace advanzo.app with your own domain. The path can be changed with the MCP_PATH environment variable.