AD

arindam200/devto-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

63 stars 13 forks 品質 62 トレンド 0MIT

arindam200/devto-mcp は [https://github.com/arindam200/devto-mcp.] からインポートされた MCP サーバー候補です

概要

arindam200/devto-mcp は [https://github.com/arindam200/devto-mcp.] からインポートされた MCP サーバー候補です

概要(AI 翻訳)

このリポジトリには、AI アシスタントが Dev.to コンテンツにアクセスし、やりとりすることを可能にする Dev.to 用のモデルコンテキストプロトコルサーバーの実装が含まれています。

MCPとは?

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

##特徴

  • Dev.toの最新のトレンド記事をフェッチ
  • 様々な条件で記事を検索
  • 特定の記事に関する詳細情報を入手
  • ユーザーに関する詳細情報を入手してください。
  • タグまたはユーザー名によるアクセス記事
  • Dev.toに新しい記事を作成および公開する
  • 既存の記事の更新
  • パフォーマンスを改善し、APIコールを削減するためのキャッシュメカニズム

インストール

  1. このリポジトリをクローンする

2.MCPサーバーに接続する

以下のjsonを適切な{PATH}}値でコピーします。

Dev.to API キーを Dev.to 設定ページから取得できます。

Claude の場合、Claude デスクトップ設定ディレクトリの claude_desktop_config.json として保存します。

Cursor は `mcp として保存します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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

  1. Clone this repository
git clone https://github.com/Arindam200/devto-mcp.git
cd devto-mcp
  1. Connect to the MCP server

    Copy the below json with the appropriate {{PATH}} values:

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

    You can obtain a Dev.to API key from your Dev.to settings page.

    For Claude, save this as claude_desktop_config.json in your Claude Desktop configuration directory at:

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

    For Cursor, save this as mcp.json in your Cursor configuration directory at:

    ~/.cursor/mcp.json
    
  2. Restart Claude Desktop / Cursor

    Open 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.to
  • get_top_articles() - Get the most popular articles from Dev.to
  • get_articles_by_tag(tag) - Get articles by tag
  • get_article_by_id(id) - Get a specific article by ID
  • search_articles(query, page=1) - Search for articles by keywords in title/description
  • get_article_details(article_id) - Get full content and metadata for a specific article
  • get_articles_by_username(username) - Get articles written by a specific author
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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