io.github.YogiAdhik/civicrm-mcp

io.github.YogiAdhik/civicrm-mcp

Model Context Protocol server for CiviCRM — AuthX-first, schema-introspected, write-gated.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "civicrm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "civicrm-mcp@0.1.2"
      ],
      "env": {
        "CIVICRM_BASE_URL": "<your CIVICRM_BASE_URL>",
        "CIVICRM_API_KEY": "<your CIVICRM_API_KEY>",
        "CIVICRM_CMS": "drupal",
        "CIVICRM_SITE_KEY": "<your CIVICRM_SITE_KEY>",
        "CIVICRM_AUTH_MODE": "authx",
        "CIVICRM_ALLOW_WRITES": "false",
        "CIVICRM_ALLOW_DELETES": "false"
      }
    }
  }
}
Environment variables
  • CIVICRM_BASE_URLrequiredBase URL of the CiviCRM install, e.g. https://crm.example.org. No trailing slash.
  • CIVICRM_API_KEYrequiredsecretAPI key of the contact the server authenticates as. Keep it on a dedicated 'MCP Bot' contact with minimum permissions.
  • CIVICRM_CMSCMS host: drupal, wordpress, standalone, or backdrop.
  • CIVICRM_SITE_KEYsecretOptional — only needed if the site enables the AuthX site-key guard.
  • CIVICRM_AUTH_MODEauthx (default, recommended) or legacy for pre-5.36 installs.
  • CIVICRM_ALLOW_WRITESSet to 'true' to enable create / update / save / submit actions. Off by default.
  • CIVICRM_ALLOW_DELETESSet to 'true' to enable delete / replace actions. Off by default.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.2
Registry
active
Published
4/24/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.YogiAdhik/civicrm-mcp is listed here — it’s also the link we check for a free listing.

io.github.YogiAdhik/civicrm-mcp — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-yogiadhik-civicrm-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.YogiAdhik/civicrm-mcp — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.YogiAdhik/civicrm-mcp — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-yogiadhik-civicrm-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.