Token导航 LogoToken导航TokenDH.com
MCP Native Developer Intelligence Suite logo
开发工具stdio官方级别未说明来源级核验

MCP Native Developer Intelligence Suite

MCP Server

基于模型上下文协议(MCP)构建的自主多智能体系统,用于连接大型语言模型和本地开发环境,提供深度Git历史分析、自动化代码审计和跨项目文档合成功能。

工具数

2

提示词数

0

GitHub Stars

0

资源数

0
多智能体系统PythonClaude开发工具Claude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

ayushchhipa1509

提供方

ayushchhipa1509

最后核验

2026/5/17 20:23

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

python -m venv .venv

详细介绍

🧠 MCP本机开发人员智能套件

一个基于 模型上下文协议(MCP) 弥合LLM和当地开发环境之间的差距。具有深入的Git历史分析、通过AST解析的自动代码审计以及使用模块化、状态管理的跨项目文档综合功能 LangGraph 建筑。

______________________________________________________________________

🏗️ 建筑

该系统被清晰地分为两层:

┌─────────────────────────────────────────────────────┐
│                 Intelligence Layer                   │
│          (LangGraph State Machine)                   │
│                                                      │
│   ┌─────────┐   ┌────────────┐   ┌──────────────┐  │
│   │  Scout   │──▶│ Historian  │──▶│ Synthesizer  │  │
│   │ (Files)  │   │   (Git)    │   │  (Report)    │  │
│   └─────────┘   └────────────┘   └──────────────┘  │
└────────────────────────┬────────────────────────────┘
                         │ calls
┌────────────────────────▼────────────────────────────┐
│                  Protocol Layer                      │
│          (MCP Server — stdio transport)              │
│                                                      │
│   ┌──────────────────┐   ┌───────────────────────┐  │
│   │ get_git_history   │   │ analyze_code_structure│  │
│   └──────────────────┘   └───────────────────────┘  │
└─────────────────────────────────────────────────────┘

为什么是两层?

  • 协议层 (mcp_server/):一个独立的MCP服务器,可用于 *任何* MCP主机——克劳德桌面、自定义CLI或第三方集成。
  • 智能层 (agents/):一个LangGraph状态机,协调多步分析,与协议解耦。

______________________________________________________________________

📂 项目结构

MCP-Native-Developer-Intelligence-Suite/
├── mcp_server/                  # Protocol Layer
│   ├── __init__.py
│   ├── main.py                  # Entry point (stdio runner)
│   └── server.py                # MCP Server + tool registration
├── agents/                      # Intelligence Layer
│   ├── __init__.py
│   ├── state.py                 # TypedDict state definition
│   └── graph.py                 # LangGraph nodes + edges
├── tools/                       # Concrete Developer Tools
│   ├── __init__.py
│   ├── git_analyzer.py          # Git CLI wrapper (subprocess)
│   ├── code_auditor.py          # AST-based static analysis
│   └── doc_generator.py         # Markdown synthesis
├── tests/
│   ├── __init__.py
│   └── test_tools.py            # Unit tests
├── .env.example                 # Environment template
├── .gitignore
├── pyproject.toml               # Dependencies + metadata
└── README.md

______________________________________________________________________

🚀 快速开始

先决条件

  • Python 3.11+
  • Git已安装并位于PATH中

安装

# Clone the repository
git clone https://github.com/ayushchhipa1509/MCP-Native-Developer-Intelligence-Suite.git
cd MCP-Native-Developer-Intelligence-Suite

# Create virtual environment
python -m venv .venv
.venv\Scripts\activate        # Windows
# source .venv/bin/activate   # macOS/Linux

# Install dependencies
pip install -e ".[dev]"

# Set up environment
copy .env.example .env         # Then fill in your API keys

运行MCP服务器(stdio)

python -m mcp_server.main

运行情报管道

from agents.graph import run_intelligence_report

report = run_intelligence_report("C:/path/to/your/project")
print(report)

运行测试

pytest tests/ -v

______________________________________________________________________

🔧 MCP工具

get_git_history

提取带有完整元数据的最后N个提交。

参数类型默认值说明
repo_pathstring*必需的*Git仓库的绝对路径
num_commitsinteger10提交次数(1-500)

退货: 带有commits数组和贡献者统计信息的JSON。

analyze_code_structure

对Python代码库执行基于AST的静态分析。

参数类型默认值说明
directory_pathstring*必需的*分析路径
file_extensionsstring[][".py"]扩展包括

退货: 带有类层次结构、函数签名、导入映射和度量的JSON。

______________________________________________________________________

🤖 LangGraph代理管道

状态机通过三个顺序节点处理项目:

节点角色输出
侦察兵文件发现+AST分析discovered_files, analysis_results
历史学家Git历史提取git_context
合成器报告生成final_report (Markdown)

国家通过 TypedDict 它跨节点累积数据:

class AgentState(TypedDict, total=False):
    project_path: str
    discovered_files: list[dict[str, Any]]
    git_context: dict[str, Any]
    analysis_results: dict[str, Any]
    final_report: str
    errors: list[str]

______________________________________________________________________

🔌 Claude桌面集成

添加到您的 claude_desktop_config.json:

{
  "mcpServers": {
    "developer-intel-suite": {
      "command": "python",
      "args": ["-m", "mcp_server.main"],
      "cwd": "C:/path/to/MCP-Native-Developer-Intelligence-Suite"
    }
  }
}

______________________________________________________________________

📜 许可证

麻省理工学院

______________________________________________________________________

*使用模型上下文协议(MCP)和LangGraph构建。*

目录标签

目录标签

多智能体系统PythonClaude开发工具本地部署Git分析代码审计文档合成

支持客户端

Claude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Python

工具数量(toolCount,工具数)

2

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP