获取MCP
MCP服务器 吉廷斯特。这允许像Claude Desktop、Cline、Cursor等MCP客户端快速提取有关Github存储库的信息,包括
- 存储库摘要
- 项目目录结构
- 文件内容
https://github.com/user-attachments/assets/c1fa596b-a70b-4d37-91d9-ea5e80284793
目录
- 通过Smithery安装 - - 手动安装Repo - 更新MCP客户端配置
安装
通过Smithery安装
- 通过以下方式安装gitingest mcp 史密瑟里:
npx -y @smithery/cli@latest install @puravparab/gitingest-mcp --client claude --config "{}" # Claude npx -y @smithery/cli@latest run @puravparab/gitingest-mcp --client cursor --config "{}" # Cursor npx -y @smithery/cli@latest install @puravparab/gitingest-mcp --client windsurf --config "{}" # Windsurf npx -y @smithery/cli@latest install @puravparab/gitingest-mcp --client cline --config "{}" # Cline通过Github安装
- 将其添加到MCP客户端配置文件中
{
"mcpServers": {
"gitingest-mcp": {
"command": "
/uvx",
"args": [
"--from",
"git+https://github.com/puravparab/gitingest-mcp",
"gitingest-mcp"
]
}
}
}手动安装Repo
- 克隆仓库
git clone https://https://github.com/puravparab/Gitingest-MCP
cd Gitingest-MCP- 安装依赖项
uv sync- 将其添加到MCP客户端配置文件中
{
"mcpServers": {
"gitingest": {
"command": "
/uv",
"args": [
"run",
"--with",
"mcp[cli]",
"--with-editable",
"
/gitingest_mcp",
"mcp",
"run",
"
/gitingest-mcp/src/gitingest_mcp/server.py"
]
}
}
}- 如果您有问题,请按照以下步骤操作 MCP服务器文档
更新MCP客户端配置
- 添加到克劳德桌面
在IDE中打开配置文件
cursor ~/Library/Application\ Support/Claude/claude_desktop_config.json code ~/Library/Application\ Support/Claude/claude_desktop_config.json调试
- 使用mcp检查器
uv run mcp dev src/gitingest_mcp/server.py