
popstas/planfix-mcp-server
API developmentこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
This MCP server provides integration with the Planfix API, allowing Model Context Protocol (MCP) clients to interact with Planfix CRM and task management system.
概要
This MCP server provides integration with the Planfix API, allowing Model Context Protocol (MCP) clients to interact with Planfix CRM and task management system. - 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 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 permissions - PLANFIX_BASE_URL – (optional) Override the REST API base URL. Defaults to https:// .planfix.com/rest/. Set this for .ru and 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).
README
以下は原文 README の抜粋です。原文を見る。
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.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 template
インストール
npx -y @popstas/planfix-mcp-server設定
{
"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} - работа с клиентом"
}
}
}
}