devin-api-mcp
Provides full Devin API coverage via MCP servers, enabling programmatic management of sessions, knowledge, playbooks, secrets, schedules, and attachments, plus a documentation-only DeepWiki proxy.
README
devin-api-mcp
MCP servers providing full Devin API coverage — manage sessions, knowledge, playbooks, secrets, schedules, and attachments programmatically from any MCP client — plus a documentation-only DeepWiki proxy.
The hosted Devin MCP server bundles documentation lookups together with session/platform management in one server. This package splits those concerns: the devin-api-* servers give you everything except docs, and the deepwiki proxy gives you docs only (so it can't be confused for a delegation tool).
Servers
This package exposes three MCP servers:
-
devin-api-v1 — Legacy v1 API (19 tools). Uses a personal API key (
apk_user_prefix). -
devin-api-v3 — v3 Organization API (33 tools). Uses a service user key (
cog_prefix). Auto-discovers yourorg_idat startup via/v3/self. -
deepwiki — a read-only proxy to the upstream Devin MCP (
https://mcp.devin.ai/mcp, personal key) that re-exposes ONLYask_question,read_wiki_structure, andread_wiki_contents. Private repos work (it authenticates with your personal key), but session/platform tools are filtered out — there is no way to create or manage a Devin session through it. Set the upstream withDEEPWIKI_UPSTREAM_URL(defaulthttps://mcp.devin.ai/mcp) and optionallyDEVIN_ORG_ID.{ "mcpServers": { "deepwiki": { "command": "npx", "args": ["-y", "-p", "@jsklan/devin-api-mcp", "deepwiki"], "env": { "DEVIN_PERSONAL_API_KEY": "your_personal_key_here" } } } }
Setup
1. Get your API keys
Follow the Devin API authentication guide to generate your keys:
| Server | Environment Variable | Key Prefix | Where to Get It |
|---|---|---|---|
| v1 | DEVIN_PERSONAL_API_KEY |
apk_user_ |
Devin account settings |
| v3 | DEVIN_SERVICE_API_KEY |
cog_ |
Devin organization settings |
Note: The v1 server also accepts
DEVIN_API_KEYas a fallback for backward compatibility.
2. Register with Claude Code
# v1 (personal API — sessions, knowledge, playbooks, secrets, attachments)
claude mcp add -s user -e DEVIN_PERSONAL_API_KEY=<your-personal-key> -- devin-api-v1 npx -y -p @jsklan/devin-api-mcp devin-api-v1
# v3 (organization API — adds schedules, more session tools)
claude mcp add -s user -e DEVIN_SERVICE_API_KEY=<your-service-key> -- devin-api-v3 npx -y -p @jsklan/devin-api-mcp devin-api-v3
Alternative: Install as a Claude Code plugin
- Run
/pluginin Claude Code - Go to Marketplaces → + Add Marketplace
- Enter
jsklan/devin-api-mcp - Go to Discover, find devin-api, and install it
Make sure DEVIN_PERSONAL_API_KEY and/or DEVIN_SERVICE_API_KEY are set in your environment. The plugin will start the MCP servers automatically and stay up to date.
3. Register with other MCP clients
Add to your MCP config (e.g. mcp.json):
{
"mcpServers": {
"devin-api-v1": {
"command": "npx",
"args": ["-y", "-p", "@jsklan/devin-api-mcp", "devin-api-v1"],
"env": {
"DEVIN_PERSONAL_API_KEY": "your_personal_key_here"
}
},
"devin-api-v3": {
"command": "npx",
"args": ["-y", "-p", "@jsklan/devin-api-mcp", "devin-api-v3"],
"env": {
"DEVIN_SERVICE_API_KEY": "your_service_key_here"
}
}
}
}
Tools
v1 Server (19 tools)
Sessions
| Tool | Description |
|---|---|
create_session |
Start a new Devin session with a prompt (supports playbooks, tags, knowledge, secrets, structured output) |
list_sessions |
List recent sessions with status and metadata (filterable by tags, user) |
get_session |
Get session details including messages and structured output |
send_message |
Send a follow-up message to a running session |
terminate_session |
Stop a running session |
update_session_tags |
Replace tags on a session |
Knowledge
| Tool | Description |
|---|---|
list_knowledge |
List all knowledge entries and folders |
create_knowledge |
Create a knowledge entry (teaches Devin domain-specific info) |
update_knowledge |
Update an existing knowledge entry |
delete_knowledge |
Permanently delete a knowledge entry |
Playbooks
| Tool | Description |
|---|---|
list_playbooks |
List available playbooks (titles and IDs) |
get_playbook |
Get full playbook details |
create_playbook |
Create a new team playbook |
update_playbook |
Update an existing playbook |
delete_playbook |
Delete a team playbook |
Secrets
| Tool | Description |
|---|---|
list_secrets |
List secret metadata (values are never returned) |
create_secret |
Create a new encrypted secret |
delete_secret |
Permanently delete a secret |
Attachments
| Tool | Description |
|---|---|
upload_attachment |
Upload a file for use in sessions (returns URL for ATTACHMENT:"<url>" format) |
v3 Server (33 tools)
The v3 server includes all the same categories as v1 (with expanded session tools) plus schedules and an additional attachment tool. All operations are scoped to your organization.
Sessions (14 tools)
Expanded session management including listing by status, bulk operations, and session events.
Knowledge (4 tools)
Same as v1 — list, create, update, delete.
Playbooks (5 tools)
Same as v1 — list, get, create, update, delete.
Secrets (3 tools)
Same as v1 — list, create, delete.
Schedules (5 tools)
| Tool | Description |
|---|---|
list_schedules |
List scheduled Devin sessions |
get_schedule |
Get schedule details |
create_schedule |
Create a recurring scheduled session |
update_schedule |
Update an existing schedule |
delete_schedule |
Delete a schedule |
Attachments (2 tools)
Upload and manage files for use in sessions.
API Coverage
- v1 server wraps the Devin REST API v1 — 19 tools across 5 categories.
- v3 server wraps the Devin REST API v3 — 33 tools across 6 categories. Enterprise (
/v3/enterprise/...) and beta (/v3beta1/...) endpoints are intentionally excluded.
Written in TypeScript with Zod schema validation.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。