Get up and running with the Gitopia MCP Server in 5 minutes.
- One of: Docker (recommended), Go 1.25+, or a pre-built binary
- No wallet needed — a wallet is auto-generated on first use
docker pull ghcr.io/gitopia/gitopia-mcp-server:latestRequires git-remote-gitopia for git clone/push: curl https://get.gitopia.com | bash
go install github.com/gitopia/gitopia-mcp-server/cmd/server@latestRequires git-remote-gitopia for git clone/push: curl https://get.gitopia.com | bash
git clone https://github.com/gitopia/gitopia-mcp-server.git
cd gitopia-mcp-server
make buildNo configuration is required for basic usage. A wallet is auto-generated on first use and saved to ~/.mcp/gitopia/config/wallet.key.
To use an existing wallet, set your mnemonic as an environment variable:
export GITOPIA_MNEMONIC="your twelve or twenty-four word mnemonic phrase here"Optional configuration (see env.example for all options):
export GITOPIA_GRPC_ENDPOINTS="gitopia-grpc.polkachu.com:11390" # default
export MCP_WORKSPACE_PATH="$HOME/.mcp/gitopia/workspace" # default
export TRUST_LEVEL="chainwrite" # readonly | localwrite | chainwrite./serverdocker run -i ghcr.io/gitopia/gitopia-mcp-server:latestSee the README for Claude Code, Cursor, VS Code, Windsurf, and Claude Desktop configurations.
Once connected, try these tools in order:
-
Discover your identity
Tool: get_user_contextReturns your username, wallet address, and available DAOs. On first use, the server auto-generates a wallet and creates an on-chain user.
-
Browse repositories
Tool: list_repos Params: {"owner": "gitopia"} -
Create a repository
Tool: create_repo Params: {"name": "my-first-repo"}If
owner_idis omitted, uses your current identity. -
Create an issue
Tool: create_issue Params: {"owner": "your-username", "name": "my-first-repo", "title": "Hello world", "description": "First issue"} -
Browse commit history
Tool: list_commits Params: {"owner": "gitopia", "name": "gitopia"}If
branchis omitted, uses the repo's default branch. -
Discover bounties
Tool: list_bounties -
Look up a DAO
Tool: get_dao Params: {"id": "gitopia"}Returns group_id and group_policy_address needed for governance tools.
A typical agent workflow for finding and working on bounties:
1. list_bounties -> Find open bounties
2. get_bounty -> Get bounty details (amount, expiry)
3. get_issue -> Read the linked issue
4. git_clone -> Clone the repository
5. (use your editor's built-in tools to understand the codebase)
6. create_feature_branch_pr -> Make changes and open a PR
7. comment_on_issue -> Report progress on the issue
Control what the server can do by setting TRUST_LEVEL:
| Level | Capabilities |
|---|---|
readonly |
Query tools only (list, get, search, read) |
localwrite |
+ Local git/file operations (clone, commit, write) |
chainwrite |
+ On-chain transactions (create repo, issue, PR, bounty) |
- See Configuration Guide for advanced settings
- See Installation Guides for platform-specific setup