Sponsored by Deepsite.site

Devto MCP server

Created By
extinctsion7 months ago
MCP server written in python for dev.to
Content

MCP Python Dev.to Integration

A Message Control Program (MCP) server implementation in Python that integrates with dev.to platform. This project allows you to interact with dev.to's API through a message-based architecture.

Features

  • RESTful API integration with dev.to
  • Message queuing and routing
  • Real-time content updates
  • Article management capabilities

Prerequisites

  • Python 3.11 or higher
  • pip (Python package manager)
  • dev.to API key
  • Latest Visual Studio Code

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/mcp-py-devto.git
    cd mcp-py-devto
    
  2. Create and activate a virtual environment:

    python -m venv venv
    # On Windows:
    venv\Scripts\activate
    # On Unix or MacOS:
    source venv/bin/activate
    
  3. Install required dependencies: cd to the pyproject.toml directory and write in terminal -

    pip install .
    

Configuration

  1. Go to .vscode/mcp.json file and insert your dev.to API key

    DEVTO_API_KEY=your_api_key_here
    
  2. Get your dev.to API key from dev.to/settings/account

Usage

  1. Start the MCP server:

    • Go to .vscode/mcp.json and press on the start button.
  2. The server will start listening on the configured port (default: 8080)

  3. Send messages to the server using the provided client libraries or API endpoints:

    from mcp_client import MCPClient
    
    client = MCPClient()
    response = client.send_message({
        "action": "create_article",
        "data": {
            "title": "My New Article",
            "content": "Article content here"
        }
    })
    

API Documentation

Available Endpoints

  • POST /message - Send a message to the MCP server
  • GET /status - Check server status
  • GET /metrics - View server metrics

Message Types

  • create_article
  • update_article
  • delete_article
  • get_article

Development

To contribute to the project:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

Testing

Run the test suite:

pytest tests/

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please read our Contributing Guide for details on how to submit pull requests.

Support

For support, please open an issue in the GitHub repository or contact the maintainers.

Server Config

{
  "mcpServers": {
    "devto": {
      "command": "python3",
      "args": [
        "/home/yourname/projects/devto/server.py"
      ],
      "env": {
        "DEV_TO_API_KEY": "abc123yourapikey"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Amap Maps高德地图官方 MCP Server
Serper MCP ServerA Serper MCP Server
Playwright McpPlaywright MCP server
Tavily Mcp
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
WindsurfThe new purpose-built IDE to harness magic
ChatWiseThe second fastest AI chatbot™
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
CursorThe AI Code Editor
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
DeepChatYour AI Partner on Desktop
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code