🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

mcp-server-atomgit

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcp-server-atomgit

MCP server for using AtomGit API

1.0.0
latest
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

#AtomGit MCP Server

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

安装(npx启动跳过该步骤)

前提条件

  • nodejs v18.20.2 或者更高版本
  • pnpm 10.9.0
  • 拥有 AtomGit 账户的访问令牌,获取方式

从源代码构建

克隆仓库

git clone https://atomgit.com/kaiyuanxiaobing/mcp-server-atomgit.git

cd mcp-server-atomgit

构建项目

pnpm build

查看构建位置

pwd

MCP Hosts配置

npx 启动

{
  "mcpServers": {
    "mcp-server-atomgit": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-server-atomgit@latest"
      ],
      "env": {
        "ATOMGIT_PERSONAL_ACCESS_TOKEN": "<your-atomgit-api-key-here>"
      }
    }
  }
}

可执行文件启动

stdio mode:

{
  "mcpServers": {
    "mcp-server-atomgit": {
      "autoApprove": [
        "get_user_repositories",
        "get_user_repository",
        "get_org_repositories",
        "create_issue",
        "create_issue_comment"
      ],
      "disabled": false,
      "timeout": 60,
      "command": "node",
      "args": [
        "/home/user/work/mcp-server-atomgit/dist/index.js"
      ],
      "env": {
        "ATOMGIT_PERSONAL_ACCESS_TOKEN": "<your-atomgit-api-key-here>"
      },
      "transportType": "stdio"
    }
  }
}

可用工具

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

工具类别描述
get_user_repository仓库列出用户授权某个的仓库
get_user_repositories仓库列出用户授权的所有仓库
get_org_repositories仓库列出组织授权的所有仓库
create_issueissue为某个仓库创建issue
create_issue_commentissue为某条issue创建评论

贡献

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

  • Fork 此仓库。
  • 为feature 或 bug 修复创建一个新分支。
  • 更改代码,并确保代码有良好的文档。
  • 提交一个 pull request,并附上清晰的更改描述。

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

Keywords

AtomGit

FAQs

Package last updated on 28 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts