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.

ParametersJSON Schema
NameRequiredDescriptionDefault
tagsNo
titleYes
seriesNoSeries name, to group this with other articles.
mainImageNoCover image URL.
publishedNotrue = publish immediately, false = save as a draft.
descriptionNo
bodyMarkdownYesArticle body in Markdown. May include YAML front matter.
canonicalUrlNo

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description must disclose behavioral traits. It only mentions the public/draft dichotomy, which largely mirrors the `published` schema field. It fails to mention authentication requirements, rate limits, return values, or side effects like persisting the article. This is insufficient for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is one concise sentence, front-loading the core purpose. It has no wasted words, but it is so short that it sacrifices informative content. Still, conciseness is appropriate for the minimal information provided.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 8 parameters, no annotations, no output schema, and sibling actions, the description is incomplete. It does not explain what happens on success (e.g., returns an article object), how it handles validation, or when publishing is immediate. The tool is a complex create operation yet the description oversimplifies it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 50%, so the description should compensate for the undocumented params (tags, title, description, canonicalUrl). It does not. It only hints at the published param by saying 'public post or private draft.' Other parameters receive no elucidation, leaving a clear gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Create') and the resource ('a new article'), and distinguishes between public and private drafts. This uniquely identifies the tool's function among siblings like update_article, which modifies existing articles.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for creating new articles and mentions the two publishing states, but it does not explicitly contrast with update_article or outline when to use which tool. There are no direct alternatives or exclusions mentioned, so guidance is implied rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

devto_get_articleGet a Dev.to articleA

Fetch a single article's full content by its numeric id.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the burden. The verb 'Fetch' implies a safe read, and 'full content' adds some behavioral context. However, it does not describe return format, error behavior, or rate limits, which would be helpful for a tool with no annotations and no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence with no wasted words. It is front-loaded with the verb and resource, making it easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (one required parameter, no output schema, no annotations), the description covers the core function. However, it lacks details about error cases (e.g., not found) and the structure of the returned content, which would make it more complete for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has zero description coverage for the 'id' parameter. The description adds 'numeric id', which clarifies the expected input beyond the schema's 'string' or 'number' type. This partially compensates for the lack of schema documentation, but it does not fully explain the parameter's role beyond being an identifier.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Fetch') with a clear resource ('a single article') and a scope ('by its numeric id'). It clearly distinguishes this from sibling tools like 'list' or 'get_my_articles'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use the tool (when you have a numeric id and need full content), but it does not explicitly state alternatives or exclusions. No mention of when not to use it is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

devto_get_commentsGet article commentsC

Get the threaded comments for an article.

ParametersJSON Schema
NameRequiredDescriptionDefault
articleIdYes

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description must carry the full burden of behavioral disclosure. It indicates the result (threaded comments) but does not explain authentication requirements, pagination, error behavior, or read-only nature beyond the verb 'get'. This is insufficient for full transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single short sentence, front-loaded with the key action, and contains no redundant or filler content. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite low complexity (one parameter), the description lacks essential context: no output format, response structure, or error handling. Since there is no output schema and no annotations, the description should provide at least a basic expectation of what the tool returns, which it does only vaguely with 'threaded comments'.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It does not provide any additional meaning for 'articleId'—no format, examples, or source for the ID. The phrase 'for an article' only repeats the parameter name.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Get') and resource ('threaded comments for an article'), clearly distinguishing it from sibling tools like devto_get_article or devto_list_articles. The term 'threaded' adds specificity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. There are no explicit use cases, prerequisites, or exclusions. The description simply states the action without contextualizing it among the sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

devto_get_my_articlesGet my articlesB

List the authenticated account's own articles.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNo
stateNoall
perPageNo

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. 'List' implies a read-only operation, but it does not disclose any additional behavioral traits such as pagination, default state filtering, or authentication requirements. This is minimal and leaves significant gaps for an agent to infer.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, focused sentence that is front-loaded and free of unnecessary words. It is appropriately concise, though it could arguably contain more detail without sacrificing conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has no output schema and three optional parameters, yet the description does not explain return values, pagination behavior, or how the state parameter affects results. Given the minimal description and lack of structured output metadata, the description is not complete enough for an agent to use the tool confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description provides no explanation of the page, state, or perPage parameters. The agent must rely entirely on the schema's property names and constraints, which is insufficient for clear parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'List' and clearly identifies the resource as 'the authenticated account's own articles.' This distinguishes it from sibling tools like devto_list_articles, which likely lists all articles, and devto_get_article, which fetches a single article.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly implies when to use this tool: when you need the authenticated user's articles rather than public articles or a specific article. However, it does not explicitly mention alternatives or exclusions, so it stops short of full guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

devto_get_profileGet my Dev.to profileA

Get the authenticated account's profile info.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full transparency burden. It discloses a read operation and the requirement for authentication, but does not describe the response structure or behavior on failure. For a simple read-only tool, this is minimal but sufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, straightforward sentence that fully conveys the tool's purpose. It is concise and front-loaded, with no unnecessary words or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description could ideally explain what 'profile info' includes. However, the tool's low complexity (zero parameters, simple read operation) makes the current description nearly complete, with only minor ambiguity about return fields.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, and the schema coverage is effectively complete (empty properties). The baseline for no parameters is 4; the description adds nothing further because there are no parameters to clarify.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves the authenticated account's profile info, using a specific verb ('Get') and resource ('profile'). It distinguishes from sibling tools that focus on articles and comments, and the title reinforces the 'my profile' scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit usage guidance or comparisons to alternatives are provided. The intended use is implied by the tool's name and description, but it does not state when to use this tool versus the sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

devto_list_articlesBrowse Dev.to articlesC

Browse the public Dev.to feed, optionally filtered by tag, author, or top-of-period.

ParametersJSON Schema
NameRequiredDescriptionDefault
tagNo
topNoReturn top articles from the last N days instead of the latest feed.
pageNo
perPageNo
usernameNoFilter to articles by this author.

TDQS

C2.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It only reveals that the feed is 'public' (implying no auth), but says nothing about pagination behavior, response format, rate limits, or potential side effects. This is insufficient for a tool with no structured annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence without fluff. It effectively communicates the core function, though additional details about filtering could be condensed without losing clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 5 parameters, no annotations, and no output schema, the description is too sparse. It lacks usage context, behavioral details, and does not address the pagination parameters or how it differs from sibling tools. This leaves the agent under-informed for invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 40%, with tag, page, and perPage lacking descriptions. The description mentions 'tag, author, or top-of-period' which adds some meaning to tag, username, and top, but it does not clarify page/perPage semantics or defaults. It partially compensates but leaves significant gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Browse the public Dev.to feed' clearly identifies the tool as listing public articles, with a specific verb and resource. It partially distinguishes from siblings like devto_get_article (single article) by implying a feed/list context, though it could be more explicit about it being a listing operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like devto_get_my_articles or devto_get_article. It implies usage for browsing the public feed but does not state exclusions or recommend sibling tools for other use cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

devto_update_articleUpdate a Dev.to articleB

Edit an existing article you own. Only the fields you provide are changed.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
tagsNo
titleNo
seriesNo
publishedNo
bodyMarkdownNo

TDQS

B3.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses partial-update behavior ('Only the fields you provide are changed') and ownership requirement ('you own'), but omits details about authentication, error handling, or response format. This is useful but incomplete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise: two sentences, every word earns its place. It is front-loaded with the key operation and adds the important partial-update caveat without waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with six parameters, no annotations, and no output schema, the description is underspecified. It lacks usage guidance, return-value expectations, error behavior, and any parameter details, leaving the agent to infer too much from the schema alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, yet the description adds no parameter-specific meaning. It only generically refers to 'fields you provide' without explaining any of the six parameters (id, tags, title, series, published, bodyMarkdown) or how they interact.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Edit') and resource ('existing article you own'), clearly distinguishing it from the sibling create tool. It immediately conveys the operation and scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus create_article or other alternatives. The description does not mention that this should be used only for modifying existing articles, nor does it exclude scenarios like creating new articles.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

A3.6/5.0
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

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

  • Read, edit, publish, and preview your pepita websites from Claude.

  • Manage your details.page link-in-bio from Claude: edit details, post updates, read analytics.

  • Connect Claude or any MCP client to Thread Otter, a GTM agent for founders. Free tools with no key: find_buyer_threads (give it a website URL and get recent Reddit threads where that product's buyers are asking for it, report in ~3 minutes), reddit_demand_board (weekly demand across 40 communities with thread receipts), and subreddit_rules (promotion posture for 2,000+ profiled subreddits). With an API key: read your buying-intent mentions across Reddit, X, LinkedIn, and Bluesky, check your pipeline, and propose posts and reply drafts in your voice. Propose-only by design: nothing sends without your approval flow. Keys at threadotter.com/connect.

  • Run your website's AI support agent from Claude, Cursor or any MCP client. Manage the knowledge base, edit agent instructions, read conversations and leads, reply live to visitors, and check plan usage. 54 tools, OAuth sign-in, no API key. Free with every Asyntai account: https://asyntai.com/documentation/mcp/

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AhmadTariq1337/devto-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server