Skip to main content
Glama

MCP 서버 개발

이 저장소에는 Dev.to에 대한 모델 컨텍스트 프로토콜 서버 구현이 포함되어 있으며, 이를 통해 AI 어시스턴트가 Dev.to 콘텐츠에 액세스하고 상호 작용할 수 있습니다.

영상

MCP란 무엇인가요?

모델 컨텍스트 프로토콜(MCP)은 AI 어시스턴트가 외부 서비스, 도구 및 데이터 소스와 상호 작용할 수 있도록 하는 표준입니다. 이 서버는 Dev.to 콘텐츠에 대한 액세스를 제공하기 위해 MCP 사양을 구현합니다. MCP에 대해 자세히 알아보려면 이 영상을 시청하세요.

Related MCP server: devto-mvp-server

특징

  • Dev.to에서 최신 및 인기 기사를 가져옵니다.

  • 다양한 기준으로 기사 검색

  • 특정 기사에 대한 자세한 정보를 얻으세요

  • 사용자에 대한 자세한 정보를 얻습니다.

  • 태그 또는 사용자 이름으로 기사에 접근하세요

  • Dev.to에 새로운 기사를 작성하고 게시하세요

  • 기존 문서 업데이트

  • 성능 향상 및 API 호출 감소를 위한 캐싱 메커니즘

설치

  1. 이 저장소를 복제하세요

지엑스피1

  1. MCP 서버에 연결

    아래 json을 적절한 {{PATH}} 값으로 복사하세요.

    {
     "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.
         }
       }
     }
    }

    Dev.to 설정 페이지 에서 Dev.to API 키를 얻을 수 있습니다.

    Claude 의 경우 Claude Desktop 구성 디렉토리에 claude_desktop_config.json 으로 저장합니다.

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

    Cursor 의 경우 Cursor 구성 디렉토리에 mcp.json 으로 저장합니다.

    ~/.cursor/mcp.json
  2. Claude Desktop/Cursor를 다시 시작하세요

    Claude Desktop을 열면 이제 Devto가 사용 가능한 통합으로 표시됩니다.

    또는 커서를 다시 시작하세요.

사용 가능한 도구

서버는 다음과 같은 도구를 제공합니다.

  • get_latest_articles() - Dev.to에서 최신 기사를 받아보세요

  • get_top_articles() - Dev.to에서 가장 인기 있는 기사를 가져옵니다.

  • get_articles_by_tag(tag) - 태그로 기사 가져오기

  • get_article_by_id(id) - ID로 특정 기사를 가져옵니다.

  • search_articles(query, page=1) - 제목/설명에 키워드로 기사 검색

  • get_article_details(article_id) - 특정 기사의 전체 콘텐츠 및 메타데이터를 가져옵니다.

  • get_articles_by_username(username) - 특정 작성자가 작성한 기사를 가져옵니다.

  • create_article(title, body_markdown, tags, published) - 새 기사를 만들고 게시합니다.

  • update_article(article_id, title, body_markdown, tags, published) - 기존 기사 업데이트

예제 쿼리

이 서버에 연결된 AI 도우미에게 질문할 수 있는 내용의 몇 가지 예는 다음과 같습니다.

  • "Dev.to에서 Python 관련 기사를 찾아보세요"

  • "최신 Dev.to 기사를 보여주세요"

  • "1234호 기사에 대한 세부 정보 얻기"

  • "사용자 'ben'은 어떤 기사를 썼나요?"

  • "머신러닝 관련 기사 검색"

  • "'Python 시작하기'라는 제목의 새 문서를 작성하세요."

  • "내용의 오타를 수정하기 위해 ID 5678로 기사를 업데이트하세요"

고급 기능

사용자 정의 프롬프트

서버는 AI 도우미가 사용할 수 있는 미리 정의된 프롬프트를 제공합니다.

  • search_prompt - 형식화된 검색 프롬프트 만들기

  • analyze_article - 특정 기사를 분석하라는 메시지를 만듭니다.

입증

서버에는 특정 작업, 특히 기사 작성 및 업데이트를 위해 Dev.to API 키가 필요합니다. API 키는 DEV_TO_API_KEY 환경 변수로 설정해야 합니다.

기여하다

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

Available Tools

10 tools
create_articleB
Create and publish a new article on Dev.to

Args:
    title: The title of the article
    body_markdown: The content of the article in markdown format
    tags: Comma-separated list of tags (e.g., "python,tutorial,webdev")
    published: Whether to publish immediately (True) or save as draft (False)

Inputs: title (required), body_markdown (required), tags, published.

get_article_by_idC

Get a specific article by ID from Dev.to

Inputs: id (required).

get_article_detailsC
Get detailed information about a specific article

Args:
    article_id: The ID of the article to retrieve

Inputs: article_id (required).

get_articles_by_tagC

Get articles by tag from Dev.to

Inputs: tag (required).

get_articles_by_usernameC
Get articles written by a specific user

Args:
    username: The username of the author

Inputs: username (required).

get_latest_articlesB

Get the latest articles from Dev.to

Inputs: no named parameters.

get_top_articlesB

Get the top articles from Dev.to

Inputs: no named parameters.

get_user_infoC
Get information about a Dev.to user

Args:
    username: The username of the user

Inputs: username (required).

search_articlesB
Search for articles on Dev.to

Args:
    query: Search term to find articles
    page: Page number for pagination (default: 1)

Inputs: query (required), page.

update_articleB
Update an existing article on Dev.to

Args:
    article_id: The ID of the article to update
    title: New title for the article (optional)
    body_markdown: New content in markdown format (optional)
    tags: New comma-separated list of tags (optional)
    published: Change publish status (optional)

Inputs: article_id (required), title, body_markdown, tags, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 10 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting different operations (create, get, update, search), but there is some ambiguity between get_article_by_id and get_article_details which appear to serve similar retrieval functions. The other tools are clearly differentiated by their target data or action.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with snake_case throughout (e.g., create_article, get_articles_by_tag, update_article). The naming is predictable and follows a clear convention without any deviations in style or structure.

    Tool Count5/5

    With 10 tools, this server is well-scoped for managing Dev.to content, covering core operations like CRUD for articles, user info retrieval, and various query methods. Each tool serves a specific purpose without bloat, making the count appropriate for the domain.

    Completeness4/5

    The toolset provides comprehensive coverage for article management (create, read, update, search) and user information, but lacks delete functionality for articles, which is a minor gap. Core workflows are supported, and agents can likely work around the missing delete operation.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      An 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.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      This is a complete MCP (Model Context Protocol) server that implements a articles of dev.to with robust validation using TypeScript and Zod. The server integrates directly with Cursor, allowing you search articles on dev.to.
      MIT