Devin 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., "@Devin MCP Servercreate a new Devin session to fix issue #42"
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.
Devin MCP Server
A Python MCP (Model Context Protocol) server that wraps all three Devin API versions (v1, v2, v3beta1) with multi-organisation support.
Features
All API versions: v1 (org-scoped), v2 (enterprise admin), v3beta1 (RBAC/service users)
Multi-org: Route requests to different organisations via the
orgparameterConfig-driven: JSON config file for PAT tokens (excluded from source control)
Conditional registration: Only registers tools for API versions you have tokens for
Related MCP server: Nullplatform API MCP
Setup
1. Install dependencies
cd devin-mcp
pip install -e .
# or
pip install -r requirements.txt2. Create config file
Copy the example and fill in your tokens:
cp config.example.json config.jsonEdit config.json:
{
"default_org": "my-org",
"organizations": {
"my-org": {
"description": "Primary organisation",
"tokens": {
"v1": "apk_user_YOUR_V1_TOKEN",
"v2": "apk_user_YOUR_V2_ENTERPRISE_ADMIN_TOKEN",
"v3": "cog_YOUR_V3_SERVICE_USER_TOKEN"
}
},
"other-org": {
"description": "Secondary organisation",
"tokens": {
"v1": "apk_YOUR_OTHER_ORG_TOKEN"
}
}
}
}Note:
config.jsonis in.gitignoreand will not be committed.
You can also set DEVIN_MCP_CONFIG=/path/to/config.json to use a config file from any location.
3. Configure your MCP client
VS Code / Copilot
Add to your MCP settings (settings.json or .vscode/mcp.json):
{
"mcpServers": {
"devin": {
"command": "python",
"args": ["-m", "devin_mcp.server"],
"cwd": "/path/to/devin-mcp/src"
}
}
}Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"devin": {
"command": "python",
"args": ["-m", "devin_mcp.server"],
"cwd": "/path/to/devin-mcp/src"
}
}
}Or using the installed entry point:
{
"mcpServers": {
"devin": {
"command": "devin-mcp"
}
}
}Available Tools
v1 Tools (Org-Scoped)
Tool | Description |
| Create a new Devin session |
| Get session details by ID |
| List sessions |
| Send a message to an active session |
| Update session tags |
| Upload a file for use in sessions |
| List org secret metadata |
| Create a secret |
| Delete a secret |
| List knowledge items |
| Create a knowledge item |
| Delete a knowledge item |
| List playbooks |
| Create a playbook |
| Delete a playbook |
v2 Tools (Enterprise Admin)
Tool | Description |
| List organisations |
| Create an organisation |
| List members |
| Invite members |
| Get session insights |
| Get billing cycles |
| Get audit logs |
| Get analytics metrics |
| List service API keys |
| List IdP groups |
| List enterprise playbooks |
| Set git repo permissions |
v3 Tools (RBAC / Service Users)
Tool | Description |
| Get authenticated service user info |
| List organisations |
| Get organisation details |
| List org sessions |
| Get session details |
| Create a session |
| Message a session |
| Terminate a session |
| Archive a session |
| List enterprise service users |
| Create enterprise service user |
| List org service users |
| Get audit logs |
| Get billing cycles |
| Get daily consumption |
| List enterprise knowledge |
| List org knowledge |
| List enterprise playbooks |
| List org playbooks |
| List org secrets |
| List git connections |
| List git permissions |
| List enterprise users |
| List org users |
| List IdP groups |
| List roles |
| Get usage metrics |
| Get queue status |
| List org session tags |
Multi-Organisation Usage
Every tool accepts an optional org parameter. When omitted, the default_org from config is used.
"Create a Devin session in my-org to review PR #42"
→ Uses default org token
"List sessions in other-org"
→ Routes to other-org's tokenToken Types
API Version | Token Prefix | Type |
v1 |
| Personal or Service API Key |
v2 |
| Enterprise Admin Personal Key |
v3 |
| Service User Credential |
This server cannot be installed
Maintenance
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
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ldastey-dev/devin-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server