Skip to main content
Glama

AtomGit MCP Server

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_repository

repo

列出用户授权某个的仓库

get_user_repositories

repo

列出用户授权的所有仓库

get_org_repositories

repo

列出组织授权的所有仓库

create_issue

issue

为某个仓库创建issue

create_issue_comment

issue

为某条issue创建评论

delete_issue_comment

issue

删除某条issue的评论

get_issue_comment

issue

获取某条issue的评论

list_issue_comments

issue

列出某条issue的所有评论

list_issues

issue

列出某个仓库的所有issues

get_issue

issue

获取某个issue的详细信息

set_assignees

issue

设置某个issue的负责人

list_issue_assignees

issue

列出某个issue的负责人

check_if_user_is_assignable

issue

检查某用户是否可分配为issue负责人

create_pull_request

pull

创建一个新的变更请求

get_pull_request_details

pull

获取某个变更请求的详细信息

create_pull_request_comment

pull

为某个变更请求创建评论

create_pull_request_reply

pull

回复某个变更请求的评论

get_pull_request_comment

pull

获取某个变更请求评论的详细信息

list_repository_branches

branch

获取分支列表

get_repository_branch_details

branch

获取分支信息

get_repository_labels

label

获取仓库所有标签

create_issue_labels

label

为issue添加标签

get_issue_labels

label

获取issue的所有标签

delete_issue_label

label

从issue中移除标签

get_label_by_name

label

根据名称获取仓库中的单个标签

贡献

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

  1. 访问仓库https://atomgit.com/atomgit-open-source-ecosystem/atomgit-mcp-server

  2. Fork 此仓库

  3. 为 feature 或 bug 修复创建一个新分支。

  4. 更改代码,并确保代码有良好的文档。

  5. 提交一个 pull request,并附上清晰的更改描述。

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

木兰宽松许可证, 第2版

木兰宽松许可证, 第2版

Available Tools

22 tools
assign_issueC

Assign users to an issue in a AtomGit repository

Inputs: owner (required), repo (required), issue_number (required), assignee (required).

check_if_user_is_assignableC

Check if a user can be assigned to an issue in a AtomGit repository

Inputs: owner (required), repo (required), assignee (required).

create_issueC

Create a new issue in a AtomGit repository

Inputs: owner (required), repo (required), title (required), body (required), +3 more.

create_issue_commentC

Create an issue comment in a AtomGit repository issue

Inputs: owner (required), repo (required), issue_number (required), body (required).

create_issue_labelsC

Add labels to an issue in a repository

Inputs: owner (required), repo (required), issue_number (required), labels (required).

create_pull_requestC

Create a new pull request in a repository

Inputs: owner (required), repo (required), body (required).

create_pull_request_commentC

Create a comment on a pull request

Inputs: repoOwner (required), repo (required), pull_number (required), body (required).

create_pull_request_replyC

Reply to a comment on a pull request

Inputs: owner (required), repo (required), pull_number (required), comment_id (required), +1 more.

delete_issue_labelC

Remove a label from an issue in a repository

Inputs: owner (required), repo (required), issue_number (required), name (required).

get_issue_detailsC

Get details of a specific issue in a AtomGit repository

Inputs: owner (required), repo (required), issue_number (required).

get_issue_labelsB

Get all labels for an issue in a repository

Inputs: owner (required), repo (required), issue_number (required).

get_label_by_nameB

Get a single label by name from a repository

Inputs: owner (required), repo (required), name (required).

get_org_repositoriesC

Search for AtomGit org repositories

Inputs: orgPath (required), per_page, page, search.

get_pull_request_commentC

Get details of a specific pull request comment

Inputs: owner (required), repo (required), pull_number (required), comment_id (required).

get_pull_request_detailsC

Get details of a specific pull request

Inputs: owner (required), repo (required), pull_number (required).

get_repository_branch_detailsB

Get details of a specific branch in a repository

Inputs: owner (required), repo (required), branch (required).

get_repository_labelsC

Get all labels in a repository

Inputs: owner (required), repo (required).

get_user_repositoriesC

Search for AtomGit user repositories

Inputs: username (required), per_page, page, search.

get_user_repositoryC

Search for AtomGit user repository

Inputs: owner (required), repo (required).

list_issue_assigneesC

List assignees for a specific issue in a AtomGit repository

Inputs: owner (required), repo (required).

list_repository_branchesC

List branches in a repository

Inputs: owner (required), repo (required), per_page, page.

list_repository_issuesC

List issues in a AtomGit repository

Inputs: owner (required), repo (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 22 tools

    Disambiguation4/5

    Most tools have distinct purposes, but there is some overlap between 'get_user_repositories' and 'get_user_repository' which could cause confusion, and 'create_pull_request_comment' vs 'create_pull_request_reply' might be ambiguous without clear context. Overall, the tools are well-differentiated by resource and action.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with snake_case, such as 'create_issue', 'get_issue_details', and 'list_repository_issues'. The naming is predictable and uniform throughout the set, making it easy for agents to understand and use.

    Tool Count3/5

    With 22 tools, the count is on the higher side for a Git repository server, bordering on heavy. While it covers many operations, it might be overwhelming or redundant, such as having separate tools for 'get_user_repositories' and 'get_user_repository'.

    Completeness5/5

    The tool set provides comprehensive coverage for managing issues, pull requests, labels, repositories, and branches in AtomGit. It includes CRUD operations for issues and pull requests, label management, and repository/branch queries, with no obvious gaps for core workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers