@modelcontextprotocol/server-git
MCP server for Git repository interaction. Read, search, and manipulate Git repos locally.
- 评测生成时间(北京时间)
- 本报告引擎
- v3.10.0
- 当前引擎
- v3.17.3
本报告与当前引擎使用不同规则;原分数不会自动更新,不同版本的分数不宜直接对比。
进入后确认来源与额度,提交才会创建任务。
代码版本未记录或记录无效,无法核对本报告的 commit 与送评文本;不会用当前项目代码回填历史记录。
综合采用结论
证据充分,整体质量与安全表现优秀
- 基础评测完成+25/25确定性评分与静态安全扫描已完成
- README 有效证据+21/258,212 个去重后的有效字符
- 独立证据来源+20/205 类非重复证据,重复文件不叠加
- 仓库元数据+10/10已取得仓库状态与采用数据
- 活跃记录+5/5已取得最近提交时间
- AI 复核+15/15已完成结构化 AI 证据复核
本报告评了什么
综合分用于静态采用筛选,不是任务成功率,也不代表使用 Skill 后的能力提升。
- 静态检查范围
- 记录 17 个文件 · 25,249 字符
- 只检查采集到的受限文本与已知风险模式;未读取的脚本、依赖和运行环境不在结论内。
- AI 内容复核
- 已使用
- 复核送评文本的说明和设计,不是安装测试或实际任务执行。记录缺失时不推断已使用或未使用。
- 真实任务效果
- 本报告未提供实测证据
- 没有使用/不使用 Skill 的任务对照、重复运行或耗时与 token 成本结果。采用前仍需在隔离环境验证自己的任务。
脚本引用覆盖
脚本引用覆盖记录不可得;不推断没有引用或已经检查。
公开证据不足,暂不绘图
当前材料不足以同时核实至少 2 个步骤或组件及 1 条关系。为避免臆测,报告保留文字证据,不生成流程图、时序图或架构图。
- 描述: 'Tools to read, search, and manipulate Git repositories.'
- 安装命令: 'uvx mcp-server-git' 和 'pip install mcp-server-git'
- 配置示例: 'git': {'command': 'uvx', 'args': ['mcp-server-git', '--repository', 'path/to/git/repo']}
- 警告: 'not as production-ready solutions'
- 许可证: Apache License 2.0
- 问题与用途描述
- 有效 README
- 安装或接入步骤
- 可执行示例
- 未发现已知高风险模式
- 缺少输出或结果说明
- 缺少错误处理或排障
- 缺少具体工具列表和参数说明
- 未说明输出格式或结果示例
- 无错误处理和排障指南
学习 MCP server 开发、本地 Git 仓库的简单交互、作为 SDK 使用示例、集成到支持 MCP 的客户端
生产环境直接使用、需要复杂 Git 操作或精细权限控制的场景
也有自己的公开项目?先免登录查已有报告;没有报告时,可保留地址继续登录评测。
查找我项目的报告 →静态扫描不是安全保证,生产接入前仍应人工复核权限和数据边界。
- 01补充输出或结果说明
- 02补充错误处理或排障
方法、证据与局限展开收起
GitHub Repository API、Package registry metrics
17 个文件 · 25,249 字符
v3.10.0 · AI 内容复核:已使用(deepseek-chat)
- 静态评测不会安装或执行项目代码
- 安全扫描基于高信号文件与已知模式,不能替代人工审计
- 流行度只反映采用程度,不代表安全或工程质量
README
Model Context Protocol servers
This repository is a collection of reference implementations for the Model Context Protocol (MCP), as well as references to community-built servers and additional resources.
[!IMPORTANT] If you are looking for a list of MCP servers, you can browse published servers on the MCP Registry. The repository served by this README is dedicated to housing just the small number of reference servers maintained by the MCP steering group.
[!WARNING] The servers in this repository are intended as reference implementations to demonstrate MCP features and SDK usage. They are meant to serve as educational examples for developers building their own MCP servers, not as production-ready solutions. Developers should evaluate their own security requirements and implement appropriate safeguards based on their specific threat model and use case.
The servers in this repository showcase the versatility and extensibility of MCP, demonstrating how it can be used to give Large Language Models (LLMs) secure, controlled access to tools and data sources. Typically, each MCP server is implemented with an MCP SDK:
- C# MCP SDK
- Go MCP SDK
- Java MCP SDK
- Kotlin MCP SDK
- PHP MCP SDK
- Python MCP SDK
- Ruby MCP SDK
- Rust MCP SDK
- Swift MCP SDK
- TypeScript MCP SDK
🌟 Reference Servers
These servers aim to demonstrate MCP features and the official SDKs.
- Everything - Reference / test server with prompts, resources, and tools.
- Fetch - Web content fetching and conversion for efficient LLM usage.
- Filesystem - Secure file operations with configurable access controls.
- Git - Tools to read, search, and manipulate Git repositories.
- Memory - Knowledge graph-based persistent memory system.
- Sequential Thinking - Dynamic and reflective problem-solving through thought sequences.
- Time - Time and timezone conversion capabilities.
Archived
The following reference servers are now archived and can be found at servers-archived.
- AWS KB Retrieval - Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
- Brave Search - Web and local search using Brave's Search API. Has been replaced by the official server (
@brave/brave-search-mcp-server). - EverArt - AI image generation using various models.
- GitHub - Repository management, file operations, and GitHub API integration.
- GitLab - GitLab API, enabling project management.
- Google Drive - File access and search capabilities for Google Drive.
- Google Maps - Location services, directions, and place details.
- PostgreSQL - Read-only database access with schema inspection.
- Puppeteer - Browser automation and web scraping.
- Redis - Interact with Redis key-value stores.
- Sentry - Retrieving and analyzing issues from Sentry.io.
- Slack - Channel management and messaging capabilities. Now maintained by Zencoder
- SQLite - Database interaction and business intelligence capabilities.
🚀 Getting Started
Using MCP Servers in this Repository
TypeScript-based servers in this repository can be started with npx.
For example, this will start the Memory server:
npx -y @modelcontextprotocol/server-memory
Python-based servers in this repository can be started with uvx or pip. uvx is recommended for ease of use and setup.
For example, this will start the Git server:
# With uvx
uvx mcp-server-git
# With pip
pip install mcp-server-git
python -m mcp_server_git
Follow these instructions to install uv / uvx and these to install pip.
Using an MCP Client
However, running a server on its own isn't very useful, and should instead be configured into an MCP client. For example, here's the Claude Desktop configuration to use the above server:
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"]
}
}
}
On Windows, wrap npx with cmd /c:
{
"mcpServers": {
"memory": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@modelcontextprotocol/server-memory"]
}
}
}
Additional examples of using the Claude Desktop as an MCP client might look like:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/files"]
},
"git": {
"command": "uvx",
"args": ["mcp-server-git", "--repository", "path/to/git/repo"]
},
"fetch": {
"command": "uvx",
"args": ["mcp-server-fetch"]
}
}
}
On Windows, apply the same wrapper to the npx-based filesystem entry above by changing its "command" to "cmd" and prepending "/c", "npx" to its existing args. Leave the uvx entries unchanged.
Transports: stdio and Streamable HTTP
An MCP server talks to its client over a transport. The protocol defines two standard ones, and they run very differently:
| Transport | How the server runs | How a client reaches it |
|---|---|---|
| stdio | The client launches the server as a subprocess and talks to it over the process's stdin and stdout. The server opens no port. | A command and args in the client's configuration, as in the examples above |
| Streamable HTTP | The server runs on its own as an HTTP service, and can serve many clients | A URL, such as http://localhost:3001/mcp |
Every server in this repository serves stdio, and only Everything also serves Streamable HTTP (its README shows how to start it that way, and covers its deprecated HTTP+SSE transport too). So when you run uvx mcp-server-git or npx -y @modelcontextprotocol/server-memory in a terminal, it opens no port, prints at most a one-line startup notice, and then appears to hang. That is expected: it is waiting for a client to send it messages on stdin. You do not normally start a stdio server yourself; your MCP client starts it from its configuration and stops it when it is done.
To try a server without setting up a client, use the MCP Inspector. Given a stdio server's command, it launches the server for you and lets you browse and call its tools; given a URL, it connects to a running Streamable HTTP server:
# A stdio server: the Inspector launches it
npx @modelcontextprotocol/inspector uvx mcp-server-git
# A Streamable HTTP server: start it first, then connect to its URL
npx @modelcontextprotocol/server-everything streamableHttp
npx @modelcontextprotocol/inspector --transport http --server-url http://localhost:3001/mcp
For more, see the transport layer in the MCP architecture overview, and Transports in the specification.
🛠️ Creating Your Own Server
Interested in creating your own MCP server? Visit the official documentation at modelcontextprotocol.io for comprehensive guides, best practices, and technical details on implementing MCP servers.
📚 Learn More
See ADDITIONAL.md for a curated list of frameworks and resources that simplify building MCP servers and clients.
🤝 Contributing
See CONTRIBUTING.md for information about contributing to this repository.
📦 Releasing
See RELEASING.md for how packages are published (OIDC trusted publishing from CI — no registry tokens) and how to retry a failed publish.
🔒 Security
See SECURITY.md for reporting security vulnerabilities.
📜 License
This project is licensed under the Apache License, Version 2.0 for new contributions, with existing code under MIT - see the LICENSE file for details.
💬 Community
⭐ Support
If you find MCP servers useful, please consider starring the repository and contributing new servers or improvements!
Managed by Anthropic, but built together with the community. The Model Context Protocol is open source and we encourage everyone to contribute their own servers and improvements!