MCP Project Orchestrator

by sparesparrow
Verified

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • Supports containerized deployment using Docker, with specific container configurations for testing and development workflows.

  • Integrates with GitHub Actions for CI/CD pipelines, including automated testing, container image building, and deployment workflows.

  • Generates visual diagrams using the Mermaid tool to help visualize project architecture and implementation strategies in the generated documentation.

MCP 项目协调器

用于管理模型上下文协议 (MCP) 项目、模板、提示和美人鱼图的综合项目编排工具。

特征

  • 模板管理
    • 用于快速项目设置的项目模板
    • 用于模块化开发的组件模板
    • 变量替换和验证
    • 模板发现和版本控制
  • 及时管理
    • 系统和用户提示模板
    • 变量替换
    • 及时分类和版本控制
    • 轻松快速发现和重复使用
  • 美人鱼图生成
    • 流程图生成
    • 序列图生成
    • 类图生成
    • SVG 和 PNG 渲染
    • 图表验证

安装

pip install mcp-project-orchestrator

或者用诗歌:

poetry add mcp-project-orchestrator

快速入门

项目模板

from mcp_project_orchestrator.templates import TemplateManager # Initialize template manager manager = TemplateManager("path/to/templates") # List available templates templates = manager.list_templates() print(templates) # Apply a project template manager.apply_template("fastapi-project", { "project_name": "my-api", "project_description": "My FastAPI project", "author_name": "John Doe", "author_email": "john@example.com" })

及时管理

from mcp_project_orchestrator.prompts import PromptManager # Initialize prompt manager manager = PromptManager("path/to/prompts") # List available prompts prompts = manager.list_prompts() print(prompts) # Render a prompt with variables rendered = manager.render_prompt("system-prompt", { "name": "User", "project": "MCP" }) print(rendered)

美人鱼图

from mcp_project_orchestrator.mermaid import MermaidGenerator, MermaidRenderer # Initialize generators generator = MermaidGenerator() renderer = MermaidRenderer() # Generate a flowchart flowchart = generator.generate_flowchart( nodes=[ ("A", "Start"), ("B", "Process"), ("C", "End") ], edges=[ ("A", "B", ""), ("B", "C", "") ] ) # Render to SVG renderer.render(flowchart, "flowchart.svg")

项目结构

mcp-project-orchestrator/ ├── src/ │ └── mcp_project_orchestrator/ │ ├── templates/ │ │ ├── __init__.py │ │ ├── base.py │ │ ├── project.py │ │ ├── component.py │ │ └── manager.py │ ├── prompts/ │ │ ├── __init__.py │ │ ├── template.py │ │ └── manager.py │ └── mermaid/ │ ├── __init__.py │ ├── generator.py │ └── renderer.py ├── tests/ │ ├── __init__.py │ ├── conftest.py │ ├── test_templates.py │ ├── test_prompts.py │ └── test_mermaid.py ├── docs/ ├── examples/ ├── .github/ │ └── workflows/ │ └── ci.yml ├── pyproject.toml ├── Containerfile └── README.md

发展

  1. 克隆存储库:
git clone https://github.com/yourusername/mcp-project-orchestrator.git cd mcp-project-orchestrator
  1. 安装依赖项:
poetry install
  1. 运行测试:
poetry run pytest
  1. 运行 linting:
poetry run ruff check . poetry run mypy src/mcp_project_orchestrator

贡献

  1. 分叉存储库
  2. 创建功能分支
  3. 提交你的更改
  4. 推送到分支
  5. 创建拉取请求

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

致谢

-
security - not tested
A
license - permissive license
-
quality - not tested

MCP 服务器通过应用设计模式和软件架构中的标准化模板和最佳实践来协助协调新的软件项目。

  1. Features
    1. Installation
      1. Quick Start
        1. Project Templates
        2. Prompt Management
        3. Mermaid Diagrams
      2. Project Structure
        1. Development
          1. Contributing
            1. License
              1. Acknowledgments
                ID: bz9y44r0tg