DM

dishant27/medium-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

28 stars 9 forks 품질 82 트렌드 25MIT

MCP 서버는 AI 조수가 중간 프로파일과 출판물을 읽었으며 (legacy) Medium API를 통해 출판물을 게시합니다.

개요

MCP 클라이언트 (Claude Desktop, Cursor, etc.)가 중간 초안을 만들고 중간 프로파일과 출판물을 읽는 작은 모델 Context Protocol 서버. 중간 더 이상 API를 지원하고 새로운 통합 토큰을 발급했습니다. 이 서버는 중간 통합 토큰만 작동한다. 그렇지 않은 경우, 현재 아무도 공식적인 방법이 없습니다. 이 프로젝트는 그것을 수정할 수 없습니다. 에서 출판: How MediumMCP AI-to-Medium 플랫폼 워크 플로우를 간소화 도구 지도 1:1는 endpoints Medium의 v1 API를 실제로 가지고 있습니다. 무엇 : 검색 기사, 게시물을 읽고, 통계를 읽고, 또는 편집 / 삭제 게시물. 공식 API는 그 엔드포인트가 없었습니다. 요구 사항 : Node.js 18 + 및 기존 중간 통합 토큰. .env.example를 .env로 복사하고 토큰을 설정: 그런 다음 "Create Medium titled ... from this markdown"와 같은 것들을 요청하고 게시하기 전에 중간에 초안을 검토하십시오.

개요(AI 번역)

MCP 클라이언트 (Claude Desktop, Cursor, etc.)가 중간 초안을 만들고 중간 프로파일과 출판물을 읽는 작은 모델 Context Protocol 서버.

[!수신] Medium의 공식 API는 deprecated입니다. 중간 더 이상 API를 지원하고 새로운 통합 토큰을 발급했습니다. 이 서버는 **already가 ** 중간 통합 토큰이 있습니다. 그렇지 않은 경우, 현재 아무도 공식적인 방법이 없습니다. 이 프로젝트는 그것을 수정할 수 없습니다.

에서 출판: How MediumMCP AI-to-Medium 플랫폼 워크 플로우를 간소화

무엇을 할 수 있습니까?

도구 지도 1:1는 endpoints Medium의 v1 API를 실제로 가지고 있습니다.

도구 중점
[T0] 사용자 아이디, 이름, 프로필 URL [T1]
get-publications 자신만의 출판, 편집, 쓰이는 곳 [T3]
publish-article 게시물 만들기 (markdown or HTML). 기본값 draft, public 또는 unlisted]], 선택적으로 간행물 인 [T8], POST /publications/{id}/posts

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

Medium MCP Server

A small Model Context Protocol server that lets an MCP client (Claude Desktop, Cursor, etc.) create Medium drafts and read your Medium profile and publications.

[!WARNING] Medium’s official API is deprecated. Medium no longer supports its API and has stopped issuing new integration tokens. This server only works if you already have a Medium integration token. If you don’t, there is currently no official way to get one, and this project can’t fix that.

📖 Background

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

What it can do

The tools map 1:1 to the endpoints Medium’s v1 API actually has:

Tool What it does Medium endpoint
get-profile Your user id, username, name, profile URL GET /me
get-publications Publications you own, edit or write for GET /users/{userId}/publications
publish-article Creates a post (markdown or HTML). Defaults to draft, can be public or unlisted, optionally inside a publication POST /users/{userId}/posts, POST /publications/{id}/posts

What it can’t do: search articles, read posts, read stats, or edit/delete posts. The official API never had those endpoints.

Setup

Requirements: Node.js 18+ and an existing Medium integration token.

git clone https://github.com/Dishant27/medium-mcp-server.git
cd medium-mcp-server
npm install
npm run build

Copy .env.example to .env and set your token:

MEDIUM_INTEGRATION_TOKEN=your_existing_integration_token

Use with Claude Desktop (or any MCP client)

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

Then ask things like “Create a Medium draft titled … from this markdown” and review the draft on Medium before publishing.

No token? Alternatives

  • Write to markdown files and import them with Medium’s import tool, which also sets the canonical link.
  • Publish on a platform with a working API (e.g. dev.to, Hashnode) and cross-post to Medium with a canonical URL.
  • Browser automation against medium.com works but is fragile and may break Medium’s terms, so it isn’t included here.

License

MIT

GitHub에서 전체 README 보기

설치

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

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

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