Home / MCP / Devin MCP Server

Devin MCP Server

MCP server enabling Devin AI and Slack integration for session management, messaging, and Slack thread synchronization.

typescript
Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
    "mcpServers": {
        "devin": {
            "command": "node",
            "args": [
                "/path/to/mcp-devin/build/index.js"
            ],
            "env": {
                "DEVIN_API_KEY": "YOUR_DEVIN_API_KEY",
                "DEVIN_ORG_NAME": "Your Organization",
                "DEVIN_BASE_URL": "https://api.devin.ai/v1",
                "SLACK_BOT_TOKEN": "xoxb-your-slack-bot-token",
                "SLACK_DEFAULT_CHANNEL": "general"
            }
        }
    }
}

You run an MCP server that bridges Devin AI with Slack, enabling you to create Devin sessions, post tasks to Slack, and keep Slack threads in sync with Devin conversations. This server provides practical automation for your Devin workflows within Slack channels and threads.

How to use

Create Devin sessions and post tasks to Slack, then send messages to the Devin session that optionally appear in Slack threads. Retrieve session details, including Slack message history, and list all active Devin sessions. You can also fetch information about your Devin organization. Use these capabilities to streamline task assignment and collaboration between Devin and your Slack team.

Key workflows you can perform include: creating a Devin session which automatically posts a task to a designated Slack channel with an @Devin mention; sending messages to a Devin session and optionally posting them to the associated Slack thread; and querying session details or the organization information to monitor activity across Devin sessions.

How to install

Prerequisites you need before installing and running the server are Node.js, and a package manager such as npm or pnpm.

pnpm install
pnpm run build

For development with auto-rebuild, run the following to watch for changes and rebuild automatically.

pnpm run watch

Configuration

Configure the MCP server to run with the required environment and startup command. The following configuration starts the server using Node and points to the built index file. It also defines the necessary environment variables for Devin and Slack integration.

"devin-mono": {
  "command": "node",
  "args": ["/path/to/mcp-devin/build/index.js"],
  "env": {
    "DEVIN_API_KEY": "your-devin-api-key",
    "DEVIN_ORG_NAME": "Your Organization",
    "SLACK_BOT_TOKEN": "xoxb-your-slack-bot-token",
    "SLACK_DEFAULT_CHANNEL": "general"
  }
}

Security and environment

Set the required environment variables to enable Devin and Slack integration securely. Keep your Devin API key and Slack bot token secret, and restrict access to the server configuration where these values are stored.

Debugging

If you need to debug, use the MCP Inspector tool to access debugging utilities in your browser. Run the inspector script to start the inspector server and obtain a URL for debugging.

pnpm run inspector

Available tools

create_devin_session

Create a new Devin session and post to Slack, returning session details and Slack message information.

send_message_to_session

Send a message to a Devin session with optional Slack thread posting and Slack thread synchronization.

get_devin_session

Retrieve Devin session details with optional Slack message history.

list_devin_sessions

List all Devin sessions.

get_organization_info

Get information about your Devin organization.