Kotelkin Planfix MCP
Kotelkin Planfix MCP is a local STDIO MCP server exposing 58 tools for Planfix REST API operations.
Create, retrieve, update, list, accept, reject, and change status, dates, assignees, and custom fields on tasks.
Manage task comments, checklists, DataTags, files, templates, recurring tasks, and filters.
Work with projects: create, list, groups, templates, get, update, and files.
Work with directories: groups, list, get, entries add/list/get/update/delete, and filters.
Inspect processes and objects: contact/task process lists, task statuses, object lists/get/statuses.
Manage task and project custom field groups and custom fields.
Run local smoke checks, Swagger alignment checks, credential preflight, and live QA through MCP STDIO.
Kotelkin Planfix MCP
MCP-сервер для работы с Planfix REST API.
Проект подключает Planfix к MCP-клиентам через STDIO transport. После настройки токена MCP-клиент может создавать и читать задачи, обновлять сроки и статусы, работать с комментариями, чеклистами, проектами, справочниками, процессами, объектами, кастомными полями и DataTags.
Эта версия документации описывает пакет v0.1.3, основанный на опубликованном baseline v0.1.2; страница Releases показывает актуальный опубликованный tag. Это локальный MCP-сервер по STDIO, не hosted-сервис.
Что Это Даёт
Один MCP-сервер для Planfix.
58 инструментов MCP поверх Planfix REST API.
Запуск через STDIO, без отдельного web-сервера.
Авторизация через Planfix bearer token.
Локальные проверки без вызова Planfix.
Live QA через настоящий MCP STDIO-сервер на тестовом Planfix-аккаунте.
Related MCP server: Dependency-Track MCP Server
Кому Это Полезно
Пользователям Planfix, которые хотят подключить свой аккаунт к MCP-клиенту.
Разработчикам, которым нужен практичный и понятный MCP-сервер для Planfix.
Тем, кто хочет автоматизировать задачи, комментарии, чеклисты, проекты и справочники Planfix через AI-инструменты.
Требования
Python 3.12+
Аккаунт Planfix с доступом к REST API
PLANFIX_BASE_URL, напримерhttps://your-company.planfix.com/restPLANFIX_TOKEN
Официальные источники Planfix REST API:
Установка
git clone https://github.com/AndreiSVetvit/kotelkin-planfix-mcp.git
cd kotelkin-planfix-mcp
python -m venv .venvУстановите пакет и выполните локальный smoke:
.\.venv\Scripts\python.exe -m pip install -e .
.\.venv\Scripts\planfix-mcp-smoke.exeВ macOS/Linux используйте .venv/bin/python -m pip install -e . и .venv/bin/planfix-mcp-smoke. Активация окружения не требуется.
Smoke проверяет регистрацию 58 инструментов локально и не вызывает Planfix.
Для разработки и тестов:
python -m pip install -e ".[dev]"В PowerShell без активации: .\.venv\Scripts\python.exe -m pip install -e ".[dev]".
Настройка
Минимальные переменные окружения:
PLANFIX_BASE_URL=https://your-company.planfix.com/rest
PLANFIX_TOKEN=your_token_hereДополнительные настройки:
PLANFIX_TIMEOUT_SEC=20
PLANFIX_RETRY_MAX=2
PLANFIX_MIN_REQUEST_INTERVAL_SEC=1.0
PLANFIX_STATUS_CHANGE_DELAY_SEC=1.0
PLANFIX_SILENT_DEFAULT=false
LOG_LEVEL=INFOТокен нельзя коммитить в репозиторий. Для локального использования можно сохранить токен в OS keyring:
planfix-mcp-secrets-initPowerShell без активации: .\.venv\Scripts\planfix-mcp-secrets-init.exe; macOS/Linux: .venv/bin/planfix-mcp-secrets-init.
Запуск
planfix-mcp-serverИли:
python -m planfix_mcp.serverКонфигурация MCP-Клиента
Для Codex CLI укажите абсолютный путь к команде в .venv, чтобы сервер запускался и вне активированного окружения:
# PowerShell
codex mcp add kotelkin-planfix-mcp -- (Resolve-Path .venv\Scripts\planfix-mcp-server.exe).Path
# macOS/Linux
codex mcp add kotelkin-planfix-mcp -- "$(pwd)/.venv/bin/planfix-mcp-server"
codex mcp listВ Codex проверьте подключение через /mcp. Для безопасной первой пробы попросите вызвать planfix_task_get с task_id уже известной задачи и fields="id,name,status,endDateTime". В ответе нужно сообщить только эти четыре поля; не создавать и не менять записи.
Пример формы конфигурации:
{
"mcpServers": {
"kotelkin-planfix-mcp": {
"command": "planfix-mcp-server",
"env": {
"PLANFIX_BASE_URL": "https://your-company.planfix.com/rest",
"PLANFIX_TOKEN": "your_token_here"
}
}
}
}Быстрая Проверка
Проверка регистрации инструментов без вызова Planfix:
planfix-mcp-smokePowerShell без активации: .\.venv\Scripts\planfix-mcp-smoke.exe; macOS/Linux: .venv/bin/planfix-mcp-smoke.
Проверка соответствия официальному Swagger Planfix:
planfix-mcp-swagger-checkПроверка реальных credentials:
planfix-mcp-secrets-init
planfix-mcp-preflightPowerShell без активации: .\.venv\Scripts\planfix-mcp-secrets-init.exe и .\.venv\Scripts\planfix-mcp-preflight.exe. macOS/Linux: .venv/bin/planfix-mcp-secrets-init и .venv/bin/planfix-mcp-preflight.
planfix-mcp-secrets-init сохраняет введённые credentials в OS keyring; preflight выполняет только GET /ping и GET /workspace/list. Проверка списка задач выключена по умолчанию.
Базовая live-проверка через MCP STDIO:
planfix-mcp-live-qa-basicРасширенная live-проверка на тестовом аккаунте:
PLANFIX_LIVE_QA_COMMENT_TASK_ID=12345 \
PLANFIX_LIVE_QA_DATATAG_ID=10 \
PLANFIX_LIVE_QA_ASSIGNEE_ID=1 \
PLANFIX_LIVE_QA_DIRECTORY_ID=10 \
planfix-mcp-live-qa-extendedПостоянные изменения конфигурации Planfix, например создание custom fields, включаются только отдельным флагом:
PLANFIX_LIVE_QA_CONFIG_WRITES=1 planfix-mcp-live-qa-extendedЧто Умеет MCP
Задачи: создать, получить, обновить, найти списком.
Сроки, статусы, исполнители и кастомные поля задач.
Комментарии: список, добавление, обновление, получение, удаление.
Чеклисты: создание, список, получение пункта, обновление.
DataTags: добавление в задачу и к существующему комментарию.
Проекты: создание, список, группы, шаблоны, получение, обновление, файлы.
Справочники: группы, список, получение, записи, фильтры.
Процессы и объекты: списки и статусы.
Кастомные поля задач и проектов.
Полный список инструментов и примеры входных данных: MANUAL_QA_EXTENDED_TOOLS.md.
Пример: прочитать фактические значения задачи
Поручите MCP-клиенту: «Создай задачу Подготовить предложение клиенту с описанием Подготовить черновик и отправить на согласование, исполнителем по заранее заданному Planfix ID из шаблона и сроком завтра в 17:00 по часовому поясу аккаунта. Добавь чек-лист из пунктов Подготовить черновик, Проверить цену и срок, Отправить на согласование, а также комментарий Черновик готовится к проверке. Затем прочитай сохранённые значения задачи через planfix_task_get, пункты — через planfix_task_checklist_get, комментарий — через planfix_task_comments_list; сравни с поручением и не называй запись подтверждённой, если readback недоступен». Для чтения выбранных полей существующая команда planfix_task_get принимает:
{
"tool": "planfix_task_get",
"arguments": {
"task_id": 12345,
"fields": "id,name,description,assignees,endDateTime,status,processId"
}
}Для readback чек-листа и комментариев явно запросите поля, иначе список может содержать только ID:
{"tool":"planfix_task_checklist_get","arguments":{"task_id":12345,"payload":{"fields":"id,name,isDone"}}}
{"tool":"planfix_task_comments_list","arguments":{"task_id":12345,"payload":{"fields":"id,description","typeList":"Comments"}}}fields — необязательный список через запятую: имена системных полей Planfix и/или ID кастомных полей. Без него сохраняется прежний запрос; выбранные значения читает сам Planfix, а AI должен сравнить фактический ответ, не предполагать успех.
Безопасность
Некоторые инструменты изменяют данные в Planfix. Для проверки используйте тестовый аккаунт или рабочее пространство, где не страшно создать тестовые записи.
Токены храните в переменных окружения, OS keyring или настройках MCP-клиента вне Git. Не добавляйте токены в README, issue, логи или screenshots.
Документация
Статус
Версия пакета и документации — v0.1.3; этот maintenance-релиз продолжает опубликованный baseline v0.1.2. См. релизы и release notes и roadmap.
Лицензия
MIT
Available Tools
58 toolsplanfix_comment_deleteC
Delete comment by comment id via /comment/{id}.
Inputs: comment_id (required), silent. Returns: object
planfix_comment_getC
Get comment by comment id via /comment/{id}.
Inputs: comment_id (required). Returns: object
planfix_customfield_project_createC
Create project custom field via /customfield/project/.
Inputs: payload (required), silent. Returns: object
planfix_customfield_project_getC
Get project custom field by id via /customfield/project/{id}.
Inputs: field_id (required). Returns: object
planfix_customfield_project_group_createC
Create custom field set for project via /customfield/group/project/.
Inputs: payload (required), silent. Returns: object
planfix_customfield_project_group_listC
List custom field sets for project via /customfield/group/project.
Inputs: payload. Returns: object
planfix_customfield_project_listC
List custom fields for project via /customfield/project.
Inputs: payload. Returns: object
planfix_customfield_task_createC
Create task custom field via /customfield/task/.
Inputs: payload (required), silent. Returns: object
planfix_customfield_task_getC
Get task custom field by id via /customfield/task/{id}.
Inputs: field_id (required). Returns: object
planfix_customfield_task_group_createC
Create custom field set for task via /customfield/group/task/.
Inputs: payload (required), silent. Returns: object
planfix_customfield_task_group_listC
List custom field sets for task via /customfield/group/task.
Inputs: payload. Returns: object
planfix_customfield_task_listC
List custom fields for task via /customfield/task.
Inputs: payload. Returns: object
planfix_directory_entry_addC
Add directory entry via /directory/{id}/entry/.
Inputs: payload (required), directory_id (required), silent. Returns: object
planfix_directory_entry_deleteC
Delete directory entry via /directory/{id}/entry/{key}.
Inputs: key (required), directory_id (required), silent. Returns: object
planfix_directory_entry_getC
Get directory entry via /directory/{id}/entry/{key}.
Inputs: key (required), directory_id (required). Returns: object
planfix_directory_entry_listC
List directory entries via /directory/{id}/entry/list.
Inputs: directory_id (required), payload. Returns: object
planfix_directory_entry_updateC
Update directory entry via /directory/{id}/entry/{key}.
Inputs: key (required), payload (required), directory_id (required), silent. Returns: object
planfix_directory_filtersC
Get directory entry filters via /directory/{id}/filters.
Inputs: directory_id (required), payload. Returns: object
planfix_directory_getC
Get directory by id via /directory/{id}.
Inputs: directory_id (required). Returns: object
planfix_directory_groupsC
Get directory groups via /directory/groups.
Inputs: payload. Returns: object
planfix_directory_listC
List directories via /directory/list.
Inputs: payload. Returns: object
planfix_object_getC
Get object by id via /object/{id}.
Inputs: object_id (required). Returns: object
planfix_object_listC
List objects via /object/list.
Inputs: payload. Returns: object
planfix_object_statusesC
Get object task statuses via /object/{id}/statuses.
Inputs: object_id (required), payload. Returns: object
planfix_process_contact_listC
List contact processes via /process/contact.
Inputs: payload. Returns: object
planfix_process_task_listC
List task processes via /process/task.
Inputs: payload. Returns: object
planfix_process_task_statusesC
Get task statuses by process id via /process/task/{id}/statuses.
Inputs: process_id (required), payload. Returns: object
planfix_project_createC
Create project via /project/.
Inputs: payload (required), silent. Returns: object
planfix_project_filesC
Get project files via /project/{id}/files.
Inputs: project_id (required), payload. Returns: object
planfix_project_getC
Get project by id via /project/{id}.
Inputs: project_id (required). Returns: object
planfix_project_groupsC
Get project groups via /project/groups.
Inputs: payload. Returns: object
planfix_project_listC
List projects via /project/list.
Inputs: payload. Returns: object
planfix_project_templatesC
Get project templates via /project/templates.
Inputs: payload. Returns: object
planfix_project_updateC
Update project by id via /project/{id}.
Inputs: payload (required), project_id (required), silent. Returns: object
planfix_task_acceptB
Accept task by task id via task update payload (REST API has no dedicated accept endpoint).
Inputs: task_id (required), silent, payload. Returns: object
planfix_task_change_assigneesC
Change task assignees/auditors by task id via task update payload.
Inputs: payload (required), task_id (required), silent. Returns: object
planfix_task_change_datesC
Change task dates/deadline by task id via task update payload.
Inputs: payload (required), task_id (required), silent. Returns: object
planfix_task_change_statusC
Change task status by task id via task update payload.
Inputs: payload (required), task_id (required), silent. Returns: object
planfix_task_checklist_createC
Create checklist item in task via /task/{id}/checklist.
Inputs: payload (required), task_id (required), silent. Returns: object
planfix_task_checklist_getC
Get task checklist tree.
Inputs: task_id (required), payload. Returns: object
planfix_task_checklist_item_getC
Get checklist item by task id and item id via /task/{id}/checklist/{itemId}.
Inputs: item_id (required), task_id (required). Returns: object
planfix_task_checklist_updateC
Update task checklist item or tree payload.
Inputs: item_id (required), payload (required), task_id (required), silent. Returns: object
planfix_task_comment_addC
Add a comment to a task.
Inputs: payload (required), task_id (required), silent. Returns: object
planfix_task_comments_listC
List comments for task id.
Inputs: task_id (required), payload. Returns: object
planfix_task_comment_updateC
Update or delete a comment by task id and comment id using payload action.
Inputs: payload (required), task_id (required), comment_id (required), silent. Returns: object
planfix_task_createC
Create a task in Planfix using raw payload.
Inputs: payload (required), silent. Returns: object
planfix_task_datatag_addC
Add DataTag to task.
Inputs: payload (required), task_id (required), silent. Returns: object
planfix_task_datatag_to_commentC
Attach DataTag to task comment context.
Inputs: payload (required), task_id (required), comment_id (required), silent. Returns: object
planfix_task_filesC
Get task files.
Inputs: task_id (required), payload. Returns: object
planfix_task_filtersC
Get task filters.
Inputs: payload. Returns: object
planfix_task_getB
Get task details by id, optionally selecting comma-separated fields.
Inputs: task_id (required), fields. Returns: object
planfix_task_get_statusesB
Get available statuses for task: resolves process/object from task; if task payload is minimal, pass process_id/object_id in payload.
Inputs: task_id (required), payload. Returns: object
planfix_task_listC
List tasks with filters and pagination payload.
Inputs: payload. Returns: object
planfix_task_recurringC
Get recurring tasks.
Inputs: payload. Returns: object
planfix_task_rejectB
Reject task by task id via task update payload (REST API has no dedicated reject endpoint).
Inputs: task_id (required), silent, payload. Returns: object
planfix_task_templatesC
Get available task templates.
Inputs: payload. Returns: object
planfix_task_updateC
Update a task by id using raw payload.
Inputs: payload (required), task_id (required), silent. Returns: object
planfix_task_update_custom_fieldsC
Update task custom fields by task id.
Inputs: payload (required), task_id (required), silent. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 58 tools
Many task-mutation tools (accept, reject, change_status, change_assignees, change_dates, update_custom_fields) are all thin wrappers over the same task-update payload, making it unclear when to use the generic planfix_task_update versus a specialized variant. Comment operations are also duplicated between planfix_task_comment_update (which can delete) and planfix_comment_delete, and checklist retrieval is split across overlapping getters.
Most tools follow a planfix_<resource>_<action> snake_case pattern, but the ordering is inconsistent: planfix_task_comment_add versus planfix_comment_get, and verbs alternate between add and create for essentially the same operation. Still readable, but not a single predictable convention.
58 tools for a Planfix API surface is excessive, with many granular wrappers that could be consolidated into a smaller set of generic resource operations. The volume far exceeds what an agent can reasonably distinguish and select among.
Coverage is broad across tasks, projects, directories, processes, objects, and custom fields, but CRUD is incomplete: no task delete, project delete, or directory delete, and user/contact management is largely absent beyond process_contact_list. Agents will hit dead ends for common lifecycle operations.
Maintenance
Related MCP Connectors
Headless task management for bots, apps and AI agents. Remote MCP server, OAuth or access token.
Read and write Mission Control state via MCP — projects, tasks, subtasks, templates, status updates.
Unofficial community ClickUp MCP via personal API token. Not affiliated with ClickUp.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables MCP clients to connect to Agenzax's REST API over stdio, providing tools for messaging, session management, and review-mode oversight.1888 npm5MIT
- AlicenseBqualityBmaintenanceEnables MCP clients to query projects, fetch findings, trigger analysis, upload CycloneDX BOMs, and check async token status against an OWASP Dependency-Track instance via stdio.9MIT
- AlicenseBqualityBmaintenanceEnables MCP-capable clients to drive Worksection projects, tasks, subtasks, comments, tags, people, time tracking, files, search, and reporting through a consistent set of tools over stdio.53MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to interact with the Crewmeister API over local stdio, covering operations for members, teams, time tracking, salary exports, and related platform resources.Apache 2.0