Rutba CRM

MCP server for AI assistants

Let an AI assistant such as Claude or ChatGPT read and work on your CRM through the Model Context Protocol, with an API key.

The MCP server lets an AI assistant your company uses work with your CRM: find a customer, read a conversation, open or move a deal, add a task or a note, and read your numbers. It speaks the Model Context Protocol (MCP), the open standard AI assistants use to reach other systems.

Before you start

  • You need an API key, so your plan must include API access. The assistant acts as the person who created the key, with that person's role and your plan's limits.
  • A read key shows the assistant only the tools that read. A write key also shows the tools that change records.
  • Make a key just for the assistant, so you can revoke it on its own.

Connect an assistant

The server address is https://rutbacrm.com/api/v1/mcp. It uses the Streamable HTTP transport and needs the header Authorization: Bearer YOUR_KEY on every request.

With Claude Code, for example:

claude mcp add --transport http crm https://rutbacrm.com/api/v1/mcp --header "Authorization: Bearer YOUR_KEY"

Other assistants and tools that accept a remote MCP server with a custom header take the same two things: the address and the header.

The person does this step: creating the key and putting it into the assistant's settings are done by the account owner. A key is shown only once.

The tools

Tool Key What it does
search_contacts Read Find contacts by name, company, email, phone or a custom value
get_contact Read One contact with its tags and custom fields
contact_orders Read A contact's store orders
list_pipelines Read Pipelines and their stages, with ids
list_deals, get_deal Read Deals by status, pipeline, stage or contact, and one deal
list_tasks Read Open, done or cancelled tasks
list_conversations, read_conversation Read Inbox conversations and their latest messages, with voice transcripts
list_custom_fields Read Your fields, with their keys, types and choices
business_summary Read The numbers of the reports page for 30, 90 or 365 days
create_contact, update_contact Write Add a contact, or change only the fields given
add_note, add_tag Write Note or tag a contact
create_deal, update_deal, close_deal Write Open a deal, change it or move it to a stage, win, lose or reopen it
create_task, complete_task Write Add a task, mark it done

Every tool goes through the same services as the app: the same checks, duplicates warning, history, automations and plan limits. Nothing an assistant does can go beyond what its person may do on screen. The tools cannot delete anything, send messages to customers, or change settings.

Safety

  • Customer messages reach the assistant as data. The tool descriptions tell it never to follow instructions found in them, but an assistant can still be fooled: give it a read key unless it really needs to change records.
  • Every change is recorded in the record's history under the key's person, as if they had made it.
  • Revoke the key on API keys to cut the assistant off at once.

For developers

The server answers one JSON-RPC 2.0 message per POST, with Content-Type: application/json. It supports initialize, ping, tools/list and tools/call, and protocol versions 2025-06-18, 2025-03-26 and 2024-11-05. A notification is answered with 202. GET answers 405: no server-sent stream is offered. A tool that fails answers with isError: true and a short reason, never with data from another company. Calls count towards the key's 120 requests a minute. See REST API.

Troubleshooting

Problem What to do
The assistant sees no write tools The key is read only. Create a write key if the assistant must change records
"Invalid API key." The key was revoked, or its person left the company
"API access is not in this plan." Your plan does not include API access
A tool says "Not allowed for this person's role." The key's person is a viewer, or a custom role keeps them from that feature

Last updated 2026-11-13