Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-anirudhx7-suitecrm-mcp": {
"command": "npx",
"args": [
"-y",
"suitecrm-mcp-gateway"
],
"env": {
"SUITECRM_ENDPOINT": "<VALUE>",
"SUITECRM_PREFIX": "suitecrm",
"PORT": "3101",
"AUTH0_DOMAIN": "<VALUE>",
"AUTH0_AUDIENCE": "<VALUE>",
"BIND_HOST": "127.0.0.1",
"REDIS_URL": "<VALUE>",
"TRUST_PROXY": "<VALUE>",
"METRICS_BIND": "127.0.0.1",
"METRICS_PORT": "9090",
"SUITECRM_CODE": "<VALUE>",
"CRM_TIMEOUT_MS": "30000",
"REQUIRED_GROUP": "<VALUE>",
"AUTH0_CLIENT_ID": "<VALUE>",
"NODE_NO_WARNINGS": "<VALUE>",
"SESSION_TTL_DAYS": "30",
"GATEWAY_PUBLIC_URL": "<VALUE>",
"AUTH0_CLIENT_SECRET": "<VALUE>",
"CIRCUIT_BREAKER_RESET_MS": "60000",
"CIRCUIT_BREAKER_THRESHOLD": "5",
"NODE_TLS_REJECT_UNAUTHORIZED": "<VALUE>"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-anirudhx7-suitecrm-mcp": {
"command": "npx",
"args": [
"-y",
"suitecrm-mcp-gateway"
],
"env": {
"SUITECRM_ENDPOINT": "<VALUE>",
"SUITECRM_PREFIX": "suitecrm",
"PORT": "3101",
"AUTH0_DOMAIN": "<VALUE>",
"AUTH0_AUDIENCE": "<VALUE>",
"BIND_HOST": "127.0.0.1",
"REDIS_URL": "<VALUE>",
"TRUST_PROXY": "<VALUE>",
"METRICS_BIND": "127.0.0.1",
"METRICS_PORT": "9090",
"SUITECRM_CODE": "<VALUE>",
"CRM_TIMEOUT_MS": "30000",
"REQUIRED_GROUP": "<VALUE>",
"AUTH0_CLIENT_ID": "<VALUE>",
"NODE_NO_WARNINGS": "<VALUE>",
"SESSION_TTL_DAYS": "30",
"GATEWAY_PUBLIC_URL": "<VALUE>",
"AUTH0_CLIENT_SECRET": "<VALUE>",
"CIRCUIT_BREAKER_RESET_MS": "60000",
"CIRCUIT_BREAKER_THRESHOLD": "5",
"NODE_TLS_REJECT_UNAUTHORIZED": "<VALUE>"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-anirudhx7-suitecrm-mcp": {
"command": "npx",
"args": [
"-y",
"suitecrm-mcp-gateway"
],
"env": {
"SUITECRM_ENDPOINT": "<VALUE>",
"SUITECRM_PREFIX": "suitecrm",
"PORT": "3101",
"AUTH0_DOMAIN": "<VALUE>",
"AUTH0_AUDIENCE": "<VALUE>",
"BIND_HOST": "127.0.0.1",
"REDIS_URL": "<VALUE>",
"TRUST_PROXY": "<VALUE>",
"METRICS_BIND": "127.0.0.1",
"METRICS_PORT": "9090",
"SUITECRM_CODE": "<VALUE>",
"CRM_TIMEOUT_MS": "30000",
"REQUIRED_GROUP": "<VALUE>",
"AUTH0_CLIENT_ID": "<VALUE>",
"NODE_NO_WARNINGS": "<VALUE>",
"SESSION_TTL_DAYS": "30",
"GATEWAY_PUBLIC_URL": "<VALUE>",
"AUTH0_CLIENT_SECRET": "<VALUE>",
"CIRCUIT_BREAKER_RESET_MS": "60000",
"CIRCUIT_BREAKER_THRESHOLD": "5",
"NODE_TLS_REJECT_UNAUTHORIZED": "<VALUE>"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-anirudhx7-suitecrm-mcp": {
"command": "npx",
"args": [
"-y",
"suitecrm-mcp-gateway"
],
"env": {
"SUITECRM_ENDPOINT": "<VALUE>",
"SUITECRM_PREFIX": "suitecrm",
"PORT": "3101",
"AUTH0_DOMAIN": "<VALUE>",
"AUTH0_AUDIENCE": "<VALUE>",
"BIND_HOST": "127.0.0.1",
"REDIS_URL": "<VALUE>",
"TRUST_PROXY": "<VALUE>",
"METRICS_BIND": "127.0.0.1",
"METRICS_PORT": "9090",
"SUITECRM_CODE": "<VALUE>",
"CRM_TIMEOUT_MS": "30000",
"REQUIRED_GROUP": "<VALUE>",
"AUTH0_CLIENT_ID": "<VALUE>",
"NODE_NO_WARNINGS": "<VALUE>",
"SESSION_TTL_DAYS": "30",
"GATEWAY_PUBLIC_URL": "<VALUE>",
"AUTH0_CLIENT_SECRET": "<VALUE>",
"CIRCUIT_BREAKER_RESET_MS": "60000",
"CIRCUIT_BREAKER_THRESHOLD": "5",
"NODE_TLS_REJECT_UNAUTHORIZED": "<VALUE>"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-anirudhx7-suitecrm-mcp": {
"command": "npx",
"args": [
"-y",
"suitecrm-mcp-gateway"
],
"env": {
"SUITECRM_ENDPOINT": "<VALUE>",
"SUITECRM_PREFIX": "suitecrm",
"PORT": "3101",
"AUTH0_DOMAIN": "<VALUE>",
"AUTH0_AUDIENCE": "<VALUE>",
"BIND_HOST": "127.0.0.1",
"REDIS_URL": "<VALUE>",
"TRUST_PROXY": "<VALUE>",
"METRICS_BIND": "127.0.0.1",
"METRICS_PORT": "9090",
"SUITECRM_CODE": "<VALUE>",
"CRM_TIMEOUT_MS": "30000",
"REQUIRED_GROUP": "<VALUE>",
"AUTH0_CLIENT_ID": "<VALUE>",
"NODE_NO_WARNINGS": "<VALUE>",
"SESSION_TTL_DAYS": "30",
"GATEWAY_PUBLIC_URL": "<VALUE>",
"AUTH0_CLIENT_SECRET": "<VALUE>",
"CIRCUIT_BREAKER_RESET_MS": "60000",
"CIRCUIT_BREAKER_THRESHOLD": "5",
"NODE_TLS_REJECT_UNAUTHORIZED": "<VALUE>"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-anirudhx7-suitecrm-mcp": {
"command": "npx",
"args": [
"-y",
"suitecrm-mcp-gateway"
],
"env": {
"SUITECRM_ENDPOINT": "<VALUE>",
"SUITECRM_PREFIX": "suitecrm",
"PORT": "3101",
"AUTH0_DOMAIN": "<VALUE>",
"AUTH0_AUDIENCE": "<VALUE>",
"BIND_HOST": "127.0.0.1",
"REDIS_URL": "<VALUE>",
"TRUST_PROXY": "<VALUE>",
"METRICS_BIND": "127.0.0.1",
"METRICS_PORT": "9090",
"SUITECRM_CODE": "<VALUE>",
"CRM_TIMEOUT_MS": "30000",
"REQUIRED_GROUP": "<VALUE>",
"AUTH0_CLIENT_ID": "<VALUE>",
"NODE_NO_WARNINGS": "<VALUE>",
"SESSION_TTL_DAYS": "30",
"GATEWAY_PUBLIC_URL": "<VALUE>",
"AUTH0_CLIENT_SECRET": "<VALUE>",
"CIRCUIT_BREAKER_RESET_MS": "60000",
"CIRCUIT_BREAKER_THRESHOLD": "5",
"NODE_TLS_REJECT_UNAUTHORIZED": "<VALUE>"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| SUITECRM_ENDPOINT | Yes | Full URL to /service/v4_1/rest.php |
| SUITECRM_PREFIX | Yes | Tool name prefix Default: suitecrm |
| PORT | Yes | Listen port Default: 3101 |
| AUTH0_DOMAIN | Yes | Auth0 tenant domain (entity gateway) |
| AUTH0_AUDIENCE | Yes | Auth0 API identifier (entity gateway) |
| BIND_HOST | No | Interface to bind the gateway server to Default: 127.0.0.1 |
| REDIS_URL | Yes | Connection string for Redis session store |
| TRUST_PROXY | No | Set to 1 when running behind nginx or another reverse proxy |
| METRICS_BIND | No | Metrics server bind address Default: 127.0.0.1 |
| METRICS_PORT | No | Prometheus metrics server port Default: 9090 |
| SUITECRM_CODE | No | Entity code for multi-entity nginx routing |
| CRM_TIMEOUT_MS | No | CRM REST API request timeout in ms Default: 30000 |
| REQUIRED_GROUP | No | Auth0 role required to access this entity |
| AUTH0_CLIENT_ID | No | Auth0 client ID (auth service only) |
| NODE_NO_WARNINGS | No | Set to 1 to suppress Node warnings |
| SESSION_TTL_DAYS | No | Session token lifetime in days (auth service only) Default: 30 |
| GATEWAY_PUBLIC_URL | No | Public base URL of the gateway (auth service only) |
| AUTH0_CLIENT_SECRET | No | Auth0 client secret (auth service only) |
| CIRCUIT_BREAKER_RESET_MS | No | Time in ms before circuit moves to half-open Default: 60000 |
| CIRCUIT_BREAKER_THRESHOLD | No | Consecutive CRM failures before circuit opens Default: 5 |
| NODE_TLS_REJECT_UNAUTHORIZED | No | Set to 0 only for self-signed certs |