Kommo MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Listen interface. | 0.0.0.0 |
| PORT | No | HTTP port. | 3000 |
| LOG_LEVEL | No | Log level: debug, info, warn or error. | info |
| PUBLIC_URL | No | Public HTTPS URL of the server (e.g. https://mcp.example.com). Turns on OAuth for clients that cannot send a header (claude.ai, Claude Desktop, codex mcp login...). | |
| ACCESS_KEYS | No | Optional, legacy: extra access keys as sha256 hashes (comma-separated). They work like server-created keys but cannot be revoked from the server. | |
| ADMIN_TOKEN | No | Password (24+ characters) of the admin page /admin and the admin API, where server access keys are created and revoked. Unset = both disabled. | |
| KOMMO_TOKEN | No | stdio mode and scripts only: the Kommo long-lived token to use. | |
| MAX_BODY_MB | No | Maximum request body (JSON or multipart). 140 MB fits a 100 MB file in base64. Read only after authentication. | 140 |
| TRUST_PROXY | No | Number of proxies in front (Easypanel, Traefik, Nginx = 1). | 0 |
| KOMMO_BOT_ID | No | stdio mode and scripts only: salesbot id for messaging. | |
| KOMMO_POLICY | No | stdio mode and scripts only: policy overrides as JSON or base64. | |
| OAUTH_SECRET | No | Secret (32+ characters, keep it stable) that seals OAuth tokens and client registrations, so the server stores nothing. Without it, OAuth connections stop working on restart. | |
| TENANTS_FILE | No | Optional stored accounts file. Ignored if it does not exist. | ./tenants.json |
| TENANTS_JSON | No | Optional stored accounts as content (JSON or base64; npm run tenants:env). Wins over TENANTS_FILE. | |
| AUDIT_LOG_FILE | No | Audit log (JSONL). 'off' = the server writes nothing to disk. | ./data/audit.log |
| KOMMO_TIMEZONE | No | stdio mode and scripts only: IANA time zone, e.g. America/Bogota. | |
| KOMMO_TOOLSETS | No | stdio mode and scripts only: tool groups the agent sees. | |
| ALLOWED_ORIGINS | No | Allowed browser origins, comma-separated. | |
| KOMMO_SUBDOMAIN | No | stdio mode and scripts only: the Kommo account subdomain to use. | |
| STDIO_TENANT_ID | No | stdio mode with stored accounts: account id, or * for all. | |
| ACCESS_KEYS_FILE | No | Where the server keeps its access keys (hashes only). In Docker: /app/data/access-keys.json, keep it on a volume. | ./data/access-keys.json |
| KOMMO_GLOBAL_RPS | No | Requests/s to Kommo across all accounts (they share the server's IP). | 7 |
| KOMMO_TIMEOUT_MS | No | Timeout per Kommo request. | 15000 |
| KOMMO_ACCOUNT_RPS | No | Requests/s per account (can be lowered per account with rps). | 6 |
| KOMMO_TEMPLATE_ID | No | stdio mode and scripts only: MCP template id for messaging. | |
| AUTH_FAILS_PER_MIN | No | Invalid-key attempts per IP per minute before answering 429. | 20 |
| INBOUND_RPM_PER_KEY | No | Inbound requests per API key per minute (0 = unlimited). | 120 |
| SCHEMA_CACHE_TTL_MS | No | Lifetime of the pipelines, fields, users, bots and tags cache. | 300000 |
| OAUTH_ACCESS_TTL_MIN | No | Lifetime of an OAuth access token (renewed automatically with the refresh token). | 60 |
| OAUTH_REFRESH_TTL_DAYS | No | Lifetime of an OAuth refresh token; after that the user connects again. | 90 |
| KOMMO_BLOCK_COOLDOWN_MS | No | Global pause when Kommo answers a blocking 403. | 120000 |
| KOMMO_MAX_RETRY_WAIT_MS | No | Longest wait on a 429 before retrying; if Kommo asks for more, fail fast. | 5000 |
| ALLOW_REQUEST_CREDENTIALS | No | Accept the Kommo subdomain + token sent with each request. | true |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues