Pyrus MCP
Enables authorized employees and AI hosts to perform Pyrus operations over the Model Context Protocol (MCP) with production-grade security and observability.
README
Pyrus AI Ecosystem — MCP Infrastructure
This repository is the implementation and governance home for the Pyrus MCP infrastructure service and its supporting AI engineering team. It also contains the architectural specification and roadmap for the future Knowledge MCP, which is a separate service with its own data store and lifecycle.
Product boundaries
AI clients / employees
|
+---------------------+
| |
v v
Pyrus MCP Knowledge MCP
Pyrus actions canonical knowledge
| |
v v
Pyrus API PostgreSQL/pgvector
^ ^
| |
+------- PyrusBot ----+
orchestration
Pyrus MCP
A production-grade external service that allows authorized employees/AI hosts to perform Pyrus operations over MCP. It is independently deployable and must not depend on a developer workstation.
Knowledge MCP
A separate MCP service for canonical versioned documentation, evidence/lineage, semantic embeddings, hybrid retrieval and controlled publication to the Pyrus Knowledge Base through Pyrus MCP.
PyrusBot
A future orchestration/application layer consuming both MCPs. It can later become a chat bot, CLI, web utility or IDE adapter without changing the infrastructure contracts.
Current priority
Pyrus MCP production readiness comes first. Knowledge MCP is specified in parallel but is implemented after its contracts are approved. PyrusBot integration follows stable infrastructure contracts.
Normative documents
IMPLEMENTATION_PLAN.md— normative implementation entry point.docs/architecture/system-architecture-v2.md— complete system architecture.docs/architecture/contracts-v2.md— MCP, Pyrus API, security, webhook and Knowledge contracts.docs/planning/production-roadmap-v2.md— phase roadmap and parallelisation rules.tasks/registry.yaml— executable task graph with owners, reviewers, gates and dependencies.contracts/pyrus-tool-catalog.yaml— recoverable legacy compatibility catalogue; currently blocked until legacy evidence is recovered.docs/qa/gates.md— merge/release/production acceptance gates.docs/ai-team/agent-registry.yaml— engineering roles and authority.
Critical current blockers
- The previous plan referenced
pyrus_mcp_tools_spec.jsonandinventory.json, but those artefacts are not present in the current repository. The exact legacy contract must be recovered before declaring 1:1 parity. - The visible plan says "61 tools", but the currently visible grouped list does not independently reconcile to that number. The exact legacy count and names are therefore a P0 contract-recovery task.
- A single
SERVER_AUTH_TOKENis not an adequate multi-user production authorization model. The target is MCP/OAuth-compatible bearer authorization, audience validation, scopes, tenant binding, revocation and audit. - SQLite is a local-development option, not the durable production system of record.
Engineering stack
Pyrus MCP
Python 3.11+ policy; uv; FastMCP; Streamable HTTP; stdio for local tests; Pydantic; httpx; pytest; Ruff; static typing; PostgreSQL; optional Redis; Docker; GitHub Actions; external secret management.
Knowledge MCP
Python + FastMCP; PostgreSQL + pgvector; object storage for large/raw artifacts; embedding-provider adapter with model/version records; background indexing/embedding jobs; optional Redis; the same production security and observability discipline.
Development model
Every implementation item has one primary executor, an independent reviewer and explicit gate owners. A task is split whenever it contains more than one independently testable outcome. New discoveries create linked tasks rather than silently expanding scope.
Production release is gated by architecture, contract, security, QA, persistence, observability, staging and release checks.
Useful commands
node scripts/dashboard-server.mjs
# Open http://localhost:4748/
The dashboard is an interface to the task registry; the registry and the documents above remain the source of truth.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。