Skip to main content
The Devin MCP server provides programmatic access to Devin’s platform capabilities for both private and public repositories. Beyond repository documentation and search, it gives any MCP-compatible AI agent or IDE full access to session management, playbooks, knowledge, and scheduling.
Any Devin session or MCP-compatible client can create sessions, manage playbooks and knowledge, set up schedules, and more. See Advanced Capabilities for details on what Devin can do.

What is MCP?

The Model Context Protocol (MCP) is an open standard that enables AI apps to securely connect to MCP-compatible data sources and tools. You can think of MCP like a USB-C port for AI applications — a standardized way to connect AI apps to different services.

Devin MCP Server

The Devin MCP server is an authenticated service that provides access to both public and private repositories, plus full platform management capabilities. Base Server URL: https://mcp.devin.ai/

Authentication Required

To use the Devin MCP server, you need a Devin API key:
  1. Sign up for a Devin account at Devin.ai
  2. Generate an API key from your account settings
  3. Include the API key in your MCP client configuration

Available Tools

Repository Documentation

These tools let you explore and query documentation for any GitHub repository (public or private with authentication):
ToolDescription
read_wiki_structureGet a list of documentation topics for a GitHub repository
read_wiki_contentsView full documentation about a GitHub repository
ask_questionAsk any question about one or more repositories (up to 10) and get an AI-powered, context-grounded response
list_available_reposList all repositories available to query with your Devin account

Session Management

Create, search, inspect, and control Devin sessions programmatically:
ToolDescription
devin_session_createCreate one or more Devin sessions. Each session can have a prompt, title, playbook, tags, and ACU limit
devin_session_searchSearch and filter sessions by tags, playbook, origin, schedule, user, or creation/update time
devin_session_interactInteract with a session — get status, send messages, sleep, terminate, archive, read messages and attachments, or manage tags
devin_session_eventsInspect events within a session — list summaries, fetch full event details, or search event contents by text
devin_session_gatherWait for multiple sessions to reach a settled state (finished, errored, sleeping, or waiting) before returning. Useful after creating parallel sessions instead of polling in a loop

Playbook Management

Create and manage playbooks that standardize how Devin performs tasks:
ToolDescription
devin_playbook_manageList, get, create, update, or delete playbooks. Supports automation macros (e.g. !my_macro)

Knowledge Management

Maintain your organization’s knowledge base that Devin uses for context:
ToolDescription
devin_knowledge_manageFull CRUD for knowledge notes — list, get, create, update, delete, browse folder structure. Also manage knowledge suggestions — list, view, and dismiss pending suggestions. Supports filtering by repo, folder, and search queries

Schedule Management

Set up recurring or one-time scheduled Devin sessions:
ToolDescription
devin_schedule_manageList, get, create, update, or delete schedules. Supports cron expressions for recurring schedules, one-time scheduling, notification preferences, and agent selection

Integration Management

View and manage your organization’s native integrations and MCP servers:
ToolDescription
list_integrationsList all native integrations (e.g. GitHub, Jira, Slack) and MCP servers with their install status and settings URLs. Filter by installed, not installed, or all

Wire Protocols

The Devin MCP server supports Streamable HTTP:
  • URL: https://mcp.devin.ai/mcp
  • Works with HTTP-compatible clients
  • Recommended for all integrations
The legacy SSE (/sse) endpoint has been deprecated. Use the /mcp endpoint instead.

Key Differences from DeepWiki MCP

FeatureDeepWiki MCPDevin MCP
AuthenticationNone requiredAPI key required
Repository AccessPublic repositories onlyPublic and private repositories
Platform ManagementNot availableSessions, playbooks, knowledge, schedules, integrations
Base URLhttps://mcp.deepwiki.com/https://mcp.devin.ai/
CostFreeRequires Devin account

Setup Instructions

For most clients (e.g. Windsurf):

{
  "mcpServers": {
    "devin": {
      "serverUrl": "https://mcp.devin.ai/mcp",
      "headers": {
        "Authorization": "Bearer <API_KEY>"
      }
    }
  }
}

For Claude Code:

claude mcp add -s user -t http devin https://mcp.devin.ai/mcp -H "Authorization: Bearer <API_KEY>"