devin-api-mcp
This server offers comprehensive access to the Devin API for managing sessions, knowledge, playbooks, secrets, schedules, attachments, tags, and insights (using personal or service API keys). It also provides read-only DeepWiki tools to ask AI-powered, context-grounded questions about one or more GitHub repositories (up to 10 at once), and to retrieve their documentation structure and contents.
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., "@devin-api-mcp list my recent Devin sessions"
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-api-mcp
A single devin-api MCP server providing full Devin API coverage — manage sessions, knowledge, playbooks, secrets, schedules, and attachments programmatically from any MCP client — plus the read-only DeepWiki documentation tools (ask_question, read_wiki_structure, read_wiki_contents).
Unlike the hosted Devin MCP, which routes all operational tools through the v3 API (rejecting personal apk_ keys, so sessions can't be attributed to the dispatching user), this server backs the core tools with the v1 API and your personal key — sessions show up in your Devin dashboard.
The workflow
The intended shape: a local agent (Claude Code, Codex, …) does the thinking on your machine — planning, design, review — consulting DeepWiki as an on-demand codebase expert, then delegates well-scoped implementation tasks to Devin cloud sessions and gathers the results.
flowchart LR
subgraph local["🖥️ Your machine"]
agent["Claude Code / Codex<br/><i>planning · design · review</i>"]
end
subgraph cloud["☁️ Devin cloud"]
wiki["DeepWiki<br/><i>codebase expert</i>"]
d1["Devin session"]
d2["Devin session"]
end
agent <-- "ask_question<br/>read_wiki_*" --> wiki
agent -- "create_session<br/>send_message" --> d1
agent -- "delegate scoped tasks" --> d2
d1 -- "gather_sessions → PRs, results" --> agentRelated MCP server: deAPI MCP Server
Quickstart
Claude Code:
claude mcp add -s user -e DEVIN_PERSONAL_API_KEY=<your-personal-key> -- devin-api npx -y -p @jsklan/devin-api-mcp devin-apiCodex:
codex mcp add devin-api --env DEVIN_PERSONAL_API_KEY=<your-personal-key> -- npx -y -p @jsklan/devin-api-mcp devin-apiGemini CLI:
gemini mcp add -e DEVIN_PERSONAL_API_KEY=<your-personal-key> devin-api npx -y -p @jsklan/devin-api-mcp devin-apiGet your personal key (apk_user_ prefix) from app.devin.ai → Settings → API Keys. Optionally add a second DEVIN_SERVICE_API_KEY=<org-service-key> env var (cog_ prefix, from org settings) to also enable the v3 organization tools (schedules, insights, archive, message history).
The server documents itself
Full setup, credential, and configuration docs are built into the server — no need to keep this README open:
Installed with no keys at all, the server starts in setup mode: it exposes a single
get_setup_docstool and instructs the connected agent to walk you through obtaining and configuring credentials. So the zero-knowledge onboarding path is just: install, connect, ask your agent to set it up.With keys configured,
get_setup_docsremains available for reference (adding the second key, migrating configs, other MCP clients, plugin install).
To install as a Claude Code plugin instead: /plugin → Marketplaces → add jsklan/devin-api-mcp → install devin-api (keys via environment variables, same as above).
What you get
Which tools are registered depends on which keys are set; tools whose backing key is absent are simply not registered — nothing shows up broken.
Personal key (
DEVIN_PERSONAL_API_KEY,apk_user_;DEVIN_API_KEYaccepted as fallback) — sessions (create/list/get/message/gather/terminate/tag), knowledge, playbooks, secrets, attachment upload, plus the three DeepWiki docs tools (proxied tomcp.devin.aiwith your key, so private repos work).Service key (
DEVIN_SERVICE_API_KEY,cog_) — the v3-exclusive organization tools: schedules, session insights, archive/delete, paginated message history, tag management, attachment download.Attribution rule: with both keys, capabilities that exist in both APIs stay backed by v1 + your personal key so sessions remain user-attributed; the service key only adds its exclusives.
Run get_setup_docs (or read src/setup-docs.ts) for the full breakdown.
Deprecated aliases
deepwiki(standalone docs-only proxy server) — merged intodevin-apiin 1.1.0. The bin still works but prints a deprecation warning; remove the separatedeepwikientry from your MCP config.devin-api-v1/devin-api-v3— unified intodevin-apiin 1.0.0; both aliases launch the unified server.
Tool names are unchanged in both migrations, so existing prompts and automations keep working. Aliases will be removed in a future major version.
API Coverage
The v1 tool set wraps the Devin REST API v1.
The v3 tool set wraps the Devin REST API v3 organization endpoints (
org_idauto-discovered at startup via/v3/self). Enterprise (/v3/enterprise/...) and beta (/v3beta1/...) endpoints are intentionally excluded.The DeepWiki tools proxy to the upstream Devin MCP server (
DEEPWIKI_UPSTREAM_URL, defaulthttps://mcp.devin.ai/mcp; optionalDEVIN_ORG_IDheader).
Written in TypeScript with Zod schema validation.
License
MIT
Available Tools
3 toolsask_questionA
Ask any question about a GitHub repository and get an AI-powered, context-grounded response.
Inputs: question (required), repoName (required). Returns: result
read_wiki_contentsC
View documentation about a GitHub repository.
Inputs: repoName (required). Returns: result
read_wiki_structureA
Get a list of documentation topics for a GitHub repository.
Inputs: repoName (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool serves a distinct purpose: ask_question provides AI-powered answers, read_wiki_contents retrieves full documentation, and read_wiki_structure lists available topics. There is no meaningful overlap between asking questions and reading wiki docs.
All tools follow a consistent verb_noun pattern: ask_question, read_wiki_contents, read_wiki_structure. Naming is uniform and predictable.
With only three tools, the server is tightly scoped to AI-powered repository Q&A and wiki access. This is well within the ideal range and each tool is essential to the core purpose.
The set covers the primary workflows: asking questions and reading wiki documentation. A minor gap is the lack of functionality beyond wiki content (e.g., general repository file browsing), but for the stated AI Q&A focus it is sufficient.
Maintenance
Related MCP Connectors
Agent-native notes, tasks, dev-docs, vaults, sync & handoffs. MCP + OpenAPI dual surface.
Host any HTTP API as a standard MCP server; auto-distribute to 12+ mainstream agent platforms.
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Related MCP Servers
- FlicenseAqualityDmaintenanceMCP server for creating, monitoring, and managing Devin AI sessions.41-

deAPI MCP Serverofficial
AlicenseBqualityBmaintenanceOfficial MCP server for deAPI. 39 tools for image and video generation, image editing, background removal and upscaling, text-to-speech, music generation, transcription of audio, video files and video links, OCR, video description and embeddings. Requires a deAPI API key.391MIT- AlicenseNot gradedqualityBmaintenanceEnables external MCP clients to drive DeepSeek Harness agents for real coding tasks, providing tools for task execution and queueing, session management, sandboxed file access, preset switching, and usage statistics.389 npm8GPL 3.0
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to discover and create agents, durably submit messages with verifiable replies, and search source-linked local memory. Exposes eight authenticated tools with owner-approved OAuth, transcript-backed verification, and explicit control over history import and embedding.MIT