Documentation Team and notifications
AI assistants
Connect Claude, Cursor or VS Code to your leads through Dealroot’s MCP server, and ask which ads bring customers.
Dealroot has its own MCP server, the Model Context Protocol that AI assistants use to work with other programs. Connect Claude, Cursor, VS Code or another assistant to your site, and ask in your own words: “Which campaigns brought customers this month?”, “What did the leads from Google Ads last week want?” or, with Pro, “Who do I have to call back today?”. The answers are counted from your own leads, not guessed.
What the assistant can do
| Tool | What it does | Plan |
|---|---|---|
dealroot-get-report |
Visits, leads, won deals, revenue, profit, ad spend and contact clicks by channel, source, campaign, landing page or form, for a period | Free |
dealroot-list-leads |
Recent leads with contact details, status, deal value and source, filtered by status, period or a search term | Free |
dealroot-get-lead |
One lead with all its fields, its first and latest visit, the pages viewed before the enquiry and earlier enquiries from the same person | Free |
dealroot-update-lead-status |
Change the status and the deal value | Pro |
dealroot-add-lead-note |
Add a dated note, e.g. what was discussed on the phone | Pro |
dealroot-assign-lead |
Choose the owner | Pro |
dealroot-schedule-follow-up |
Plan the date to get back to a lead; the owner gets a reminder that day | Pro |
dealroot-list-follow-ups |
Leads with a follow-up due, to answer “who do I have to call back?” | Pro |
A status set by an assistant has the same effect as one set by you: a won deal is reported to your ad platforms and synced to your CRM. The same tools are registered as abilities of the WordPress Abilities API, so the MCP Adapter plugin and other tools that read abilities can use them too.
Connect an assistant
You need WordPress 6.9 or later, which includes the Abilities API, and HTTPS on your site.
- Copy the MCP address from Leads → Settings → AI assistant, under “Claude, ChatGPT and other assistants”. It looks like
https://example.com/wp-json/dealroot/v1/mcp. - Create an application password for your user under Users → Profile → Application passwords, named for example “Claude”.
- Turn user name and application password into a sign-in header. On macOS or Linux:
printf 'user:xxxx xxxx xxxx xxxx xxxx xxxx' | base64. The header isAuthorization: Basicfollowed by the result. - Add the server to your assistant as shown below.
Claude Code
claude mcp add --transport http dealroot https://example.com/wp-json/dealroot/v1/mcp --header "Authorization: Basic BASE64"
Claude Desktop
Claude Desktop starts remote servers through the small mcp-remote helper (Node.js required). In Settings → Developer → Edit Config:
{
"mcpServers": {
"dealroot": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://example.com/wp-json/dealroot/v1/mcp", "--header", "Authorization:${DEALROOT_AUTH}"],
"env": { "DEALROOT_AUTH": "Basic BASE64" }
}
}
}
Cursor
In ~/.cursor/mcp.json:
{
"mcpServers": {
"dealroot": {
"url": "https://example.com/wp-json/dealroot/v1/mcp",
"headers": { "Authorization": "Basic BASE64" }
}
}
}
VS Code
In .vscode/mcp.json of your workspace:
{
"servers": {
"dealroot": {
"type": "http",
"url": "https://example.com/wp-json/dealroot/v1/mcp",
"headers": { "Authorization": "Basic BASE64" }
}
}
}
The connectors of claude.ai and ChatGPT in the browser sign in with OAuth, which Dealroot does not offer yet; use one of the apps above for now.
Questions to start with
- Which channels and campaigns brought enquiries and customers in the last 30 days?
- What did the people who came from Google Ads this week ask for?
- Which landing page brings the most enquiries per visit?
- Summarise lead 128: where did this person come from and what did they read first?
- With Pro: Mark the lead from Anna Schmidt as won with 2,400 euros and note that she ordered by phone.
Who may do what
The assistant works with the permissions of the WordPress user whose application password it uses. Only users who may see leads can read them, and only users who may manage leads can change them. Revoke the application password to disconnect the assistant at once.
The assistant and its costs are yours: Dealroot only answers its questions about your data, from your site, and sends nothing anywhere until an assistant asks. What you share with the assistant is subject to the terms of its provider.