Diversion MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Diversion MCP Servershow me which files I've modified in my workspace"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Diversion MCP Server
MCP server untuk connect Claude dengan Diversion version control API.
Tools Available
Tool | Description |
| Test API token |
| List semua repos |
| Get details sesebuah repo |
| List branches dalam repo |
| Buat branch baru |
| Get details sesebuah branch |
| List commits |
| Get details sesebuah commit |
| List workspaces |
| Check workspace status (modified files) |
| Get file tree sesebuah repo |
| Get commit history untuk file tertentu |
| List reviews/PRs |
| List collaborators |
Deploy ke Railway (Paling Mudah)
1. Push ke GitHub dulu
git init
git add .
git commit -m "init diversion mcp server"
gh repo create diversion-mcp --public --push2. Deploy kat Railway
Pergi https://railway.app
New Project → Deploy from GitHub repo
Pilih repo
diversion-mcpAdd environment variable:
DIVERSION_API_KEY= (API key kau, optional — boleh pass per-request)
Railway auto-detect Node.js dan build sendiri
Copy URL yang Railway bagi (format:
https://xxx.railway.app)
3. Tambah dalam Claude
Pergi Settings → Connectors → Add custom connector
URL:
https://xxx.railway.app/mcpDalam Advanced Settings, letak Authorization header:
Key:
AuthorizationValue:
Bearer <DIVERSION_API_KEY_KAU>
Save ✅
Deploy ke Render (Free Tier Available)
Push ke GitHub
Pergi https://render.com → New Web Service
Connect GitHub repo
Settings:
Build Command:
npm install && npm run buildStart Command:
npm startEnvironment:
DIVERSION_API_KEY=<token_kau>
Copy URL → tambah
/mcp→ letak dalam Claude connectors
Run Locally (Testing)
npm install
npm run devServer 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}'Authentication
Server support dua cara auth:
Per-request — Pass
Authorization: Bearer <token>dalam setiap request (recommended, lebih secure)Environment variable — Set
DIVERSION_API_KEYdan server akan guna tu kalau header tak ada
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/huazrickty/diversion-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server