Open Source MCP Gateway

SuiteCRM ร— AI Agents

The open-source MCP gateway for SuiteCRM.

Connect Claude Desktop, Claude Code, or OpenClaw to your SuiteCRM in minutes. 24 tools. OAuth2/OIDC auth. Production-ready.

MIT License CI passing Node โ‰ฅ18 24 tools

Built for teams
that run on SuiteCRM.

Sales Operations

Give sales reps an AI assistant that searches, updates, and reports on CRM accounts - without exposing API credentials or requiring custom integration work.

CRM Administrators

Deploy once, control access by group. Issue and revoke API keys without touching CRM user permissions. Full audit trail included.

Internal AI Platform Teams

Add SuiteCRM as a tool in your agent stack. Multi-entity routing means one gateway serves your entire CRM fleet.

Support & Account Teams

Let support agents look up accounts, contacts, and opportunities in natural language through Claude, without CRM training or portal access.


Hardened by design.

Every layer of the auth stack is explicit. Nothing is trusted by default.

Credentials Stay Server-Side

CRM username and password are stored in the gateway profile store. Clients only hold a personal API key. No CRM secrets on user machines.

OAuth / OIDC Login

Users authenticate through your identity provider (Auth0, Azure AD, or any OIDC provider). The gateway issues a revocable personal API key on successful login.

API Keys Expire

Keys expire after 30 days by default (configurable). Admins can revoke any key immediately. Keys are scoped per user and per entity.

Redacted Audit Logs

All tool calls are logged with user sub, entity, and tool name. Sensitive fields - tokens, passwords, search strings - are redacted before writing.

Per-Entity Access Control

Group membership controls which CRM entities a user can access. No group, no connection - even with a valid API key.


Full visibility into every layer.

Most MCP gateways ship with nothing. This one includes a complete production observability stack out of the box.

๐Ÿ“Š

Prometheus

17 metrics
  • Request rate and latency histograms per entity
  • Active user and session gauges
  • CRM error codes and circuit breaker state
  • Rate-limit hits and connection rejections
  • Auth token issue, revoke, and verify counters
๐Ÿ“ˆ

Grafana

33-panel dashboard
  • System health, error rates, and latency panels
  • Per-user and per-session live tables
  • CRM backend health and tool breakdown rows
  • Security events and auth failure tracking
  • Fleet overview for multi-entity deployments
๐Ÿชต

Loki

Structured log ingestion
  • JSON logs via Pino with per-request IDs
  • sub, email, and entity on every log line
  • Promtail tails Docker JSON logs into Loki
  • Search and filter logs in Grafana Explore using LogQL
  • Sensitive fields auto-redacted before logging

Why not just call
the REST API?

The v4_1 REST API works. It just puts the burden - and the risk - on every client.

Concern Direct SuiteCRM REST suitecrm-mcp gateway
Auth CRM credentials on every client OAuth/OIDC login, personal API key
Tool schema Raw JSON, no descriptions 24 typed MCP tools with descriptions
Multi-client Manual per-client setup One gateway, any MCP client
Key management CRM admin per user Issue / revoke from CLI
Observability None Prometheus + Grafana + Loki
Session handling Manual login per call Auto-renew, cached per user
Audit logging None Structured JSON, redacted

Auth in, tools out.

Three steps from login to live CRM data in Claude.

Step 1
๐Ÿ”

Authenticate

Visit your gateway URL. Log in with your corporate account via Auth0 or Azure AD. Takes 30 seconds.

โ†’
Step 2
๐Ÿ—๏ธ

Get your API key

The success page shows your personal, revocable API key. CRM credentials stay server-side - you never touch them.

โ†’
Step 3
๐Ÿค–

Connect your client

Paste the key into Claude Desktop, Claude Code, or OpenClaw. 24 SuiteCRM tools load instantly.


Production-grade,
out of the box.

Everything you need to ship AI-powered CRM workflows.

๐Ÿ› ๏ธ

24 Tools

Full CRUD, activity logging (calls, tasks, notes), bulk operations, file attachments, dropdown introspection, and relationship management.

๐Ÿ”’

OAuth2/OIDC Auth

Auth0 or Azure AD. The gateway issues personal API keys. CRM credentials stay server-side - clients never touch your CRM directly.

๐ŸŒ

Multi-Entity

Run N CRM instances side by side. Each gets its own port and tool namespace - suitecrm_crm1_*, suitecrm_crm2_*.

๐Ÿ“Š

Prometheus + Grafana + Loki

17 Prometheus metrics, 33-panel Grafana dashboard, Loki log aggregation, fleet overview. Alerting rules for circuit breaker, auth failures, and latency SLOs.

โšก

Circuit Breaker

Tracks CRM API failures per entity. Opens automatically at threshold, recovers with half-open probe. State visible in health and server_info.

๐Ÿš€

One-Command Install

Unified install.py handles single or multi-CRM, HTTPS via Let's Encrypt, systemd, nginx - all interactive.


24 tools.
Full coverage.

Every tool prefixed per entity so multiple CRMs never collide.

CRUD
search search_text get get_many create update delete count bulk_upsert get_recent
Relationships
get_relationships link_records unlink_records
Activity
log_call create_task create_note get_record_activities get_upcoming_activities get_note_attachment set_note_attachment
Introspection
get_module_fields list_modules server_info get_dropdown_values

Connect anything
MCP-compatible.

Full setup guides for every supported client.

๐Ÿ–ฅ๏ธ

Claude Desktop

Add the SSE endpoint and API key to your Claude Desktop config. Single or multi-entity variants.

Setup guide โ†’
โŒจ๏ธ

Claude Code

Add via claude mcp add. Works with single and multi-entity configs out of the box.

Setup guide โ†’
๐Ÿ”Œ

OpenClaw

Two-component setup - gateway on your server, bridge plugin on the OpenClaw machine. Full guide included.

Setup guide โ†’

Ships with everything
ops needs.

Not a prototype. A checklist of what's already in the box.

+ Docker + systemd deployment
+ Prometheus metrics (17 metrics)
+ Grafana dashboards (33-panel entity + fleet overview)
+ Loki log aggregation
+ Prometheus alerting rules (circuit breaker, auth failures, latency SLO)
+ Circuit breaker on CRM backend
+ Per-user rate limiting
+ TLS / Let's Encrypt support
+ Multi-entity routing
+ Systemd sandboxing (NoNewPrivileges, PrivateTmp)
+ MIT license
+ Tested on SuiteCRM 8.8.x

Works with any SuiteCRM version supporting the v4_1 REST API.


Up in five minutes.

One installer. Interactive prompts handle everything else.

01
Install the gateway on your Linux server
bash
$ git clone https://github.com/Anirudhx7/suitecrm-mcp.git $ cd suitecrm-mcp $ sudo python3 install.py --domain mcp.yourcompany.com --email you@example.com

Needs Ubuntu 20.04+ with a public domain. Prompts for CRM URL, OAuth2 config, and IdP credentials. Installs Node, nginx, certbot, and systemd services automatically.

02
Users log in to get their personal API key
https://mcp.yourcompany.com/auth/login

OAuth2 login via Auth0 or Azure AD. The success page shows the exact config snippet ready to paste - no manual JSON construction needed. Keys expire in 30 days (configurable).

03
Connect your client
Prerequisites: Claude Desktop installed ยท API key from Step 02 ยท Gateway reachable via HTTPS
claude_desktop_config.json
// macOS: ~/Library/Application Support/Claude/claude_desktop_config.json // Windows: %APPDATA%\Claude\claude_desktop_config.json { "mcpServers": { "suitecrm": { "type": "sse", "url": "https://mcp.yourcompany.com/sse", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } }

Quit and relaunch Claude Desktop. Click the hammer icon - 24 SuiteCRM tools appear instantly.

Full guide

Need the full setup guide?

IdP configuration, SSH provisioning, Ansible fleet deployment, Prometheus monitoring - all in one place.

View full docs

Deploy the gateway in five minutes.

One install script. Bring your own identity provider.