mcpField
A
AtomGit MCP Server

AtomGit MCP Server

Local
github.com/kaiyuanxiaobingVersion Control9Updated 67w ago

About AtomGit MCP Server

AtomGit MCP Server exposes AtomGit repository and collaboration data for AI workflows, aimed at tasks such as managing repositories, issues, and pull requests.

Key features

  1. 01List user and organization repositories
  2. 02Create and manage issues and comments
  3. 03Create pull requests and manage comments
  4. 04View repository branches and labels
  5. 05Set issue assignees and labels

Use cases

  1. 01Inspect repositories the account can access
  2. 02Create issues and assign owners
  3. 03Open pull requests and handle comments
  4. 04Check branch and label details

MCP support

As an MCP server, it provides MCP clients with tools for AtomGit repositories, issues, pull requests, branches, and labels.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"atomgit": {
"command": "npx",
"args": [
"-y",
"atomgit-mcp-server"
],
"env": {
"ATOMGIT_PERSONAL_ACCESS_TOKEN": "<ATOMGIT_PERSONAL_ACCESS_TOKEN>"
}
}
}
}
Run commandnpx -y atomgit-mcp-server
Environment variables to set
ATOMGIT_PERSONAL_ACCESS_TOKENSecret

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmatomgit-mcp-server

Tools

22

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
ownerstringYesSearch query owner
repostringYesSearch query repo

Details

From the project README

AtomGit MCP Server

smithery badge

English | 中文

AtomGit MCP 服务器是专门为 AtomGit 开源协作平台的模型上下文(MCP) 服务的实现。提供了一系列方法,允许 AI 管理 AtomGit 开源协作平台的仓库、issues、pull requests、branch、label等。

安装使用

从源代码构建
前提条件(npx启动跳过该步骤)
  • nodejs v18.20.2 或者更高版本
  • pnpm 10.9.0
  • 拥有 AtomGit 账户的访问令牌,获取方式
克隆仓库
git clone https://atomgit.com/atomgit-open-source-ecosystem/atomgit-mcp-server.git

cd mcp-server-atomgit
构建项目
pnpm build
查看构建位置
pwd
claude 可执行文件启动

stdio mode:

{
  "mcpServers": {
    "command": "node",
    "args": [
      "/home/user/work/mcp-server-atomgit/dist/index.js"
    ],
    "env": {
      "ATOMGIT_PERSONAL_ACCESS_TOKEN": "<your-atomgit-api-key-here>"
    },
  }
}
MCP Hosts配置
claude
npx 启动
{
  "mcpServers": {
    "atomgit-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "atomgit-mcp-server@latest"
      ],
      "env": {
        "ATOMGIT_PERSONAL_ACCESS_TOKEN": "<your-atomgit-api-key-here>"
      }
    }
  }
}
vscode

NPX

{
  "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": "<your-atomgit-api-key-here>"
        }
      }
    }
  }
}
可用工具

mcp-server-atomgit 服务器提供了多种与 AtomGit 交互的工具,后续会不断完善:

工具类别描述
get_user_repositoryrepo列出用户授权某个的仓库
get_user_repositoriesrepo列出用户授权的所有仓库
get_org_repositoriesrepo列出组织授权的所有仓库
create_issueissue为某个仓库创建issue
create_issue_commentissue为某条issue创建评论
delete_issue_commentissue删除某条issue的评论
get_issue_commentissue获取某条issue的评论
list_issue_commentsissue列出某条issue的所有评论
list_issuesissue列出某个仓库的所有issues
get_issueissue获取某个issue的详细信息
set_assigneesissue设置某个issue的负责人
list_issue_assigneesissue列出某个issue的负责人
check_if_user_is_assignableissue检查某用户是否可分配为issue负责人
create_pull_requestpull创建一个新的变更请求
get_pull_request_detailspull获取某个变更请求的详细信息
create_pull_request_commentpull为某个变更请求创建评论
create_pull_request_replypull回复某个变更请求的评论
get_pull_request_commentpull获取某个变更请求评论的详细信息
list_repository_branchesbranch获取分支列表
get_repository_branch_detailsbranch获取分支信息
get_repository_labelslabel获取仓库所有标签
create_issue_labelslabel为issue添加标签
get_issue_labelslabel获取issue的所有标签
delete_issue_labellabel从issue中移除标签
get_label_by_namelabel根据名称获取仓库中的单个标签
贡献

我们欢迎热爱开源的开发者们的贡献!如果您想为这个项目做出贡献,请按照以下指南操作:

  1. 访问仓库https://atomgit.com/atomgit-open-source-ecosystem/atomgit-mcp-server
  2. Fork 此仓库
  3. 为 feature 或 bug 修复创建一个新分支。
  4. 更改代码,并确保代码有良好的文档。
  5. 提交一个 pull request,并附上清晰的更改描述。

有任何问题,请给我们提交issue,我们会及时查看反馈,并积极解决~

木兰宽松许可证, 第2版

木兰宽松许可证, 第2版

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.