JM

jackyckma/medium-mcp-server

Developer tools

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

12 stars 13 forks 品質 60 トレンド 8MIT

ミディアムコンテンツ管理用のブラウザベースのMCPサーバー - APIトークンは必要ありません! 数時間AIで構築.

概要

ミディアム MCP (Model Context Protocol) は、ミディアムのコンテンツエコシステムとプログラム的に相互作用するためのブラウザベースのソリューションです。 ミディアムは新しいユーザーに対して公開 API を廃止したため、このサーバーはブラウザの自動化を使用して、インテリジェントでコンテキストアウェアのコンテンツ管理を実現します。 ミディアムは、2023年に新しいAPIトークンを発行しなくなり、新しい開発者にとっては従来のAPI統合が不可能になります。 この実装では、Playwrightブラウザの自動化を以下に使用します。 - ✅ - 既存のMediumログインセッションを使用する - ✅ - 公開、検索、および管理媒体コンテンツ - ✅ - 再使用のためにローカルでログインセッションを保存 - ✅ - 初期ログイン用のブラウザを開き、ヘッドレスに実行します ミディアムMCPの背後にあるフルストーリーを知りたいですか?

概要(AI 翻訳)

概要

ミディアム MCP (Model Context Protocol) は、ミディアムのコンテンツエコシステムとプログラム的に相互作用するためのブラウザベースのソリューションです。 ミディアムは新しいユーザーに対して公開 API を廃止したため、このサーバーはブラウザの自動化を使用して、インテリジェントでコンテキストアウェアのコンテンツ管理を実現します。

ブラウザベースの理由

ミディアムは、2023年に新しいAPIトークンを発行しなくなり、新しい開発者にとっては従来のAPI統合が不可能になります。 この実装では、Playwrightブラウザの自動化を以下に使用します。

  • ✅APIトークンなしの作業 - 既存の中型のログインセッションを使用する
  • ✅フル機能 - 媒体コンテンツの公開、検索、管理
  • ✅Secure - 再使用のためにローカルでログインセッションを保存
  • ✅Interactive - 初期ログイン用のブラウザを開き、ヘッドレスに実行します

447 Deep Diveの記事

ミディアムMCPの背後にあるフルストーリーを知りたいですか? 包括的な記事をご覧ください。

思考から出版まで:MediumMCP AI-to-Mediumプラットフォームワークフローを合理化

主な特長

  • 匿名ブラウザの自動化**
  • タイトル、コンテンツ、タグ付きArticleパブリッシング**
  • あなたの媒体のプロフィールから*あなたの記事を受け取りなさい

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

README

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

Medium MCP Server (Browser-Based)

Overview

Medium MCP (Model Context Protocol) is a browser-based solution for programmatically interacting with Medium’s content ecosystem. Since Medium discontinued their public API for new users, this server uses browser automation to provide intelligent and context-aware content management.

🔄 Why Browser-Based?

Medium stopped issuing new API tokens in 2023, making traditional API integration impossible for new developers. This implementation uses Playwright browser automation to:

  • ✅ Work without API tokens - Uses your existing Medium login session
  • ✅ Full functionality - Publish, search, and manage your Medium content
  • ✅ Secure - Saves your login session locally for reuse
  • ✅ Interactive - Opens browser for initial login, then runs headlessly

📖 Deep Dive Article

Want to understand the full story behind Medium MCP? Check out the comprehensive article:

From Thought to Published: How MediumMCP Streamlines the AI-to-Medium Platform Workflow

Key Features

  • 🤖 Browser automation for Medium interaction
  • 📝 Article publishing with title, content, and tags
  • 📚 Retrieve your articles from your Medium profile
  • 🔍 Search Medium articles by keywords
  • 💾 Session persistence - login once, use everywhere
  • 🎯 Claude integration via Model Context Protocol

Technology Stack

  • TypeScript
  • Model Context Protocol (MCP)
  • Playwright Browser Automation
  • Advanced Content Parsing

Getting Started

Prerequisites

  • Node.js (v16 or later)
  • npm or yarn
  • A Medium account (no API credentials needed!)

Installation

# Clone the repository
git clone https://github.com/jackyckma/medium-mcp-server.git

# Navigate to the project directory
cd medium-mcp-server

# Install dependencies
npm install

# Install browser for automation
npx playwright install chromium

# Build the project
npm run build

Configuration

No API keys needed! The server will prompt you to login to Medium in your browser on first use.

Usage

Test the Browser Client

# Test the browser automation (optional)
node test-browser.js

Start the MCP Server

npm start

Add to Claude Configuration

Add this to your Claude MCP configuration:

{
  "mcpServers": {
    "medium-mcp": {
      "command": "node",
      "args": ["path/to/medium-mcp-server/dist/index.js"],
      "cwd": "path/to/medium-mcp-server"
    }
  }
}

Available MCP Tools

1. publish-article

Publish a new article to Medium

{
  title: string,      // Article title
  content: string,    // Article content (markdown supported)
  tags?: string[],    // Optional tags
GitHub で README 全文を見る

インストール

npx playwright install chromium
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "medium-mcp": { "command": "node", "args": ["path/to/medium-mcp-server/dist/index.js"], "cwd": "path/to/medium-mcp-server" } } }