Planfix MCP Server

MCP server for Planfix API integration

Local serverstdioTypeScript

What is the Planfix MCP server?

Planfix mcp server connects Planfix to AI assistants that speak the Model Context Protocol. MCP server for Planfix API integration.

What Planfix does

This MCP server provides integration with the Planfix API, allowing Model Context Protocol (MCP) clients to interact with Planfix CRM and task management system.

Key capabilities

  • Lead management (create, search, convert to tasks)
  • Lead searches can reuse a known clientId to skip contact lookups
  • Contact and company management
  • Task management (create, search, comment)
  • Report generation and management
  • Uses Planfix REST API v2.0 (API docs)
  • Authentication via Bearer token

Tools it exposes

Once connected, the assistant can call these 10 tools directly:

  • chatApiToken — token for Planfix Chat API requests
  • providerId — identifier of the chat provider configured in Planfix
  • useChatApi — enable Chat API integration. When true, task creation proceeds as:
  • baseUrl — base URL for Chat API calls. Defaults to https://.planfix.com/webchat/api
  • Webhook — To post lead task payloads to a webhook before creating or updating a task, add a webhook block to config.yml:
  • Logging — Set LOG_LEVEL=debug to enable detailed cache logs. Logs are written to data/mcp.log
  • Prerequisites — Make sure you have the following environment variables set in your .env file:
  • planfix_create_sell_task — The planfix_create_sell_task tool exposed by this server
  • planfix_create_sell_task_ids — 5. Update an object (PUT request) bash npm run planfix put task/123 --data '{"name":"Updated Task Name"}'
  • Reporting — The Reporting tool exposed by this server

Installing the planfix mcp server

The server is distributed via npm as @popstas/planfix-mcp-server, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 8 environment variables: PLANFIX_ACCOUNT, PLANFIX_TOKEN, PLANFIX_FIELD_ID_EMAIL, PLANFIX_FIELD_ID_PHONE, PLANFIX_FIELD_ID_TELEGRAM, PLANFIX_FIELD_ID_TELEGRAM_CUSTOM, PLANFIX_FIELD_ID_CLIENT, PLANFIX_FIELD_ID_MANAGER. Keep credentials in your client's env block or a secrets manager rather than committing them.

Requirements

Make sure you have the following environment variables set in your .env file:

Where it fits

Productivity servers pay off through capture: the tasks and notes that never get filed are the ones where opening the app is more friction than the thought is worth. Planfix sits in that group, and the shape of its toolset — chatApiToken, providerId, useChatApi among others — tells you what it is really for. Worth comparing against the other productivity servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • With 10 tools exposed, expect a noticeable bump in prompt size — disable it in projects that never use Planfix.
  • Maintained by popstas, written in TypeScript.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the planfix mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
chatApiTokentoken for Planfix Chat API requests.
providerIdidentifier of the chat provider configured in Planfix.
useChatApienable Chat API integration. When true, task creation proceeds as:
baseUrlbase URL for Chat API calls. Defaults to https://<account>.planfix.com/webchat/api.
WebhookTo post lead task payloads to a webhook before creating or updating a task, add a webhook block to config.yml:
LoggingSet LOG_LEVEL=debug to enable detailed cache logs. Logs are written to data/mcp.log.
PrerequisitesMake sure you have the following environment variables set in your .env file:
planfix_create_sell_taskThe planfix_create_sell_task tool exposed by this server.
planfix_create_sell_task_ids5. **Update an object (PUT request)** bash npm run planfix put task/123 --data '{"name":"Updated Task Name"}'
ReportingThe Reporting tool exposed by this server.

How to install the Planfix MCP server

{
  "mcpServers": {
    "planfix": {
      "command": "npx",
      "args": ["-y", "@popstas/planfix-mcp-server"],
      "env": {
        "PLANFIX_ACCOUNT": "your-value",
        "PLANFIX_TOKEN": "your-value",
        "PLANFIX_FIELD_ID_EMAIL": "your-value",
        "PLANFIX_FIELD_ID_PHONE": "your-value",
        "PLANFIX_FIELD_ID_TELEGRAM": "your-value",
        "PLANFIX_FIELD_ID_TELEGRAM_CUSTOM": "your-value",
        "PLANFIX_FIELD_ID_CLIENT": "your-value",
        "PLANFIX_FIELD_ID_MANAGER": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

Make sure you have the following environment variables set in your .env file:

VariableDescriptionRequired
PLANFIX_ACCOUNTConfiguration value read at startup.Optional
PLANFIX_TOKENCredential the server authenticates with.Yes
PLANFIX_FIELD_ID_EMAILConfiguration value read at startup.Optional
PLANFIX_FIELD_ID_PHONEConfiguration value read at startup.Optional
PLANFIX_FIELD_ID_TELEGRAMConfiguration value read at startup.Optional
PLANFIX_FIELD_ID_TELEGRAM_CUSTOMConfiguration value read at startup.Optional
PLANFIX_FIELD_ID_CLIENTConfiguration value read at startup.Optional
PLANFIX_FIELD_ID_MANAGERConfiguration value read at startup.Optional

Example prompts to try

  • Use Planfix to chatApiToken.
  • Use Planfix to providerId.
  • Use Planfix to useChatApi.

Frequently asked questions

It connects Planfix to MCP-compatible AI assistants such as Claude and Cursor, exposing 10 tools (chatApiToken, providerId, useChatApi, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Planfix directly.