amocrm-mcp-prm
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CHATSKY_URL | No | Chatsky messenger gateway URL; defaults to https://msghub.prmonline.ru. | https://msghub.prmonline.ru |
| AMOCRM_DOMAIN | No | Alias for AMOCRM_SUBDOMAIN, accepted for backward compatibility. | |
| CHATSKY_API_KEY | No | API key for the Chatsky messenger gateway; enables reading messenger dialogs. | |
| AMOCRM_CLIENT_ID | No | OAuth client ID (needed for token refresh). | |
| AMOCRM_SUBDOMAIN | No | Your amoCRM subdomain (e.g., mycompany from mycompany.amocrm.ru). | |
| AMOCRM_TZ_OFFSET | No | Timezone offset used to interpret dates without time; defaults to +03:00. | +03:00 |
| AMOCRM_ACCESS_TOKEN | Yes | OAuth access token. | |
| AMOCRM_CLIENT_SECRET | No | OAuth client secret (needed for token refresh). | |
| AMOCRM_REFRESH_TOKEN | No | OAuth refresh token (enables automatic refresh on 401). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_leadsA | Search and list deals (leads) in amoCRM. Filters: pipeline, statuses, responsible users, created/updated/closed date ranges, full-text search. Supports sorting. Set compact=true for a trimmed, readable list. For counts and breakdowns use leads_summary instead of paging through leads. |
| get_leadA | Get a single lead by ID with full details. Use 'with' to include linked contacts and catalog elements. |
| create_leadA | Create a new lead (deal) in amoCRM. Requires a name. Optionally set price, pipeline, status, responsible user, custom fields and tags. Can link an existing contact/company (contact_id, company_id) or create a new contact and company in the same call (contact, company) — uses the complex endpoint, one contact and one company per lead. |
| update_leadA | Update an existing lead — change name, price, status, pipeline, responsible user, or custom fields. Useful for moving deals between stages. |
| list_contactsB | Search and list contacts in amoCRM. Supports full-text search across name, phone, and email. |
| get_contactA | Get a single contact by ID with full details including custom fields (phone, email, etc.). |
| create_contactA | Create a new contact in amoCRM. Use custom_fields_values to set phone, email, and other fields. |
| list_companiesA | Search and list companies in amoCRM. Use 'with' to embed linked leads and contacts. |
| create_companyA | Create a new company in amoCRM. Use custom_fields_values for address, website, etc. |
| list_pipelinesA | List all sales pipelines with their statuses (stages). Essential for understanding the sales funnel structure before creating or filtering leads. |
| list_tasksA | List tasks in amoCRM. Filter by entity (lead/contact/company), completion status, responsible user, or deadline range (overdue tasks). |
| create_taskA | Create a task linked to a lead, contact, or company. Set deadline (complete_till as Unix timestamp) and task type (1=Call, 2=Meeting, 3=Email). |
| complete_taskA | Mark a task as completed and add a result text. The result will appear in the entity's activity feed. |
| list_unsortedA | List incoming unsorted leads (from forms, email parsing, etc.) that need to be accepted or declined. |
| accept_unsortedA | Accept an unsorted lead — moves it into a pipeline as a real lead. Optionally specify target pipeline, status, and responsible user. |
| add_noteA | Add a note to a lead, contact, or company. Supports common notes, incoming/outgoing call logs, and service messages. |
| searchA | Universal search across amoCRM — finds leads, contacts, and companies matching the query. Min 3 characters. |
| list_eventsA | List events (activity log) in amoCRM, newest first. Filter by entity, event type(s), date range, author, and target/source status. Shows status changes, calls, notes, and other activities. For stage-move counts over a period use status_transitions. |
| get_accountA | Get current amoCRM account info — name, plan, users, task types, etc. Use 'with' to include users_groups, task_types, and amojo_id. |
| list_notesA | Read notes on a lead, contact, or company: manager comments, call logs with results and recording links, SMS, service messages. Newest first. Omit entity_id to scan notes across all entities for a date range. |
| get_lead_fullA | One-call deal card: lead fields with stage and responsible names, company, contacts with phones/emails, notes (comments, calls), tasks, stage history, and the Telegram/MAX correspondence from Chatsky when configured. Use this to analyze a single deal. |
| leads_summaryA | Aggregate leads server-side without returning them: totals, won/lost/open, and breakdowns by pipeline, status, responsible user, loss reason, month, tag, or a custom field. Accepts the same filters as list_leads. Use for funnel snapshots, loss-reason and source reports. |
| status_transitionsA | Count stage moves over a period from the event log: how many unique leads entered each status, from→to transition counts, and moves per user. Use for conversion between stages and manager activity. |
| list_usersA | List amoCRM users (managers) with IDs, names, roles and groups. Use to resolve responsible_user_id and created_by. |
| list_loss_reasonsA | List configured loss reasons for closed-lost leads. |
| list_custom_fieldsA | List custom fields of leads, contacts, or companies with IDs, types and enum options. Needed to set custom_fields_values or to group leads_summary by a field. |
| update_contactC | Update an existing contact: name, responsible user, or custom fields (phone, email). |
| get_companyA | Get a single company by ID with custom fields. Use 'with' to embed linked leads and contacts. |
| update_companyC | Update an existing company: name, responsible user, or custom fields. |
| link_entitiesA | Attach contacts or a company to an existing lead (or link other entities). Use after create_lead when more contacts are needed, or to fix a lead created without them. |
| unlink_entitiesA | Detach contacts or a company from a lead (or unlink other entities). The detached entities are not deleted. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 31 tools
Each tool targets a distinct resource/action and descriptions clarify boundaries (e.g. list_leads vs leads_summary vs get_lead vs get_lead_full, list_events vs status_transitions). Minor overlaps remain between universal `search` and the entity-specific list tools' full-text search, and between `list_notes` and `get_lead_full`'s notes section, but these are resolvable from descriptions.
Nearly all names follow a predictable snake_case verb_noun pattern (list_leads, create_task, complete_task, link_entities). A few deviate to noun-first or modifier style (leads_summary, status_transitions, get_lead_full), which slightly breaks the pattern but remains readable.
31 tools is on the heavy side for a single CRM server, spanning leads, contacts, companies, tasks, notes, events, unsorted, users, custom fields and analytics. Most earn their place given the domain breadth, but there is some redundancy (get_lead vs get_lead_full, list_leads vs leads_summary) that could be consolidated.
Core lead/contact/company flows include create, read and update, plus tasks, notes, events and analytics. However there are no delete operations for any entity, no update_task or get_task, and notes are only added/listed — gaps that would block lifecycle cleanup and task editing workflows.