Skip to main content
Glama

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

  1. Clone the repo and install dependencies:

    git clone https://github.com/AhmadTariq1337/devto-mcp.git
    cd devto-mcp
    npm install
  2. Copy .env.example to .env and add your API key (get one from dev.to/settings/extensions):

    cp .env.example .env
  3. 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"]
    }
  4. 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

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

  • .env holds 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 tools
devto_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

    A3.6/5.0

    Scored across 7 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    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

      https://cotlet.dev/mcp/v1/medium
    • 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

      https://mcp.feedlio.io/mcp
    • Read, edit, publish, and preview your pepita websites from Claude.

      https://mcp.pepita.dev/mcp
    • Publish and schedule videos to TikTok, YouTube Shorts, Instagram, Facebook, LinkedIn, Pinterest, Bluesky, Threads and X from Claude, Cursor or any MCP client. Upload once, post everywhere, track views in unified analytics, and retry failed posts. Official platform APIs only, free plan available. Docs: https://docs.multi-upload-tool.com/mcp

    Related MCP Servers