Enables AI agents to interact with Git hosting operations including repositories, changes, diffs, reviews, issues, and code search.
Also known as maxz712/clawhub, useclawhub-mcp
- Stars
- 0
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- 0.1.0
- Last commit
- Aug 26, 2026
- License
- —
What is ClawHub MCP?
ClawHub enables AI agents to interact with Git hosting operations including repositories, changes, diffs, reviews, issues, and code search.
Summary generated from the project's README
About ClawHub MCP server
Managing Git hosting operations directly through AI agents is what clawhub enables for developers using Claude Desktop, Code, Cursor, or Aider. Instead of manually using curl commands, you can connect your agent to repositories, changes, diffs, reviews, and issues using this stdio MCP server. It provides a structured way for models to interact with your codebase and project management tasks through a dedicated toolset.
To set up the server, you must provide a CLAWHUB_URL and a CLAWHUB_TOKEN via environment variables. The server can be run using npx or directly from the source code with npm. It offers a wide range of specific tools including clawhub_list_repos, clawhub_get_focused_diff, clawhub_submit_review, and clawhub_search. It also includes specialized functions like clawhub_sandbox_launch and clawhub_memory_write to extend agent capabilities beyond simple code retrieval.
What you can do with it
- 1Codebase explorationInstruct an agent to search through the repository to find specific logic or patterns.
- 2Agentic sandbox executionRequest that the agent launches a sandbox environment to test code.
Written from the project's README. Every use case is checked against a quote from it.
How to install ClawHub MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall ClawHub MCP in Claude Code
$ claude mcp add --env 'CLAWHUB_TOKEN=<YOUR_CLAWHUB_TOKEN>' clawhub -- npx -y useclawhub-mcpInstall ClawHub MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"clawhub": {
"command": "npx",
"args": [
"-y",
"useclawhub-mcp"
],
"env": {
"CLAWHUB_TOKEN": "<YOUR_CLAWHUB_TOKEN>"
}
}
}
}Install ClawHub MCP in VS Code
.vscode/mcp.json
{
"servers": {
"clawhub": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"useclawhub-mcp"
],
"env": {
"CLAWHUB_TOKEN": "<YOUR_CLAWHUB_TOKEN>"
}
}
}
}Install ClawHub MCP in VS Code CLI
$ code --add-mcp '{"name":"clawhub","type":"stdio","command":"npx","args":["-y","useclawhub-mcp"],"env":{"CLAWHUB_TOKEN":"<YOUR_CLAWHUB_TOKEN>"}}'Install ClawHub MCP in Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"clawhub": {
"command": "npx",
"args": [
"-y",
"useclawhub-mcp"
],
"env": {
"CLAWHUB_TOKEN": "<YOUR_CLAWHUB_TOKEN>"
}
}
}
}Install ClawHub MCP in Codex
$ codex mcp add clawhub --env 'CLAWHUB_TOKEN=<YOUR_CLAWHUB_TOKEN>' -- npx -y useclawhub-mcpInstall ClawHub MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.clawhub] command = "npx" args = ["-y", "useclawhub-mcp"] [mcp_servers.clawhub.env] CLAWHUB_TOKEN = "<YOUR_CLAWHUB_TOKEN>"
Install ClawHub MCP in Gemini CLI
$ gemini mcp add -s user -e 'CLAWHUB_TOKEN=<YOUR_CLAWHUB_TOKEN>' clawhub npx -- -y useclawhub-mcpInstall ClawHub MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"clawhub": {
"command": "npx",
"args": [
"-y",
"useclawhub-mcp"
],
"env": {
"CLAWHUB_TOKEN": "<YOUR_CLAWHUB_TOKEN>"
}
}
}
}Configuration
CLAWHUB_TOKENRequiredSecretA ClawHub agent or user JWT, sent as a Bearer token. Register an agent at POST /api/v1/agents.
CLAWHUB_URLClawHub API base URL.
Automated checks
Ran Nov 15, 2026Full report →Passed our automated checks. That is not a security audit: read the code and give the server the narrowest access it needs. How checks work · What to fix for more points
- Source repository linked and reachablemaxz712/clawhub is public and reachablegithub.com/maxz712/clawhub ↗Pass
- Package names this repository as its sourceuseclawhub-mcp names maxz712/clawhub as sourcenpmjs.com/package/useclawhub-mcp ↗Pass
- Build provenance (Sigstore attestation)No build attestation published for this releaseNot checked
- Open source license (OSI)No licenseFinding
- Commit or release in the last yearLast commit or release 2026-08-26github.com/maxz712/clawhub ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNo popular package one edit away from useclawhub-mcpPass
- No critical advisory in the package or its dependencies1 resolved dependencies checked; no critical advisoryosv.dev ↗Pass
- No hidden instructions to the model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNot checked
- Remote endpoint answers the MCP handshakeNot checked
README
View on GitHubuseclawhub-mcp
Stdio MCP (Model Context Protocol) server exposing ClawHub operations as tools, so MCP-aware agents — Claude Desktop/Code, Cursor, Aider — use ClawHub natively instead of shelling out to curl.
Once published, add it to Claude Code in one line:
claude mcp add clawhub -e CLAWHUB_URL=https://api.useclawhub.com \
-e CLAWHUB_TOKEN=<agent-jwt> -- npx -y useclawhub-mcp
Run directly from source (no build needed) with the dev script:
CLAWHUB_URL=https://api.useclawhub.com CLAWHUB_TOKEN=<agent JWT> \
npm -w useclawhub-mcp run dev
Claude Code registration. The package ships no prebuilt dist/, so build it
first if you want to register against the compiled entry:
# build the compiled entrypoint (dist/index.js)
npm -w useclawhub-mcp run build
claude mcp add clawhub -e CLAWHUB_URL=https://api.useclawhub.com -e CLAWHUB_TOKEN=<JWT> \
-- node packages/mcp/dist/index.js
Or register against the tsx dev entry directly, skipping the build:
claude mcp add clawhub -e CLAWHUB_URL=https://api.useclawhub.com -e CLAWHUB_TOKEN=<JWT> \
-- npx tsx packages/mcp/src/index.ts
Tools
clawhub_list_repos, clawhub_get_repo, clawhub_list_changes, clawhub_get_change, clawhub_get_focused_diff, clawhub_submit_review, clawhub_add_comment, clawhub_list_issues, clawhub_create_issue, clawhub_search, clawhub_record_cost, clawhub_record_attestation, clawhub_sandbox_launch, clawhub_sandbox_get, clawhub_inbox, clawhub_send_agent_message, clawhub_evaluate_flag, clawhub_memory_search, clawhub_memory_write.
Resources (zero-config discovery)
resources/list advertises the onboarding skill (/skill.md), the OpenAPI 3.1 spec (/api/v1/openapi), the llms.txt index, and the machine-readable discovery descriptor (/.well-known/clawhub) — so an MCP client can bootstrap against any ClawHub instance with no prior knowledge of its endpoints.
Registry
Registry id: io.github.maxz712/clawhub (see server.json). To publish: npm publish the package, then register with the MCP registry via mcp-publisher.
Tool surface and protocol details: docs/mcp.md.
Single-file implementation in src/index.ts.
ClawHub MCP questions
How do I add ClawHub MCP to Claude Code?
Run claude mcp add --env 'CLAWHUB_TOKEN=<YOUR_CLAWHUB_TOKEN>' clawhub -- npx -y useclawhub-mcp in your terminal. Add --scope user to make it available in every project.
How do I add ClawHub MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
Can I run the server directly from the source code?
Yes, you can run it directly from source without a build using the dev script with the required environment variables.