devto-mcp
Provides tools for managing a Dev.to account, including browsing articles, reading drafts and published posts, creating and editing articles, and reading comments.
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., "@devto-mcp create a draft article about MCP servers"
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.
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 installCopy
.env.exampleto.envand add your API key (get one from dev.to/settings/extensions):cp .env.example .envRegister 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.
Related MCP server: mcp-devto
Tools exposed
Tool | Does |
| Browse the public feed (by tag, author, or top-of-period) |
| Get one article's full content by id |
| List your own published/unpublished/all articles |
| Get your profile info |
| Create a new article (draft or published) |
| Edit an existing article you own |
| 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,tag3Saves 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
Available Tools
7 toolsdevto_create_articleCreate a Dev.to articleB
Create a new article, either as a public post or a private draft.
Inputs: title (required), bodyMarkdown (required), tags, series, +4 more.
devto_get_articleGet a Dev.to articleA
Fetch a single article's full content by its numeric id.
Inputs: id (required).
devto_get_commentsGet article commentsC
Get the threaded comments for an article.
Inputs: articleId (required).
devto_get_my_articlesGet my articlesB
List the authenticated account's own articles.
Inputs: page, state, perPage.
devto_get_profileGet my Dev.to profileA
Get the authenticated account's profile info.
Inputs: no named parameters.
devto_list_articlesBrowse Dev.to articlesC
Browse the public Dev.to feed, optionally filtered by tag, author, or top-of-period.
Inputs: tag, top, page, perPage, +1 more.
devto_update_articleUpdate a Dev.to articleB
Edit an existing article you own. Only the fields you provide are changed.
Inputs: id (required), tags, title, series, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct resource and action: browsing the public feed, fetching a single article, listing personal articles, getting profile info, creating, updating, and fetching comments. The descriptions clearly separate the public vs. authenticated scopes, so no ambiguity exists.
All tool names follow a consistent `devto_verb_noun` pattern in snake_case, with verbs like list, get, create, update. This makes the set predictable and easy to navigate.
Seven tools is well-scoped for a Dev.to server covering article retrieval, management, profile, and comments. Each tool has a clear purpose, and the count is neither sparse nor bloated.
The set covers the core article lifecycle (create, read, update, list) and comments, plus profile access. The only notable gap is a missing delete operation for articles, which agents might need for full content management but can work around.
Maintenance
Related MCP Connectors
Medium MCP server for ChatGPT, Claude and any AI agent: create post, edit post, cross-post article and get post stats in your own Medium account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Medium yourself; Cotlet does not store your password and you need no Medium API key. About the official Medium API: Medium has an old REST API, but it is no longer supported and Medium does not allow new integrations (checked 11 Oct 2026). Accounts that still hold a token can only create posts, list publications and upload images, with no editing, stats or responses. Setup and FAQ: https://cotlet.dev/integrations/medium-api-mcp-server
Run your social media from Claude, ChatGPT or any MCP client. Feedlio's MCP server lets your assistant list workspaces and connected accounts, add media, and create, edit, reschedule and cancel posts across 15 platforms, including Facebook, Instagram, LinkedIn, YouTube, TikTok, Pinterest, Threads, Bluesky, Mastodon, Dev.to and Google Business Profile. Sign in with OAuth on Feedlio's own page. MCP is included on every Feedlio plan, the Free plan too. Support: support@feedlio.io. Also in Claude's Connectors Directory: https://claude.ai/directory/connectors/feedlio
Read, edit, publish, and preview your pepita websites from Claude.
Lets Claude Code and other AI agents schedule and publish social media posts through Sharek.
1
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with the dev.to platform through its public API. Allows users to retrieve articles, user profiles, tags, comments, and perform article searches without requiring authentication.46MIT
- AlicenseNot gradedqualityCmaintenanceWraps the DEV Community API to enable AI agents to read public Devto articles and posts without authentication.59 npmMIT
- AlicenseAqualityDmaintenanceProvides tools to search and retrieve articles from the dev.to API, including search by query, tag, or technology, and fetching full articles by ID or slug.5MIT
- FlicenseNot gradedqualityDmaintenanceProvides MCP tools to interact with Dev.to, enabling searching, browsing, and publishing articles through natural language.-