MCP is Trending Everywhere! Of course, for a Good Reason!
Since 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:
- MCP Hosts: AI apps (like Claude Desktop, IDEs like Cursor) that initiate connections.
- MCP Clients: Middlemen inside the hosts that manage those connections.
- MCP Servers: Lightweight programs exposing specific capabilities (like GitHub, Slack... or now, Dev.to!)
Here's a Video Guide on MCP:
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 of such projects, 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:
- Fetch the latest and trending articles from Dev.to
- Search articles by keyword, tag, or username
- Get full article details
- Create and publish new articles right from your AI workspace.
- Update your existing posts
- All with built-in caching to keep things smooth and fast
Right now, it covers the core features, and I'm currently working on adding more features to it.
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:
Getting started is super simple. You just need:
- Your Dev.to API key
- Claude Desktop (or any MCP Host of your choice)
Hereβs the quick start guide:
- Clone this repository:
git clone https://github.com/Arindam200/devto-mcp.git
cd devto-mcp
- 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.json
in your Claude Desktop configuration directory at:
~/Library/Application Support/Claude/claude_desktop_config.json
For Cursor, save this as mcp.json
in your Cursor configuration directory at:
~/.cursor/mcp.json
- 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!
Top comments (46)
lfg! we recently launched the Bucket MCP server to flag features, manage company data, and control feature access. really looking forward to this growing ecosystem
Bucket MCP Server
flo merian for Bucket.co γ» Apr 9
Oh, this looks pretty cool. I'll give it a try!
please keep me posted! would love to have your feedback
Sure
I am developing an open source and hope everyone can help!!!
Click here
I just published about a beginner's guide to MCP as well.
MCPs are going in great! Let me publish one article using your MCP. π₯
Beginner's Guide to the Model Context Protocol (MCP)
Saurabh Rai for Apideck γ» Apr 28
Sure!
Let me know how that Goes!
π
Thanks Arindam for compiling this, def will check it later on !
Sure, let me know How that goes!
Awesome content! Itβs exactly what I needed! β€οΈ
Great to hear that!
Fantastic!
Glad you liked it!
This is a nice project, Arindam. I don't know much about MCP servers but it's something I'm looking to delve into. And this article will come in handy.
Awesome.
I also have a tutorial around MCP, This will help you to understand MCP in under 10 mins
Feel Free to ask any Questions!
great bro!! I just saw the repo and your video too its fantastic.
Thanks Aayush for Supporting!
it is useful for me and thanks for that tutorial
Thanks a lot, Srijan!
Would love to know what you're building with it.
Very interesting. Thanks for that tutorial
Glad you liked it Aral!
Some comments may only be visible to logged-in visitors. Sign in to view all comments. Some comments have been hidden by the post's author - find out more