io.github.YogiAdhik
civicrm-mcp
Model Context Protocol server for CiviCRM — AuthX-first, schema-introspected, write-gated.
stdiocommunityapplication
Package Details
civicrm-mcp
Transportstdio
Environment Variables
CIVICRM_BASE_URL(str)
Required
Base URL of the CiviCRM install, e.g. https://crm.example.org. No trailing slash.
CIVICRM_API_KEY(str)
RequiredSecret
API key of the contact the server authenticates as. Keep it on a dedicated 'MCP Bot' contact with minimum permissions.
CIVICRM_CMS(str)
Default:
drupalCMS host: drupal, wordpress, standalone, or backdrop.
CIVICRM_SITE_KEY(str)
Secret
Optional — only needed if the site enables the AuthX site-key guard.
CIVICRM_AUTH_MODE(str)
Default:
authxauthx (default, recommended) or legacy for pre-5.36 installs.
CIVICRM_ALLOW_WRITES(str)
Default:
falseSet to 'true' to enable create / update / save / submit actions. Off by default.
CIVICRM_ALLOW_DELETES(str)
Default:
falseSet to 'true' to enable delete / replace actions. Off by default.