使用说明
go_mcp_server_github_api
用于通过API与GitHub存储库合作的MCP服务器。
服务器url: http://localhost:8893/sse
跑
SSE模式:
go run main.go -t sse -h 0.0.0.0 -p 8893
标准模式:
go run main.go -t stdio
可用工具
github_repo_info:获取存储库信息github_list_files:列出存储库中的文件github_get_file:获取文件内容github_create_file:创建新文件github_update_file:更新现有文件github_delete_file:删除文件github_create_branch:创建新分支github_create_pull_request:创建pull请求github_search_replace:替换文件中的文本github_insert_at_line:在文件中的特定行插入文本github_append_to_file:将文本附加到文件末尾
