htoami/MCP_server_Gos_Plan
3.2
If you are the rightful owner of MCP_server_Gos_Plan and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The Model Context Protocol (MCP) server is a robust framework designed to facilitate seamless integration and management of various tools and services within a unified environment.
MCP server "GosPlan"
Развертывание
- cp .env.example .env
- docker compose up -d --build
MCP endpoint: http://0.0.0.0:8000/mcp
Структура
src/
├── mcp_instance.py # Единственный экземпляр FastMCP
├── server.py # Основная точка входа, инициализация трассировки, запуск сервера
├── metrics.py # Счетчик метрик Prometheus
├── tools/ # MCP tools
│ ├── gosplan_search.py # Поиск по государственным закупкам (223-ФЗ)
│ ├── gosplan_details.py # Получить подробную информацию о покупке
│ ├── utils.py # ToolResult class и функции форматирования
│ └── models.py # Pydantic models for validation
└── utils/
└── settings.py # Dynaconf + Pydantic config loader