loading…
Search for a command to run...
loading…
Connects Claude to Diversion version control API enabling repository management, branch operations, commit tracking, and code reviews through natural language.
Connects Claude to Diversion version control API enabling repository management, branch operations, commit tracking, and code reviews through natural language. Supports workspace monitoring, file history, and collaborator access with flexible API key authentication.
MCP server untuk connect Claude dengan Diversion version control API.
| Tool | Description |
|---|---|
test_auth |
Test API token |
list_repos |
List semua repos |
get_repo |
Get details sesebuah repo |
list_branches |
List branches dalam repo |
create_branch |
Buat branch baru |
get_branch |
Get details sesebuah branch |
list_commits |
List commits |
get_commit |
Get details sesebuah commit |
list_workspaces |
List workspaces |
workspace_status |
Check workspace status (modified files) |
get_file_tree |
Get file tree sesebuah repo |
get_file_history |
Get commit history untuk file tertentu |
list_reviews |
List reviews/PRs |
list_collaborators |
List collaborators |
git init
git add .
git commit -m "init diversion mcp server"
gh repo create diversion-mcp --public --push
diversion-mcpDIVERSION_API_KEY = (API key kau, optional — boleh pass per-request)https://xxx.railway.app)https://xxx.railway.app/mcpAuthorizationBearer <DIVERSION_API_KEY_KAU>npm install && npm run buildnpm startDIVERSION_API_KEY=<token_kau>/mcp → letak dalam Claude connectorsnpm install
npm run dev
Server akan run kat http://localhost:3000/mcp
Untuk test, gunakan MCP Inspector atau curl:
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <DIVERSION_API_KEY>" \
-d '{"jsonrpc":"2.0","method":"tools/list","id":1}'
Server support dua cara auth:
Authorization: Bearer <token> dalam setiap request (recommended, lebih secure)DIVERSION_API_KEY dan server akan guna tu kalau header tak adaДобавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"diversion-mcp-server": {
"command": "npx",
"args": []
}
}
}