medium-writer-mcp

v0.2.1
medium-writer-mcp Checked 4 days ago Published 25 days ago

MCP server for reading Medium and getting your articles Medium-ready, no API token needed

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_user_stories

Get the most recent stories by a Medium author (newest first).

ParameterTypeDescription
username *stringMedium username, with or without '@', e.g. 'asherazeem'.
include_contentbooleanInclude each story's full text as Markdown. Much longer output.
limitintegerHow many stories to return (max 10).

get_publication_stories

Get the most recent stories from a Medium publication.

ParameterTypeDescription
publication *stringPublication slug from its URL, e.g. 'better-programming'.
include_contentbooleanInclude each story's full text as Markdown. Much longer output.
limitintegerHow many stories to return (max 10).

get_tag_stories

Get the latest stories Medium lists under a tag. Useful for spotting what's being written about a topic.

ParameterTypeDescription
tag *stringMedium tag, e.g. 'python' or 'machine learning'.
include_contentbooleanInclude each story's full text as Markdown. Much longer output.
limitintegerHow many stories to return (max 10).

prepare_article

Check Markdown against what Medium supports and return a cleaned version. Converts tables to aligned text, demotes extra/deep headings, turns checklists into emoji, and reports anything it can't fix (nested lists, footnotes, raw HTML, missing alt text, title length, tags). Also returns word count and reading time.

ParameterTypeDescription
markdown *stringThe article body in Markdown.
canonical_urlOriginal URL if this was first published elsewhere (protects SEO).
subtitleOne-line subtitle shown under the title.
tagsUp to 5 tags.
titleStory title. Defaults to the first '# ' heading.

export_article

Write the article as an HTML page to copy-paste into Medium's editor (no token needed). Runs prepare_article first, then converts to HTML. The user opens the file in a browser, selects all, copies, and pastes into medium.com/new-story; Medium keeps headings, bold, links, lists, quotes, images and code blocks. Tell the user the output path and pass on the warnings.

ParameterTypeDescription
canonical_urlOriginal URL if cross-posting.
file_pathPath to the article's .md file. Use this or `markdown`.
markdownArticle Markdown, if there is no file.
output_pathWhere to write the .html. Defaults to <file>.medium.html next to the input, or ./medium-export.html.
subtitleOne-line subtitle shown under the title.
tagsUp to 5 tags (entered in Medium's publish dialog).
titleStory title. Defaults to the first '# ' heading.

open_in_medium

Copy the article to the clipboard as formatted text and open a new Medium story (macOS). No login or browser automation: it opens medium.com/new-story in the user's normal browser, where they're already signed in, and they press Cmd+V. Replaces whatever is on the clipboard. Show the user the warnings, and the tags/subtitle to enter in Medium's publish dialog. Nothing is published.

ParameterTypeDescription
browsermacOS app to open, e.g. 'Safari' or 'Google Chrome', or 'default'. Defaults to $MEDIUM_BROWSER, else Safari.
canonical_urlOriginal URL if cross-posting.
file_pathPath to the article's .md file. Use this or `markdown`.
markdownArticle Markdown, if there is no file.
subtitleOne-line subtitle shown under the title.
tagsUp to 5 tags (entered in Medium's publish dialog).
titleStory title. Defaults to the first '# ' heading.