devto-mcp
Enables managing a Dev.to account from Claude or any MCP client, including browsing articles, creating/editing posts, and reading comments. Uses the official Forem API with a personal API key.
README
devto-mcp
An MCP (Model Context Protocol) server for managing a Dev.to account from Claude (or any MCP-compatible client): browse articles, read your own drafts/published posts, create and edit articles, and read comments. Uses Dev.to's official Forem API v1 with a personal API key — no OAuth app, no approval process.
The original one-off publish.js CLI script is still here and still works if you just want to
publish a single article from the terminal without going through Claude.
Setup
- Clone the repo and install dependencies:
git clone https://github.com/AhmadTariq1337/devto-mcp.git cd devto-mcp npm install - Copy
.env.exampleto.envand add your API key (get one from dev.to/settings/extensions):cp .env.example .env - Register it as an MCP server in your client's config. For Claude Desktop
(
claude_desktop_config.json):"devto": { "command": "node", "args": ["/absolute/path/to/devto-mcp/index.js"] } - Restart Claude Desktop (fully quit from the tray, not just close the window) so it picks up the new server.
Tools exposed
| Tool | Does |
|---|---|
devto_list_articles |
Browse the public feed (by tag, author, or top-of-period) |
devto_get_article |
Get one article's full content by id |
devto_get_my_articles |
List your own published/unpublished/all articles |
devto_get_profile |
Get your profile info |
devto_create_article |
Create a new article (draft or published) |
devto_update_article |
Edit an existing article you own |
devto_get_comments |
Get an article's threaded comments |
Standalone CLI (no Claude needed)
Write an article as markdown in articles/, then:
node publish.js "Your Article Title" articles/your-article.md tag1,tag2,tag3
Saves as a draft by default. Preview at https://dev.to/dashboard, then re-run with
--publish added to make it live. (npm run publish-article -- "Title" articles/file.md works
the same way.)
Security
.envholds your real API key and is gitignored — never commit it.- Drafts are private until explicitly published, so it's safe to experiment freely with
devto_create_article.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.