kaiyuanxiaobing
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"atomgit-mcp-server": {
"args": [
"-y",
"atomgit-mcp-server@latest"
],
"command": "npx",
"env": {
"ATOMGIT_PERSONAL_ACCESS_TOKEN": "\u003cyour-atomgit-api-key-here\u003e"
}
}
}
}
可用工具 (22 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
get_user_repository
Search for AtomGit user repository
该工具无需必填参数,直接调用即可
assign_issue
Assign users to an issue in a AtomGit repository
该工具无需必填参数,直接调用即可
list_repository_issues
List issues in a AtomGit repository
该工具无需必填参数,直接调用即可
get_issue_details
Get details of a specific issue in a AtomGit repository
该工具无需必填参数,直接调用即可
list_issue_assignees
List assignees for a specific issue in a AtomGit repository
该工具无需必填参数,直接调用即可
check_if_user_is_assignable
Check if a user can be assigned to an issue in a AtomGit repository
该工具无需必填参数,直接调用即可
get_user_repositories
Search for AtomGit user repositories
该工具无需必填参数,直接调用即可
get_org_repositories
Search for AtomGit org repositories
该工具无需必填参数,直接调用即可
create_issue
Create a new issue in a AtomGit repository
该工具无需必填参数,直接调用即可
create_issue_comment
Create an issue comment in a AtomGit repository issue
该工具无需必填参数,直接调用即可
create_pull_request
Create a new pull request in a repository
该工具无需必填参数,直接调用即可
get_pull_request_details
Get details of a specific pull request
该工具无需必填参数,直接调用即可
create_pull_request_comment
Create a comment on a pull request
该工具无需必填参数,直接调用即可
create_pull_request_reply
Reply to a comment on a pull request
该工具无需必填参数,直接调用即可
get_pull_request_comment
Get details of a specific pull request comment
该工具无需必填参数,直接调用即可
list_repository_branches
List branches in a repository
该工具无需必填参数,直接调用即可
get_repository_branch_details
Get details of a specific branch in a repository
该工具无需必填参数,直接调用即可
get_repository_labels
Get all labels in a repository
该工具无需必填参数,直接调用即可
create_issue_labels
Add labels to an issue in a repository
该工具无需必填参数,直接调用即可
get_issue_labels
Get all labels for an issue in a repository
该工具无需必填参数,直接调用即可
delete_issue_label
Remove a label from an issue in a repository
该工具无需必填参数,直接调用即可
get_label_by_name
Get a single label by name from a repository
该工具无需必填参数,直接调用即可
服务介绍
AtomGit MCP Server
The AtomGit MCP Server is specifically designed for the implementation of Model Context (MCP) services for the AtomGit open-source collaboration platform. It provides a series of methods that allow AI to manage repositories, issues, pull requests, branches, labels, and more on the AtomGit open-source collaboration platform.
Installation (Skip this step if using npx to start)
Prerequisites
- nodejs v18.20.2 or higher
- pnpm 10.9.0
- An access token for an AtomGit account, how to obtain
Building from Source Code
Clone the Repository
bash
git clone https://atomgit.com/atomgit-open-source-ecosystem/atomgit-mcp-server.git
cd mcp-server-atomgit
Build the Project
bash
pnpm build
Check the Build Location
bash
pwd
MCP Hosts Configuration
claude
Executable File Startup
stdio mode:
json
{
"mcpServers": {
"command": "node",
"args": [
"/home/user/work/mcp-server-atomgit/dist/index.js"
],
"env": {
"ATOMGIT_PERSONAL_ACCESS_TOKEN": ""
}
}
}
npx Startup
json
{
"mcpServers": {
"atomgit-mcp-server": {
"command": "npx",
"args": [
"-y",
"atomgit-mcp-server@latest"
],
"env": {
"ATOMGIT_PERSONAL_ACCESS_TOKEN": ""
}
}
}
}
vscode
NPX
json
{
"mcp": {
"inputs": [
{
"type": "promptString",
"id": "your-atomgit-api-key",
"description": "AtomGit Personal Access Token",
"password": true
}
],
"servers": {
"atomgit-mcp-server": {
"command": "npx",
"args": [
"-y",
"atomgit-mcp-server@latest"
],
"env": {
"ATOMGIT_PERSONAL_ACCESS_TOKEN": ""
}
}
}
}
}
Available Tools
The mcp-server-atomgit server offers various tools for interacting with AtomGit, which will be continuously improved:
| Tool | Category | Description |
|---|---|---|
| get_user_repository | repo | List a specific repository authorized by the user |
| get_user_repositories | repo | List all repositories authorized by the user |
| get_org_repositories | repo | List all repositories authorized by the organization |
| create_issue | issue | Create an issue for a specific repository |
| create_issue_comment | issue | Create a comment for a specific issue |
| delete_issue_comment | issue | Delete a comment for a specific issue |
| get_issue_comment | issue | Get a comment for a specific issue |
| list_issue_comments | issue | List all comments for a specific issue |
| list_issues | issue | List all issues for a specific repository |
| get_issue | issue | Get detailed information about a specific issue |
| set_assignees | issue | Set assignees for a specific issue |
| list_issue_assignees | issue | List assignees for a specific issue |
| check_if_user_is_assignable | issue | Check if a user can be assigned as an issue's assignee |
| create_pull_request | pull | Create a new pull request |
| get_pull_request_details | pull | Get detailed information about a specific pull request |
| create_pull_request_comment | pull | Create a comment for a specific pull request |
| create_pull_request_reply | pull | Reply to a comment for a specific pull request |
| get_pull_request_comment | pull | Get detailed information about a specific pull request comment |
| list_repository_branches | branch | Get a list of branches for a repository |
| get_repository_branch_details | branch | Get details about a specific branch in a repository |
| get_repository_labels | label | Get all labels for a repository |
| create_issue_labels | label | Add labels to an issue |
| delete_issue_label | label | Remove a label from an issue |
| get_label_by_name | label | Get a single label from the repository by name |
Contributions
We welcome contributions from developers who are passionate about open source! If you would like to contribute to this project, please follow these guidelines:
- Fork this repository.
- Create a new branch for a feature or bug fix.
- Make your changes and ensure that the code is well-documented.
- Submit a pull request with a clear description of the changes.
If you have any questions, please submit an issue, and we will promptly review and actively address it~