Installation

Install and configure devto in under two minutes.

Step 1: Install the package

bash
npm install -g devto-mcp

This installs the devto CLI globally and registers the MCP server that Claude Code will use.

Step 2: Authenticate

bash
devto login

Opens your browser to authenticate with your devto account via Clerk. After signing in, your API key is stored locally at ~/.devto/config.json.

Step 3: Set your Anthropic key

bash
devto config set anthropic-key sk-ant-api03-xxxxxxxxxxxx

This key is used locally by Claude Code for AI-powered planning. It never leaves your machine or passes through devto servers. You can get an API key from console.anthropic.com.

Step 4: Link your project

bash
cd /path/to/your/project
devto init

This creates a .devto.json file in your project root that ties this directory to a devto workspace. The file contains your workspace URL, project key, and provider type.

Step 5: Restart Claude Code

Restart Claude Code to pick up the new MCP server. Once restarted, Claude Code has access to all 44 devto tools. You can verify by asking Claude: "What devto tools do you have?"

Verify installation

bash
# Check everything is connected
devto doctor

The doctor command checks your API key, workspace connection, Anthropic key, and MCP server status. Every check should show a green checkmark.