MCP is Trending Everywhere! Of course, for a good reason!

Since its launch, it has seen a wide adoption in the developer community. Starting from OpenAI to Google, everyone has adopted this protocol.

So, I thought of building an MCP server for Dev.to (My Favourite Platform for writing Blogs)

If you're actively building Agents or trying to automate your workflow, this MCP server will really help you!


What is MCP?

Before we begin, let's understand what MCP is!

MCP stands for Model Context Protocol. It's an open-source protocol, made by Anthropic, the company behind Claude, that lets AI assistants (like Claude Desktop, Cursor, or even your own custom agents) connect to external services and interact with them like a pro.

You can think of it as a "USB-C for AI" - a universal connector for LLMS to plug into APIs, tools, and data sources.

MCP has three main components:

Here's a Video Guide on MCP:

https://www.youtube.com/watch?v=BwB1Jcw8Z-8&embedable=true

I also built this MCP Server for Devto that you can use with any MCP Hosts.


What is DevTo MCP Server?

I was recently building a lot of AI Agents and Agentic Workflows. For one such project, I was looking for a way to interact with Dev.to.

That's when the idea struck: "Why not build an MCP server for Dev.to?"

This Server gives a simplified way for the Agents and other MCP hosts to interact with the Dev.to content.

With this Dev.to MCP server, you can now:

Right now, it covers the core features, and I'm currently working on adding more features to it.

Check out DevTo MCP


How to Use it?

I have also made a full video walkthrough showing you exactly how to set it up!
You can watch it here:

https://www.youtube.com/watch?v=krIy5-_sm1g&embedable=true

Getting started is super simple. You just need:

Here’s the quick start guide:

  1. Clone this repository:
git clone https://github.com/Arindam200/devto-mcp.git
cd devto-mcp
  1. Connect to the MCP server:

Create a JSON config like this (replace the {{PATH}} placeholders):

   {
    "mcpServers": {
      "devto": {
        "command": "{{PATH_TO_UV}}", // Run `which uv` and place the output here
        "args": [
                  "--directory",
                  "{{PATH_TO_SRC}}",// cd into the repo, run `pwd` and enter the output here
                  "run",
                  "server.py"
        ],
        "env": {
          "DEV_TO_API_KEY":"Your Dev.to API Key" // Get it from https://dev.to/settings/extensions.
        }
      }
    }
   }

You can obtain a Dev.to API key from your Dev.to settings page.

For Claude, save this as claude_desktop_config.jsonin your Claude Desktop configuration directory at:

   ~/Library/Application Support/Claude/claude_desktop_config.json

For Cursor, save this as mcp.jsonin your Cursor configuration directory at:

   ~/.cursor/mcp.json
  1. Restart Claude Desktop / Cursor

Open Claude Desktop, and you should now see DevTo as an available integration.

Or restart Cursor.


That's it! πŸŽ‰

Now, you can publish blogs, fetch articles, and interact with Dev.to content right from your AI workspace without ever opening your browser.

Would love for you to try it out and share any feedback!

And if you find it useful, feel free to ⭐ the repo!

Thanks a lot for reading it till the End!