R

Retailcrm MCP

by theYahia · io.github.theYahia/retailcrm-mcp

Production-grade MCP server for RetailCRM e-commerce CRM. Provides 39 tools and 2 prompt skills to manage orders, customers, products, inventory, payments, tasks, references, and analytics via API v5.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-theyahia-retailcrm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@theyahia/retailcrm-mcp"
      ],
      "env": {
        "RETAILCRM_URL": "<YOUR_VALUE>",
        "HOST": "<VALUE>",
        "PORT": "<VALUE>",
        "RETAILCRM_DOMAIN": "<VALUE>",
        "RETAILCRM_API_KEY": "<VALUE>",
        "RETAILCRM_READONLY": "<VALUE>",
        "RETAILCRM_RATE_LIMIT": "<VALUE>",
        "RETAILCRM_DNS_PROTECTION": "<VALUE>",
        "RETAILCRM_HTTP_ALLOWED_HOSTS": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-theyahia-retailcrm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@theyahia/retailcrm-mcp"
      ],
      "env": {
        "RETAILCRM_URL": "<YOUR_VALUE>",
        "HOST": "<VALUE>",
        "PORT": "<VALUE>",
        "RETAILCRM_DOMAIN": "<VALUE>",
        "RETAILCRM_API_KEY": "<VALUE>",
        "RETAILCRM_READONLY": "<VALUE>",
        "RETAILCRM_RATE_LIMIT": "<VALUE>",
        "RETAILCRM_DNS_PROTECTION": "<VALUE>",
        "RETAILCRM_HTTP_ALLOWED_HOSTS": "<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
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-theyahia-retailcrm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@theyahia/retailcrm-mcp"
      ],
      "env": {
        "RETAILCRM_URL": "<YOUR_VALUE>",
        "HOST": "<VALUE>",
        "PORT": "<VALUE>",
        "RETAILCRM_DOMAIN": "<VALUE>",
        "RETAILCRM_API_KEY": "<VALUE>",
        "RETAILCRM_READONLY": "<VALUE>",
        "RETAILCRM_RATE_LIMIT": "<VALUE>",
        "RETAILCRM_DNS_PROTECTION": "<VALUE>",
        "RETAILCRM_HTTP_ALLOWED_HOSTS": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-theyahia-retailcrm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@theyahia/retailcrm-mcp"
      ],
      "env": {
        "RETAILCRM_URL": "<YOUR_VALUE>",
        "HOST": "<VALUE>",
        "PORT": "<VALUE>",
        "RETAILCRM_DOMAIN": "<VALUE>",
        "RETAILCRM_API_KEY": "<VALUE>",
        "RETAILCRM_READONLY": "<VALUE>",
        "RETAILCRM_RATE_LIMIT": "<VALUE>",
        "RETAILCRM_DNS_PROTECTION": "<VALUE>",
        "RETAILCRM_HTTP_ALLOWED_HOSTS": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-theyahia-retailcrm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@theyahia/retailcrm-mcp"
      ],
      "env": {
        "RETAILCRM_URL": "<YOUR_VALUE>",
        "HOST": "<VALUE>",
        "PORT": "<VALUE>",
        "RETAILCRM_DOMAIN": "<VALUE>",
        "RETAILCRM_API_KEY": "<VALUE>",
        "RETAILCRM_READONLY": "<VALUE>",
        "RETAILCRM_RATE_LIMIT": "<VALUE>",
        "RETAILCRM_DNS_PROTECTION": "<VALUE>",
        "RETAILCRM_HTTP_ALLOWED_HOSTS": "<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
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-theyahia-retailcrm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@theyahia/retailcrm-mcp"
      ],
      "env": {
        "RETAILCRM_URL": "<YOUR_VALUE>",
        "HOST": "<VALUE>",
        "PORT": "<VALUE>",
        "RETAILCRM_DOMAIN": "<VALUE>",
        "RETAILCRM_API_KEY": "<VALUE>",
        "RETAILCRM_READONLY": "<VALUE>",
        "RETAILCRM_RATE_LIMIT": "<VALUE>",
        "RETAILCRM_DNS_PROTECTION": "<VALUE>",
        "RETAILCRM_HTTP_ALLOWED_HOSTS": "<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.

NameRequiredDescription
RETAILCRM_URL secret Yes Fallback for RETAILCRM_DOMAIN (e.g. https://yourstore.retailcrm.ru)
HOST No HTTP server bind address (default 127.0.0.1)
PORT No HTTP server port (default 3000)
RETAILCRM_DOMAIN No Your RetailCRM domain (e.g. yourstore.retailcrm.ru)
RETAILCRM_API_KEY Yes API key (sent via the X-API-KEY header)
RETAILCRM_READONLY No Set to '1' to expose only read tools
RETAILCRM_RATE_LIMIT No Client-side requests/second cap (default ~10/s)
RETAILCRM_DNS_PROTECTION No Set to 'off' to disable DNS-rebinding protection (HTTP mode)
RETAILCRM_HTTP_ALLOWED_HOSTS No Comma-separated allowed Host values for DNS-rebinding protection

Similar servers