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

Requirements

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

Practical notes

  • Maintained by popstas, written in TypeScript.

Recorded tools

  • 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.
  • 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"}'

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
planfix_create_sell_task
planfix_create_sell_task_ids
leadToTaskConvert a lead to a task by creating/updating contact and task
searchLeadTaskSearch for lead tasks by contact information
searchPlanfixContactSearch contacts by name, phone, email, or Telegram.
createPlanfixContactCreate a new contact in Planfix. Accepts an optional
updatePlanfixContactUpdate existing contact information. Accepts an optional
searchPlanfixCompanySearch for companies by name
searchPlanfixTaskSearch for tasks by title, client ID and optional templateId
createSellTaskResolve contact/agency IDs and create a sell task
createSellTaskIdsCreate a sell task when IDs are already known
createLeadTaskCreate a new lead task. When chatApi.useChatApi
addToLeadTaskCreate or update a lead task and update contact details.
createTaskCreate a task using text fields
createCommentAdd a comment to a task
getChildTasksRetrieve child tasks of a parent task. Use recursive to
updateLeadTaskUpdate an existing lead task (only empty fields are updated unless forceUpdate is true)
planfix_search_directorySearch directories by name
planfix_search_directory_entrySearch directory entry by directory name and entry name
searchManagerFind a manager by email
listReportsList all available reports
runReportGenerate and retrieve a specific report

How to install the Planfix MCP Server

{
  "mcpServers": {
    "planfix": {
      "command": "npx",
      "args": [
        "-y",
        "@popstas/planfix-mcp-server"
      ],
      "env": {
        "PLANFIX_ACCOUNT": "yourcompany",
        "PLANFIX_TOKEN": "YOUR_PLANFIX_TOKEN",
        "PLANFIX_FIELD_ID_EMAIL": "123",
        "PLANFIX_FIELD_ID_PHONE": "124",
        "PLANFIX_FIELD_ID_TELEGRAM": "1",
        "PLANFIX_FIELD_ID_TELEGRAM_CUSTOM": "125",
        "PLANFIX_FIELD_ID_CLIENT": "126",
        "PLANFIX_FIELD_ID_MANAGER": "127",
        "PLANFIX_FIELD_ID_AGENCY": "128",
        "PLANFIX_FIELD_ID_TAGS": "129",
        "PLANFIX_FIELD_ID_LEAD_ID": "130",
        "PLANFIX_LEAD_TEMPLATE_ID": "42",
        "PLANFIX_TASK_TITLE_TEMPLATE": "{name} - работа с клиентом"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

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

VariableDescriptionRequired
PLANFIX_ACCOUNTDeclared in the maintainer’s client configuration.Optional
PLANFIX_TOKENDeclared in the maintainer’s client configuration.Check documentation
PLANFIX_FIELD_ID_EMAILDeclared in the maintainer’s client configuration.Optional
PLANFIX_FIELD_ID_PHONEDeclared in the maintainer’s client configuration.Check documentation
PLANFIX_FIELD_ID_TELEGRAMDeclared in the maintainer’s client configuration.Check documentation
PLANFIX_FIELD_ID_TELEGRAM_CUSTOMDeclared in the maintainer’s client configuration.Check documentation
PLANFIX_FIELD_ID_CLIENTDeclared in the maintainer’s client configuration.Check documentation
PLANFIX_FIELD_ID_MANAGERDeclared in the maintainer’s client configuration.Check documentation
PLANFIX_FIELD_ID_AGENCYDeclared in the maintainer’s client configuration.Check documentation
PLANFIX_FIELD_ID_TAGSDeclared in the maintainer’s client configuration.Check documentation
PLANFIX_FIELD_ID_LEAD_IDDeclared in the maintainer’s client configuration.Check documentation
PLANFIX_LEAD_TEMPLATE_IDDeclared in the maintainer’s client configuration.Check documentation
PLANFIX_TASK_TITLE_TEMPLATEDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

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

Frequently asked questions

MCP server for Planfix API integration Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.