Diversion MCP Server
Click on "Deploy 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 |
Related MCP server: MCP Git/PR Assist
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 deployed
Maintenance
Related MCP Connectors
Build and supervise fleets of agents from Claude Code, Codex or Cursor. Connects over OAuth.
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Plan Salesforce deploys, open pull requests and trigger pipelines from your AI client.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceConnects Claude Desktop to GitHub repositories, enabling users to perform git operations and GitHub API interactions through natural conversation.256 npm-
- -licenseNot gradedqualityNot gradedmaintenanceEnables Git and GitHub pull request operations through Claude AI, including repository management, branch operations, commits, and PR creation/commenting. Streamlines development workflows by providing Git commands and GitHub API integration through natural language interactions.-
- FlicenseNot gradedqualityDmaintenanceEnables Claude to interact with git repositories by providing real-time access to repository status, branch information, commit history, and file changes. Allows users to query their git workspace through natural language commands.-
- FlicenseAqualityDmaintenanceEnables Claude to access and manage GitHub repositories dynamically at runtime, including private repos, with tools for browsing files, searching code, and viewing commits, pull requests, and issues.111-