Oleafly is a live collaborative LaTeX, Typst and Markdown editor for research that offers a local MCP server and an oleafly mcp stdio command so outside AI clients can use its project tools.

MCP server for Planfix CRM and task management
An MCP server that connects MCP clients to the Planfix CRM and task management system through the Planfix REST API.
WHAT IT DOES
- •Manages leads, including creating leads, searching lead tasks, and converting leads to tasks.
- •Searches, creates, and updates Planfix contacts and companies.
- •Creates, searches, and comments on tasks, and retrieves child tasks.
- •Lists and runs Planfix reports.
BEST FOR
- •Teams using Planfix who want MCP clients to search and create CRM contacts and leads.
- •Automating task creation and commenting in Planfix from MCP-enabled assistants.
- •Generating and retrieving Planfix reports through an MCP client.
ABOUT PLANFIX-MCP-SERVER
MCP server for Planfix CRM and task management is cataloged as an MCP server attributed to popstas. An MCP server that connects MCP clients to the Planfix CRM and task management system through the Planfix REST API. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
HOW TO INSTALL
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
LICENSE
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力检查器
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
Tools (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Resources (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Prompts (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Newsletter subscriptions are not open yet
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Community Reviews
Reviews for MCP server for Planfix CRM and task management are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
FREQUENTLY ASKED QUESTIONS
Does the server support Server-Sent Events transport?
Yes, it can be run over Server-Sent Events using the planfix-mcp-server-sse command.
Can custom fields be configured outside environment variables?
Yes, custom fields can also be configured via a config.yml file, whose values override matching legacy environment variables.
How does the server authenticate with Planfix?
It authenticates using a Planfix API bearer token.
上游原版 README
README.md · 0279199af057 · 采集于 2026-11-13 13:16:43 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Planfix MCP Server
This MCP server provides integration with the Planfix API, allowing Model Context Protocol (MCP) clients to interact with Planfix CRM and task management system.
Features
- Lead management (create, search, convert to tasks)
- Lead searches can reuse a known
clientIdto 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
Configuration
The server requires the following environment variables for Planfix API access:
PLANFIX_ACCOUNT– Your Planfix account name (e.g.,yourcompany)PLANFIX_TOKEN– Planfix API token with necessary permissionsPLANFIX_BASE_URL– (optional) Override the REST API base URL. Defaults tohttps://<PLANFIX_ACCOUNT>.planfix.com/rest/. Set this for.ruand other regional installations, e.g.https://yourcompany.planfix.ru/rest/PLANFIX_ACCOUNT_URL– (optional) Override the web origin used for human-facing links (task/contact/user pages). Defaults toPLANFIX_BASE_URLwithout the trailing/rest/PLANFIX_FIELD_ID_EMAIL– Custom field ID for emailPLANFIX_FIELD_ID_EMAIL_ADDITIONAL– (optional, no default) Numeric custom field ID used to store additional email addresses (multi-value). Must point at a real multi-value custom field you created on your account; the system secondary-email field id124is not a valid write target. When unset, storing additional addresses is disabled (matching by the system field still works). The Planfix system secondary-email field (additionalEmailAddresses) is read-only over the REST API, so additional addresses are written to this custom field; matching uses both the system field (filter type 4221) and this custom field (filter type 4101), for any email search once this is setPLANFIX_FIELD_ID_PHONE– Custom field ID for phonePLANFIX_FIELD_ID_TELEGRAM– Set any value to use the system Telegram fieldPLANFIX_FIELD_ID_TELEGRAM_CUSTOM– Custom field ID for Telegram when using the custom fieldPLANFIX_FIELD_ID_CLIENT– Custom field ID for clientPLANFIX_FIELD_ID_MANAGER– Custom field ID for managerPLANFIX_FIELD_ID_AGENCY– Custom field ID for agencyPLANFIX_FIELD_ID_LEAD_SOURCE– Custom field ID for lead sourcePLANFIX_FIELD_ID_LEAD_SOURCE_VALUE– Value ID for default lead sourcePLANFIX_FIELD_ID_PIPELINE– Custom field ID for pipelinePLANFIX_FIELD_ID_TAGS– Custom field ID for task tags- Missing tag names will be added automatically to the directory
PLANFIX_FIELD_ID_LEAD_ID– Custom field ID for external lead IDPLANFIX_LEAD_TEMPLATE_ID– ID of the lead task templatePLANFIX_TASK_TITLE_TEMPLATE– Template for the default lead task title (e.g.,{name} - client's task)
config.yml
Custom fields can also be configured via config.yml. The default path is
./data/config.yml. Override it with the --config=/abs/path/config.yml CLI
flag or the PLANFIX_CONFIG environment variable. You can also specify a
different Planfix account when using a custom config:
PLANFIX_CONFIG=/etc/planfix-mcp.yml PLANFIX_ACCOUNT=demo \
npx @popstas/planfix-mcp-server
proxyUrl: "http://localhost:8080"
webhook:
enabled: false
url: "https://example.com/hook"
token: "<token>"
skipPlanfixApi: false
leadTaskFields:
- id: "456"
name: "id сделки"
argName: lead_id
type: number
contactFields:
- id: "123"
name: "Резидентство"
argName: resident
type: enum
values: ["резидент", "нерезидент", "иное"]
userFields:
- id: "789"
name: "Департамент"
argName: department
type: string
proxyUrl routes all Planfix REST API calls (including tool requests) through
the specified HTTP proxy.
Values from config.yml override matching entries from the legacy environment
variables when merged by id. User custom fields from this list are requested
individually by the planfix_search_manager tool so their values are available
in responses. Managers can be searched either by email or by numeric id
through this tool, enabling lookups when only an identifier is available.
Chat API
To create tasks from chat messages, add a chatApi block to config.yml:
chatApi:
useChatApi: true
chatApiToken: "<token>"
providerId: "<id>"
baseUrl: "https://<account>.planfix.com/webchat/api"
chatApiToken– token for Planfix Chat API requests.providerId– identifier of the chat provider configured in Planfix.useChatApi– enable Chat API integration. Whentrue, task creation proceeds as:- A chat is created via Chat API with the initial message.
getTaskretrieves the new task'staskId.- Subsequent updates are made through the REST API.
baseUrl– base URL for Chat API calls. Defaults tohttps://<account>.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:
webhook:
enabled: true
url: "https://example.com/hook"
token: "<token>"
skipPlanfixApi: false
enabled– whether to send the lead task payload to the webhook URL.url– webhook endpoint URL.token– shared secret appended to the JSON payload astoken.skipPlanfixApi– whentrue, the webhook response must includetaskId, and the Planfix REST API call is skipped.
Debug
npx @modelcontextprotocol/inspector node d:/projects/expertizeme/planfix-mcp-server/dist/index.js
Logging
Set LOG_LEVEL=debug to enable detailed cache logs. Logs are written to data/mcp.log.
Clearing Cache
Run npm run cache-clear to remove all cached Planfix API responses stored in data/planfix-cache.sqlite3 and delete the objects cache file data/planfix-cache.yml.
Example MCP Config (NPX)
{
"mcpServers": {
"planfix": {
"command": "npx",
"args": [
"-y",
"@popstas/planfix-mcp-server"
],
"env": {
"PLANFIX_ACCOUNT": "yourcompany",
"PLANFIX_TOKEN": "your-api-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} - работа с клиентом"
}
}
}
}
Usage
Running the Server
Run the server with the required environment variables set. Example (with npx):
PLANFIX_ACCOUNT=yourcompany \
PLANFIX_TOKEN=your-api-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_LEAD_SOURCE=129 \
PLANFIX_FIELD_ID_LEAD_SOURCE_VALUE=130 \
PLANFIX_FIELD_ID_PIPELINE=131 \
PLANFIX_FIELD_ID_LEAD_ID=132 \
PLANFIX_FIELD_ID_TAGS=133 \
PLANFIX_LEAD_TEMPLATE_ID=42 \
PLANFIX_TASK_TITLE_TEMPLATE="{name} - работа с клиентом" \
npx @popstas/planfix-mcp-server
To run the server over Server-Sent Events (SSE), use the planfix-mcp-server-sse command:
PLANFIX_ACCOUNT=yourcompany \
PLANFIX_TOKEN=your-api-token \
planfix-mcp-server-sse
Using the Planfix Client
The Planfix client provides a convenient way to interact with the Planfix API directly from the command line.
Prerequisites
Make sure you have the following environment variables set in your .env file:
PLANFIX_ACCOUNT=your-account
PLANFIX_TOKEN=your-api-token
Basic Commands
-
Test the connection
npm run planfix test -
Make a GET request
npm run planfix get user/current -
Make a POST request with data
npm run planfix post task/ --data '{"name":"Test Task","description":"Test Description"}' -
Search for objects
npm run planfix post object/list --data '{"filters":[{"type":1,"operator":"equal","value":"Продажа"}]}'
Tool Reference
planfix_create_sell_task
- Creates a sell task using textual information about the agency and employee.
- Resolves the client, parent lead task, assignees, and agency IDs automatically based on the provided strings.
- Input fields (all strings):
name: Task title, e.g."Продажа {{ название товара }} на pressfinity.com".agency: Agency/company name (optional).email: Employee email used to locate the Planfix contact.contactName/employeeName: Employee full name (optional).telegram: Employee telegram username (optional).description: Description with the list of ordered products.project: Project name to associate with the sell task (optional).
- Returns
{ taskId, url }.
planfix_create_sell_task_ids
- Creates a sell task when Planfix identifiers are already known.
- Requires numeric
clientIdand optionalleadTaskId,agencyId, andassignees(user IDs). - Accepts
name,description, and optionalprojectstring values.
-
Update an object (PUT request)
npm run planfix put task/123 --data '{"name":"Updated Task Name"}' -
Delete an object
npm run planfix delete task/123
Using in Code
import { planfixClient } from './lib/planfix-client';
// Get current user
const user = await planfixClient.get('user/current');
// Create a new task
const newTask = await planfixClient.post('task/', {
name: 'New Task',
description: 'Task description',
// ... other task properties
});
// Search for objects
const objects = await planfixClient.post('object/list', {
filters: [
{
type: 1,
operator: 'equal',
value: 'Продажа'
}
]
});
Available Tools
Lead Management
leadToTask: Convert a lead to a task by creating/updating contact and tasksearchLeadTask: Search for lead tasks by contact information
Contact Management
searchPlanfixContact: Search contacts by name, phone, email, or Telegram. When the primaryemaildoes not match the main email field, it is also matched against the system secondary-email field (filter type 4221) and, whenPLANFIX_FIELD_ID_EMAIL_ADDITIONALis set, against that custom field (filter type 4101). Both fallbacks apply to a plainemailsearch — the custom field is where this server writes extras, so a loneemailhas to be matched against it for a contact created here to be found again. The optionaladditionalEmails: string[]argument (max 10) adds each address to those same fallbacks, plus the main email field.createPlanfixContact: Create a new contact in Planfix. Accepts an optionaladditionalEmails: string[]argument (max 10) that is written to the additional-emails custom field (PLANFIX_FIELD_ID_EMAIL_ADDITIONAL), deduplicated and excluding the primaryemail. (The system secondary-email field is read-only via the API.)updatePlanfixContact: Update existing contact information. Accepts an optionaladditionalEmails: string[]argument (max 10) that is merged into the additional-emails custom field. Planfix custom-field writes replace the whole value, so the field is rewritten with the union of what is already stored there and the genuinely new addresses; nothing is lost. Addresses already on the contact — in the custom field, in the read-only system secondary-email field, or as the primaryemail— are not added again. WithforceUpdatethe field is instead rewritten with exactly the addresses you pass, so an empty array clears it; omittingadditionalEmailsleaves the field untouched either way.searchPlanfixCompany: Search for companies by name
Task Management
searchPlanfixTask: Search for tasks by title, client ID and optionaltemplateIdcreateSellTask: Resolve contact/agency IDs and create a sell taskcreateSellTaskIds: Create a sell task when IDs are already knowncreateLeadTask: Create a new lead task. WhenchatApi.useChatApiis enabled, it sends the initial message through the Chat API, gets the resultingtaskIdviagetTask, and then updates the task using the REST API. AcceptsmessageandcontactNamefields.addToLeadTask: Create or update a lead task and update contact details. Accepts an optionaladditionalEmails: string[]argument (max 10) that threads through contact search, creation, and update (matched against the system secondary-email field and thePLANFIX_FIELD_ID_EMAIL_ADDITIONALcustom field; written to the custom field). Whenwebhook.enabledis true, it posts the input payload to the webhook endpoint, optionally skipping the Planfix API ifskipPlanfixApiis set.createTask: Create a task using text fieldscreateComment: Add a comment to a taskgetChildTasks: Retrieve child tasks of a parent task. Userecursiveto fetch all descendant tasks as a flat list; returned tasks includeparent_task_id.updateLeadTask: Update an existing lead task (only empty fields are updated unlessforceUpdateis true)
Directory Management
planfix_search_directory: Search directories by nameplanfix_search_directory_entry: Search directory entry by directory name and entry name
User Management
searchManager: Find a manager by email
Reporting
listReports: List all available reportsrunReport: Generate and retrieve a specific report
References
TODO:
- Add tool
getTaskto retrieve task details - Add tool
getContactto retrieve contact details - Add tool
getManagerto retrieve manager details - Add more comprehensive error handling and logging
- Add input validation for all API endpoints
- Add rate limiting and retry logic for API calls
MIT License
Install configuration
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for Planfix CRM and task management from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/planfix-mcp-server)REPOSITORY STATS
Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
下载与拉取统计
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Related productivity work MCP Servers
Alternative and complementary servers in the same category
Buddy is an Android app that offers its phone tools through a local MCP server to Claude Code, Codex, OpenCode, Antigravity, and Grok sessions.

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

