让智能体管理 AtomGit 开源协作平台上的仓库、issue、pull request、分支和标签
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add atomgit --env ATOMGIT_PERSONAL_ACCESS_TOKEN='<ATOMGIT_PERSONAL_ACCESS_TOKEN>' -- npx -y atomgit-mcp-server@latest~/.codex/config.toml
[mcp_servers.atomgit]
command = "npx"
args = ["-y", "atomgit-mcp-server@latest"]
env = { ATOMGIT_PERSONAL_ACCESS_TOKEN = "<ATOMGIT_PERSONAL_ACCESS_TOKEN>" }
# codex mcp add atomgit --env ATOMGIT_PERSONAL_ACCESS_TOKEN='<ATOMGIT_PERSONAL_ACCESS_TOKEN>' -- npx -y atomgit-mcp-server@latest~/.cursor/mcp.json
{
"mcpServers": {
"atomgit": {
"command": "npx",
"args": [
"-y",
"atomgit-mcp-server@latest"
],
"env": {
"ATOMGIT_PERSONAL_ACCESS_TOKEN": "<ATOMGIT_PERSONAL_ACCESS_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"atomgit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"atomgit-mcp-server@latest"
],
"env": {
"ATOMGIT_PERSONAL_ACCESS_TOKEN": "<ATOMGIT_PERSONAL_ACCESS_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"atomgit": {
"command": "npx",
"args": [
"-y",
"atomgit-mcp-server@latest"
],
"env": {
"ATOMGIT_PERSONAL_ACCESS_TOKEN": "<ATOMGIT_PERSONAL_ACCESS_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"atomgit": {
"command": "npx",
"args": [
"-y",
"atomgit-mcp-server@latest"
],
"env": {
"ATOMGIT_PERSONAL_ACCESS_TOKEN": "<ATOMGIT_PERSONAL_ACCESS_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"atomgit": {
"command": "npx",
"args": [
"-y",
"atomgit-mcp-server@latest"
],
"env": {
"ATOMGIT_PERSONAL_ACCESS_TOKEN": "<ATOMGIT_PERSONAL_ACCESS_TOKEN>"
}
}
}
}Environment variables
ATOMGIT_PERSONAL_ACCESS_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.