这是一个用 Go 语言实现的 GitHub 代理式聊天 MCP(模型上下文协议)服务器。它为用户提供了通过自然语言与 GitHub 交互的工具,还集成了向量搜索功能,极大地提升了与 GitHub 交互的便捷性和效率。
git clone https://github.com/akhidasTech/github-agentic-chat-mcp.git
cd github-agentic-chat-mcp
export GITHUB_TOKEN=your_github_token_here
export DATABASE_URL=postgres://user:password@localhost:5432/dbname
export OPENAI_API_KEY=your_openai_api_key_here
CREATE EXTENSION vector;
go build -o bin/github-agentic-chat-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
文件,添加如下内容:{
"mcpServers": {
"github-chat": {
"command": "/absolute/path/to/bin/github-agentic-chat-mcp"
}
}
}
{
"content": "这是一个关于 GitHub Actions 的文档",
"metadata": "{\"type\": \"documentation\", \"tags\": [\"github\", \"ci-cd\"]}"
}
本项目采用 MIT License。
欢迎提交贡献!请随意通过 Pull Request 提交代码修改。