Gitopia MCP Server logo

Gitopia MCP Server

by gitopia

MCP server for Gitopia repositories, issues, pull requests, releases, bounties, and DAO governance.

Install Gitopia MCP Server

Run the project’s own setup commands, in order.

Setup steps from the project

gitopia/gitopia-mcp-server installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    docker pull ghcr.io/gitopia/gitopia-mcp-server:latest
    
  2. 2. Install
    go install github.com/gitopia/gitopia-mcp-server/cmd/server@latest
    
  3. 3. Add to Codex
    codex mcp add gitopia -- docker run --rm -i --platform linux/amd64 \
      -v "${HOME}/.mcp/gitopia:/home/mcp/.mcp/gitopia" \
      -e MCP_WORKSPACE_PATH=/home/mcp/.mcp/gitopia/workspace \
      ghcr.io/gitopia/gitopia-mcp-server:latest stdio
    
  4. 4. Install
    docker build -t gitopia-mcp-server:latest .  # docker
    
We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

/bin/bash: line 1: docker: command not found

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Gitopia MCP Server connects AI clients to Gitopia, a decentralized Git platform with on-chain operations and DAO contexts. It supports repository and Git workflows, issue and pull request management, releases, and user or wallet setup. Use it when an agent needs to work with Gitopia resources or perform approved on-chain actions.

Use cases

  • Manage Gitopia repositories and branches
  • Create and update on-chain issues
  • Review, comment on, and merge pull requests
  • Publish releases and browse commit history
  • Switch between DAO contexts and manage wallet identity

Key features

  • Repository, branch, fork, tag, and file access
  • On-chain issue and pull request operations
  • Release creation and listing
  • Workspace cloning, branching, committing, and pushing
  • DAO context and user identity management
  • Auto-generated wallet with approval mode support

Tools57

What Gitopia MCP Server lets your agent do. Expand a tool for its parameters.

Self-reported~583 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

22/22 checks healthy over the last 112d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
Last commit8mo agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Tools exposed57Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

Gitopia MCP Server

MCP server for Gitopia — decentralized Git with on-chain governance, bounties, and DAO management. Works with Cursor, VS Code, Claude Code, Claude Desktop, Windsurf, and any MCP-compatible tool.

57 tools | 3 prompts | 4 resource templates

Zero-config start: a wallet is auto-generated on first use. No setup beyond pasting a config snippet.

Quick Start

Docker (Recommended)

Terminal
docker pull ghcr.io/gitopia/gitopia-mcp-server:latest

Then add the config for your editor (see Editor Setup below).

Native Binary

Download from GitHub Releases, or:

bash
go install github.com/gitopia/gitopia-mcp-server/cmd/server@latest

Requires Go 1.25+ and git-remote-gitopia (curl https://get.gitopia.com | bash).

Editor Setup

OpenAI Codex
bash
codex mcp add gitopia -- docker run --rm -i --platform linux/amd64 \
  -v "${HOME}/.mcp/gitopia:/home/mcp/.mcp/gitopia" \
  -e MCP_WORKSPACE_PATH=/home/mcp/.mcp/gitopia/workspace \
  ghcr.io/gitopia/gitopia-mcp-server:latest stdio

Or add to ~/.codex/config.toml:

toml
[mcp_servers.gitopia]
command = "docker"
args = [
  "run", "--rm", "-i", "--platform", "linux/amd64",
  "-v", "${HOME}/.mcp/gitopia:/home/mcp/.mcp/gitopia",
  "-e", "MCP_WORKSPACE_PATH=/home/mcp/.mcp/gitopia/workspace",
  "ghcr.io/gitopia/gitopia-mcp-server:latest", "stdio"
]

Full Codex guide

Claude Code

Add to your project's .mcp.json:

config.json
{
  "mcpServers": {
    "gitopia": {
      "command": "docker",
      "args": [
        "run", "--rm", "-i", "--platform", "linux/amd64",
        "-v", "${HOME}/.mcp/gitopia:/home/mcp/.mcp/gitopia",
        "-v", "${PWD}:/workspace", "-w", "/workspace",
        "-e", "MCP_WORKSPACE_PATH=/workspace",
        "ghcr.io/gitopia/gitopia-mcp-server:latest", "stdio"
      ],
      "env": {}
    }
  }
}

Full Claude Code guide

Cursor

Add to ~/.cursor/mcp.json (macOS) or %APPDATA%\Cursor\mcp.json (Windows):

config.json
{
  "mcpServers": {
    "gitopia": {
      "command": "docker",
      "args": [
        "run", "--rm", "-i", "--platform", "linux/amd64",
        "-v", "${HOME}/.mcp/gitopia:/home/mcp/.mcp/gitopia",
        "-v", "${workspaceFolder}:/workspace", "-w", "/workspace",
        "-e", "MCP_WORKSPACE_PATH=/workspace",
        "ghcr.io/gitopia/gitopia-mcp-server:latest", "stdio"
      ],
      "env": {}
    }
  }
}

Full Cursor guide

VS Code

Full VS Code guide

Windsurf

Full Windsurf guide

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

config.json
{
  "mcpServers": {
    "gitopia": {
      "command": "docker",
      "args": [
        "run", "--rm", "-i", "--platform", "linux/amd64",
        "-v", "${HOME}/.mcp/gitopia:/home/mcp/.mcp/gitopia",
        "-e", "MCP_WORKSPACE_PATH=/home/mcp/.mcp/gitopia/workspace",
        "ghcr.io/gitopia/gitopia-mcp-server:latest", "stdio"
      ],
      "env": {}
    }
  }
}

Using an existing wallet? Set GITOPIA_MNEMONIC in your shell, then add "-e", "GITOPIA_MNEMONIC" to the Docker args. Never hardcode mnemonics in config files.

Tools (57)

Context Management (4)

ToolDescription
get_user_contextGet current identity, address, and available DAOs
set_active_daoSwitch operations to a DAO context
refresh_user_contextReload user info from chain
claim_fee_grantClaim fee grant from faucet

User Management (1)

ToolDescription
create_userCreate on-chain Gitopia user for wallet

Repository Management (7)

ToolDescription
list_reposList repositories for owner
create_repoCreate remote repository
get_repoGet repository details
list_branchesList branches
get_file_contentsRead file without cloning
fork_repositoryFork a repository
toggle_repository_forkingEnable/disable forking

Tags, Commits, Releases (4)

ToolDescription
list_tagsList version tags
list_commitsBrowse commit history for a branch
list_releasesList published releases
create_releasePublish a new release

Issue Management (5)

ToolDescription
list_issuesList issues
get_issueGet full issue details
create_issueCreate issue (on-chain)
comment_on_issueComment on issue (on-chain)
update_issueUpdate state, labels, assignees

Pull Request Management (6)

ToolDescription
list_pull_requestsList PRs
get_pull_requestGet full PR details
get_pull_request_diffGet unified diff for a PR
create_pull_requestCreate PR (on-chain)
comment_on_pull_requestComment on PR (general or inline)
merge_pull_requestMerge PR (on-chain)

Git Operations (5)

ToolDescription
git_cloneClone repository to workspace
git_pushPush commits to remote
create_feature_branchCreate and checkout new branch
sync_with_remoteFetch and merge/rebase
commit_and_push_changesStage + commit + push in one step

Workflow Orchestration (3)

ToolDescription
bootstrap_repoCreate remote + local init + files + push
create_feature_branch_prBranch + changes + commit + push + PR
update_feature_branchAdd commits to existing branch/PR

Label Management (3)

ToolDescription
list_labelsList repository labels
create_labelCreate label (on-chain)
delete_labelDelete label (on-chain)

DAO & Governance (9)

ToolDescription
get_daoGet DAO details including group_id and group_policy_address
create_daoCreate DAO with members and voting
dao_list_membersList DAO members and weights
dao_list_proposalsList governance proposals
dao_get_proposalGet proposal details with tally
dao_update_membersAdd/remove/change member weights
dao_submit_proposalCreate governance proposal
dao_voteVote on proposal
dao_execExecute passed proposal

Bounty Management (6)

ToolDescription
list_bountiesDiscover bounties
get_bountyGet bounty details
create_bountyAttach crypto reward to issue
update_bountyModify bounty expiry
close_bountyDeactivate bounty
delete_bountyPermanently remove bounty

Batch & Approval (4)

ToolDescription
batch_executeExecute up to 10 ops in one transaction
confirm_transactionBroadcast pending transaction
reject_transactionCancel pending transaction
list_pending_transactionsList pending transactions

Prompts

PromptDescription
fix-issueComplete workflow: clone, branch, fix, test, PR
review-prReview a pull request: inspect, comment, approve
hunt-bountyDiscover bounties, evaluate, claim, fix, submit

Security

  • Trust tiers gate tool access: readonly < localwrite < chainwrite
  • Rate limiting on chain-write operations (default 10/min, 100/hr)
  • Message allowlist only signs /gitopia.gitopia.gitopia.* and /cosmos.group.v1.*
  • Workspace isolation blocks path traversal attacks
  • Approval mode holds transactions for explicit confirmation before broadcast
  • Non-root Docker containers run as unprivileged user

See SECURITY.md for vulnerability reporting.

Configuration

VariableDefaultDescription
GITOPIA_MNEMONICauto-generatedBIP-39 wallet mnemonic
GITOPIA_GRPC_ENDPOINTSgitopia-grpc.polkachu.com:11390gRPC endpoints
TRUST_LEVELchainwritereadonly, localwrite, chainwrite
TOOLSETSallComma-separated toolsets to enable (see below)
DRY_RUNfalsePreview transactions without broadcasting
APPROVAL_MODEfalseRequire confirmation before chain writes
MCP_WORKSPACE_PATH~/.mcp/gitopia/workspaceWorkspace root
MCP_LOG_LEVELinfoLog level
TRANSPORTstdiostdio or http
PORT8080HTTP listen port (when TRANSPORT=http)

See env.example for the full list.

Toolsets

Control which tools are exposed to the MCP client. Useful for reducing context window usage in AI assistants.

ToolsetToolsDescription
core52All tools except workflow orchestrators (always included)
workflow5bootstrap_repo, create_feature_branch, create_feature_branch_pr, update_feature_branch, commit_and_push_changes
  • TOOLSETS=all (default): All 57 tools
  • TOOLSETS=core: 52 tools (hides workflow orchestrators)
  • TOOLSETS=core,workflow: Same as all

For Claude Code users, TOOLSETS=core is recommended since Claude can orchestrate git operations natively.

Development

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Gitopia MCP Server

It connects to Gitopia, a decentralized Git platform with on-chain governance, bounties, and DAOs.

A wallet is auto-generated on first use. An existing wallet can be supplied through the GITOPIA_MNEMONIC environment variable.

Yes. It can clone repositories to a workspace, create feature branches, push commits, and read files without cloning.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGitopia MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gitopia-gitopia-mcp-server?style=directory)](https://allmcps.com/mcp/gitopia-gitopia-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/gitopia-gitopia-mcp-server"><img src="https://allmcps.com/api/badge/gitopia-gitopia-mcp-server?style=directory" alt="Gitopia MCP Server on AllMCPs" /></a>