Perfex CRM — Claude Code MCP server: what it does, how to install
Connects self-hosted Perfex CRM to AI agents for managing leads, invoices, and clients. Exposes 148 tools filtered by user permissions.
Open on GitHubWhat Perfex CRM does
The server connects AI assistants to a self-hosted Perfex CRM instance over HTTP JSON-RPC 2.0. It provides 148 tools to inspect and update CRM records. Available entities include leads, customer accounts, invoices, projects, notes across 12 types, and knowledge base articles. Each tool call checks the permissions of the assigned token.
Requests target the /api/mcp endpoint using the Authtoken header configured in the CRM admin panel. The API handles batch processing up to 50 operations in a single payload, with support for idempotency keys on write actions.
Without Themesic's commercial REST API module installed and an active license, the MCP endpoint will not respond.
What it helps with
- create and update leads or customer profiles directly from the AI chat
- issue invoices and check project progress in Perfex CRM
- manage knowledge base articles and polymorphic entity notes
- run batch CRM updates containing up to 50 actions per call
Example prompts for the agent
- Find open tasks for the redesign project in Perfex CRM and list them
- Create a new lead with contact email [email protected] and add a call note
- Check the payment status of the latest unpaid invoice for Acme Corp
How to install Perfex CRM
1Template address
The server address is a template: replace {…} or […] with your own values
2Platform CLI: remote server
claude mcp add --transport http perfex-crm https://{perfex_host}/api/mcp1Template address
The server address is a template: replace {…} or […] with your own values
2Platform CLI: remote server
codex mcp add perfex-crm --url https://{perfex_host}/api/mcp1Template address
The server address is a template: replace {…} or […] with your own values
2Config file
{
"mcpServers": {
"perfex-crm": {
"url": "https://{perfex_host}/api/mcp"
}
}
}1Template address
The server address is a template: replace {…} or […] with your own values
2Config file
{
"servers": {
"perfex-crm": {
"type": "http",
"url": "https://{perfex_host}/api/mcp"
}
}
}1Template address
The server address is a template: replace {…} or […] with your own values
2Platform CLI: remote server
gemini mcp add -t http perfex-crm https://{perfex_host}/api/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Perfex CRM
How do I install Perfex CRM in Claude Code?
Run claude mcp add --transport http perfex-crm https://{perfex_host}/api/mcp, replacing {perfex_host} with your actual CRM domain.
What does the Perfex CRM MCP server do?
It exposes 148 tools that allow AI assistants to read and write clients, invoices, leads, and tasks in your CRM installation.
What is required to run the Perfex CRM MCP server?
You need the commercial REST API module from Themesic Interactive with an active license and an API token created in your CRM settings.