Skip to main content
Glama

Dev.to MCP Server

by nickytonline

Dev.to MCP Server

A remote Model Context Protocol (MCP) server for interacting with the dev.to public API without requiring authentication.

Features

This MCP server provides access to the following dev.to public API endpoints:

  • get_articles - Get articles from dev.to with optional filters (username, tag, state, pagination)
  • get_article - Get a specific article by ID or path
  • get_user - Get user information by ID or username
  • get_tags - Get popular tags from dev.to
  • get_comments - Get comments for a specific article
  • search_articles - Search articles using query parameters

Installation

npm install npm run build

Usage

The server runs as a remote HTTP server on port 3000 (or the PORT environment variable) and can be used with any MCP-compatible client.

npm start

The server will be available at http://localhost:3000 for MCP connections.

Development

# Build the project npm run build # Watch mode for development npm run dev # Linting npm run lint npm run lint:fix # Formatting npm run format npm run format:check

Docker

Build and run the MCP server using Docker:

# Build the Docker image docker build -t dev-to-mcp . # Run the container docker run -p 3000:3000 dev-to-mcp

The server will be available at http://localhost:3000/mcp for MCP connections.

Docker Compose

For easier development, you can also use Docker Compose:

# docker-compose.yml version: '3.8' services: dev-to-mcp: build: . ports: - "3000:3000" environment: - PORT=3000
docker-compose up --build

API Endpoints

All endpoints use the public dev.to API (https://dev.to/api) and do not require authentication.

get_articles

Get articles with optional filtering:

  • username - Filter by author username
  • tag - Filter by tag
  • top - Top articles (1, 7, 30, or infinity days)
  • page - Pagination page (default: 1)
  • per_page - Articles per page (default: 30, max: 1000)
  • state - Filter by state (fresh, rising, all)

get_article

Get a specific article:

  • id - Article ID
  • path - Article path (e.g., "username/article-slug")

get_user

Get user information:

  • id - User ID
  • username - Username

get_tags

Get popular tags:

  • page - Pagination page (default: 1)
  • per_page - Tags per page (default: 10, max: 1000)

get_comments

Get comments for an article:

  • article_id - Article ID (required)

search_articles

Search articles:

  • q - Search query (required)
  • page - Pagination page (default: 1)
  • per_page - Articles per page (default: 30, max: 1000)
  • search_fields - Fields to search (title, body_text, tag_list)

License

MIT

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables interaction with the dev.to platform through its public API. Allows users to retrieve articles, user profiles, tags, comments, and perform article searches without requiring authentication.

  1. Features
    1. Installation
      1. Usage
        1. Development
          1. Docker
            1. Docker Compose
          2. API Endpoints
            1. get_articles
            2. get_article
            3. get_user
            4. get_tags
            5. get_comments
            6. search_articles
          3. License

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              Enables interaction with GitHub repositories through the GitHub API, allowing file operations, repository management, issue tracking, and code search through natural language commands.
              Last updated -
              10
              2
              MIT License
              • Apple
              • Linux
            • -
              security
              F
              license
              -
              quality
              Provides access to NFTGo's Developer API for retrieving NFT collection details, asset information, market data, wallet information, and search capabilities on the Ethereum blockchain.
              Last updated -
              6
              4
            • A
              security
              A
              license
              A
              quality
              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.
              Last updated -
              10
              60
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              Provides access to Reddit's API for retrieving posts, comments, user information, and search functionality. Supports multiple authentication methods and comprehensive Reddit data operations including subreddit browsing, post retrieval, and user profile access.
              Last updated -
              62

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/nickytonline/dev-to-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server