Dev.to MCP Server

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 サーバー

このリポジトリには、AI アシスタントが Dev.to コンテンツにアクセスして対話できるようにする、Dev.to のモデル コンテキスト プロトコル サーバー実装が含まれています。

MCPとは何ですか?

モデルコンテキストプロトコル(MCP)は、AIアシスタントが外部のサービス、ツール、データソースと連携できるようにするための標準規格です。このサーバーはMCP仕様を実装し、Dev.toコンテンツへのアクセスを提供します。MCPの詳細については、こちらの動画をご覧ください。

特徴

  • Dev.to から最新のトレンド記事を取得します
  • さまざまな基準で記事を検索する
  • 特定の記事に関する詳細情報を取得する
  • ユーザーに関する詳細情報を取得します。
  • タグまたはユーザー名で記事にアクセスする
  • Dev.to に新しい記事を作成して公開する
  • 既存の記事を更新する
  • パフォーマンスを向上させ、API呼び出しを削減するキャッシュメカニズム

インストール

  1. このリポジトリをクローンする
git clone https://github.com/Arindam200/devto-mcp.git cd devto-mcp
  1. MCPサーバーに接続する適切な {{PATH}} 値を含む以下の json をコピーします。
    { "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_config.jsonとして次の Claude Desktop 構成ディレクトリに保存します。
    ~/Library/Application Support/Claude/claude_desktop_config.json
    Cursorの場合、次の Cursor 構成ディレクトリにmcp.jsonとして保存します。
    ~/.cursor/mcp.json
  2. クロードデスクトップ/カーソルを再起動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 ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

AI アシスタントが Dev.to コンテンツにアクセスし、検索し、操作できるようにする MCP サーバー実装。これには、記事の取得、ユーザー情報の取得、新しいコンテンツの公開などが含まれます。

  1. What is MCP?
    1. Features
      1. Installation
        1. Available Tools
      2. Example Queries
        1. Advanced Features
          1. Custom Prompts
        2. Authentication
          1. Contributing
            1. License

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                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.
                Last updated -
                Python
                MIT License
                • Linux
                • Apple
              • -
                security
                A
                license
                -
                quality
                An 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 -
                1
                Python
                Apache 2.0
              • -
                security
                -
                license
                -
                quality
                A specialized MCP server that enables AI agents to interact with Reddit, including reading posts, creating content, and managing subreddit configurations.
                Last updated -
                31
                1
                TypeScript
              • -
                security
                A
                license
                -
                quality
                An 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 -
                387
                Python
                MIT License
                • Apple

              View all related MCP servers

              ID: 2l9kksn63p