• LIVE
  • EDIT
  • DRAFT
  • HUMAN

How to publish and edit articles with your AI

Connect your AI to Dev.to or Forem once. From there, you can push local markdown files to the web or change live posts using chat.

Ask AI about this page

Short answer

How can I publish and edit Dev.to posts using AI?

Your agent uses the Dev.to (Forem) MCP to push markdown files to your account or modify existing articles. You can publish new drafts, update live content, or take posts offline. Here is how it works.

Where your content lands.

Content outcomes.

The AI handles the transfer between your local files and the Forem platform.

LIVE

Published posts

The AI sends your markdown to Dev.to. Your article goes live on the site immediately.

EDIT

Updated content

You can tell your agent to fix typos or change sections in a live post. The changes sync to the web.

DRAFT

Saved drafts

The AI can save your work as a draft instead of publishing. This keeps your work ready for a human to check.

HUMAN

Manual control

You decide when a post is ready. The AI moves the data, but you manage the final publishing decisions.

The workflow

What your AI does when a draft arrives.

The agent acts as the bridge between your text editor and the Dev.to API.

  1. Pushing new drafts

    The AI sends your markdown and metadata to the platform to create a new entry.

    create_article
  2. Modifying live posts

    Your agent can overwrite the body or title of an existing article based on your chat commands.

    update_article
  3. Removing content

    If a post needs to be taken down, the AI can set the article status to unpublished.

    unpublish_article
  4. Toggling status

    The AI uses the same tools to switch between draft and published states.

    update_articleunpublish_article

Try it

Copy these to start.

Use these prompts to trigger actions in your AI client.

Starting points

These are opening lines. Replace the bracketed text with your specific file names or article titles.

Dev.to (Forem) Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_w4NvM8PA1spbWezMXm0Y1nzsEEjJv7YhdInahXHs/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Dev.to (Forem) capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "devto-forem-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_w4NvM8PA1spbWezMXm0Y1nzsEEjJv7YhdInahXHs/mcp"
    }
  }
}
Copy into chat04
  • Publish this markdown file to Dev.to: [filename.md]

  • Update my article '[Article Title]' with this new paragraph: [text]

  • Unpublish the post titled '[Article Title]' on Forem

  • Change the title of my recent post to '[New Title]'

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Dev.to (Forem) once, then ask.

One link connects your account. Your login stays encrypted on our side, and you can start managing posts immediately.

Connect Dev.to (Forem) to your AI

FAQ

How this task behaves

  • 01

    Can the AI upload images to my Dev.to post?

    No. The AI only handles text and metadata through the available tools.

  • 02

    Will the AI delete my articles?

    No. The AI can unpublish an article, but it does not have a tool to permanently delete them.

  • 03

    Does the AI handle the formatting?

    The AI sends your markdown as-is. It relies on your markdown syntax to determine how the post looks.

  • 04

    Can I use this to edit posts on other platforms?

    No. This MCP is built specifically for Dev.to and Forem.

  • 05

    Do I need to log in every time I want to post?

    No. Once you connect the MCP, your agent can perform actions whenever you ask.

  • More questions about Dev.to (Forem)? The Connector page answers them. See everything the Dev.to (Forem) Connector can do

Connect Dev.to (Forem) to Claude, Cursor, ChatGPT & more