PlanfixMCP
MCP server for Planfix REST API that generates tools from an OpenAPI spec, exposing operations like task_list and comment_add with Russian descriptions, filtering, and response validation.
README
PlanfixMCP
MCP-сервер для Planfix REST API. Инструменты генерируются из вендоренной OpenAPI-спеки
(specs/swagger.json) через FastMCP.from_openapi() пакета fastmcp:
114 операций → MCP-инструменты с короткими snake_case именами и русскими описаниями.
Возможности
- Генерация из спеки:
FastMCP.from_openapi(+114 операций) - Короткие snake_case имена (
task_list,comment_add) черезplanfix_mcp/names.py - Русские описания через
planfix_mcp/descriptions.py - Фильтрация инструментов: по тегам OpenAPI (по умолчанию ядро
task,contact,project,comments) или точечно поoperationId(PLANFIX_INCLUDE_OPERATION_IDS/PLANFIX_EXCLUDE_OPERATION_IDS) - Bearer-авторизация (
PLANFIX_API_TOKEN) - Валидация ответов по схемам спеки
Требования
- Python >= 3.10
- uv для окружения
Установка и запуск
uv sync
export PLANFIX_BASE_URL=https://your-account.planfix.com/rest # или в .env
export PLANFIX_API_TOKEN=<token>
uv run planfix-mcp # stdio-транспорт
uv run planfix-mcp --transport http # HTTP-транспорт
Переменные также читаются из .env (скопируйте .env.example).
Конфигурация
| Переменная | CLI | Дефолт | Описание |
|---|---|---|---|
PLANFIX_BASE_URL |
--base-url |
https://your-account.planfix.com/rest |
Базовый URL REST API |
PLANFIX_API_TOKEN |
--api-token |
— | Bearer-токен Planfix |
PLANFIX_TAGS |
--tags |
task,contact,project,comments |
Теги OpenAPI для включения инструментов |
PLANFIX_INCLUDE_OPERATION_IDS |
--include-operation-ids |
— | Дополнительные операции по operationId |
PLANFIX_EXCLUDE_OPERATION_IDS |
--exclude-operation-ids |
— | Исключить операции по operationId |
PLANFIX_VALIDATE_OUTPUT |
--validate-output |
true |
Валидация ответов по схемам спеки |
Обновление спеки
uv run python scripts/update_spec.py
Если спеку попадают новые операции — перегенерировать словари и обновить тесты:
uv run python scripts/gen_dictionaries.py
Тесты
uv run pytest -q
Интеграционные тесты используют httpx.MockTransport и не ходят в реальный API.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.