Supercharge Cursor with decentralized Git operations and seamless Gitopia integration!
🏗️ Repository Management - Create, clone, and manage Gitopia repositories directly in Cursor
🔄 Git Operations - Full git workflow support with AI assistance
🎯 Issue & Bounty Management - Handle crypto-rewarded tasks programmatically
🌟 Advanced Workflows - Feature branches, PRs, and DAO operations
- 🐳 Docker installed and running
- No wallet needed — a wallet is auto-generated on first use
docker pull ghcr.io/gitopia/gitopia-mcp-server:latestOpen MCP Configuration File:
- macOS:
~/.cursor/mcp.json - Windows:
%APPDATA%\Cursor\mcp.json - Linux:
~/.config/cursor/mcp.json
Add Gitopia Configuration:
{
"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": {}
}
}
}Alternative: Native Binary
If you have the binary installed locally (via GitHub Releases or go install). Requires git-remote-gitopia for git clone/push (curl https://get.gitopia.com | bash):
{
"mcpServers": {
"gitopia": {
"command": "/path/to/gitopia-mcp-server",
"env": {
"TRUST_LEVEL": "chainwrite"
}
}
}
}Restart Cursor to load the new MCP server configuration.
- Workspace Mount:
${workspaceFolder}:/workspacemounts your Cursor project directory - Working Directory:
-w /workspacesets the container's working directory - MCP_WORKSPACE_PATH=/workspace: Points MCP at the mounted project directory
- File Sharing: Changes in Cursor immediately appear in MCP and vice versa
- All MCP operations use workspace-relative paths (e.g.,
myrepo/src/main.go) - Paths are resolved relative to your project root
- Security: Path traversal attacks are prevented
A new wallet is auto-generated on first use and saved to ~/.mcp/gitopia/config/wallet.key. To use an existing wallet, set GITOPIA_MNEMONIC in your shell environment — never hardcode it in config files.
GITOPIA_MNEMONIC- Your 24-word wallet mnemonic (optional — auto-generated if not set)GITOPIA_GRPC_ENDPOINT- Gitopia gRPC endpoint (optional)GIT_USER_NAME- Git commit author name (optional)GIT_USER_EMAIL- Git commit author email (optional)MCP_WORKSPACE_PATH=/workspace- Container workspace path
${HOME}/.mcp/gitopia:/home/mcp/.mcp/gitopia- Persistent meta directories (cache, config, logs)${workspaceFolder}:/workspace- Your project directory
- Ensure Docker has permission to access your project directory
- On macOS: Check Docker Desktop > Settings > Resources > File Sharing
- On Linux: Ensure proper file permissions
- The server automatically configures git authentication using your Gitopia wallet
- No additional git credentials needed for Gitopia repositories
- Use relative paths in MCP operations (e.g.,
myreponot/absolute/path/myrepo) - The server automatically resolves paths relative to your project root
Need help? Check the main troubleshooting guide or open an issue.