Integrations
Provides access to Dev.to content with capabilities for fetching latest and trending articles, searching for articles by various criteria, accessing article details, retrieving user information, accessing articles by tag or username, and creating or updating articles on the platform.
Dev.to MCP Server
This repository contains a Model Context Protocol server implementation for Dev.to that allows AI assistants to access and interact with Dev.to content.
What is MCP?
The Model Context Protocol (MCP) is a standard for enabling AI assistants to interface with external services, tools, and data sources. This server implements the MCP specification to provide access to Dev.to content. To know more about MCP, Check this video
Features
- Fetch latest and trending articles from Dev.to
- Search for articles by various criteria
- Get detailed information about specific articles
- Get Detailed information about a User.
- Access articles by tag or username
- Create and publish new articles to Dev.to
- Update existing articles
- Caching mechanism to improve performance and reduce API calls
Installation
- Clone this repository
- Connect to the MCP serverCopy the below json with the appropriate {{PATH}} values:You can obtain a Dev.to API key from your Dev.to settings page.For Claude, save this asCopy
claude_desktop_config.json
in your Claude Desktop configuration directory at:For Cursor, save this asCopymcp.json
in your Cursor configuration directory at:Copy - Restart Claude Desktop / CursorOpen Claude Desktop and you should now see Devto as an available integration.Or restart Cursor.
Available Tools
The server provides the following tools:
get_latest_articles()
- Get the latest articles from Dev.toget_top_articles()
- Get the most popular articles from Dev.toget_articles_by_tag(tag)
- Get articles by tagget_article_by_id(id)
- Get a specific article by IDsearch_articles(query, page=1)
- Search for articles by keywords in title/descriptionget_article_details(article_id)
- Get full content and metadata for a specific articleget_articles_by_username(username)
- Get articles written by a specific authorcreate_article(title, body_markdown, tags, published)
- Create and publish a new articleupdate_article(article_id, title, body_markdown, tags, published)
- Update an existing article
Example Queries
Here are some examples of what you can ask an AI assistant connected to this server:
- "Find articles about Python on Dev.to"
- "Show me the latest Dev.to articles"
- "Get details for article 1234"
- "What articles has user 'ben' written?"
- "Search for articles about machine learning"
- "Create a new article titled 'Getting Started with Python'"
- "Update my article with ID 5678 to fix a typo in the content"
Advanced Features
Custom Prompts
The server provides pre-defined prompts that can be used by AI assistants:
search_prompt
- Create a formatted search promptanalyze_article
- Create a prompt to analyze a specific article
Authentication
The server requires a Dev.to API key for certain operations, particularly for creating and updating articles. The API key should be set as an environment variable DEV_TO_API_KEY
.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
An MCP server implementation that allows AI assistants to access, search, and interact with Dev.to content, including fetching articles, retrieving user information, and publishing new content.
Related MCP Servers
- -securityAlicense-qualityAn MCP server that enables AI assistants like Claude to interact with Substack newsletters, allowing for post retrieval, content searching, and author information access through a standardized interface.Last updated -PythonMIT License
- -securityAlicense-qualityAn MCP server that helps AI assistants access text content from websites that implement bot detection, bridging the gap between what you can see in your browser and what the AI can access.Last updated -1PythonApache 2.0
- -security-license-qualityA specialized MCP server that enables AI agents to interact with Reddit, including reading posts, creating content, and managing subreddit configurations.Last updated -311TypeScript
- -securityAlicense-qualityAn MCP server that enables AI assistants to control a web browser through natural language commands, allowing them to navigate websites and extract information via SSE transport.Last updated -387PythonMIT License