Enables AI assistants to publish articles to Medium with support for drafts, tags, canonical URLs, and follower notifications
MCP Medium Server
A Model Context Protocol (MCP) server that enables AI assistants to publish posts to Medium.
Features
- Publish Posts: Create and publish articles to Medium
- Draft Support: Publish as draft, unlisted, or public
- Tag Management: Add tags to your posts
- Canonical URLs: Set canonical URLs for SEO
- Follower Notifications: Optionally notify followers when publishing
Installation
Via npx (Recommended)
Local Development
Setup
1. Get Medium API Token
- Go to Medium Settings
- Scroll down to "Integration tokens"
- Generate a new token
- Copy the token for use in your environment
2. Set Environment Variable
3. Configure MCP Client
Add this server to your MCP client configuration:
Claude Desktop (config.json):
Other MCP Clients:
Usage
Once configured, you can ask your AI assistant to publish posts to Medium:
"Please publish this article to Medium as a draft with the tags 'programming' and 'typescript'"
"Publish this post to Medium publicly and notify my followers"
Available Parameters
- title (required): The post title
- content (required): The post content (HTML format)
- tags (optional): Array of tags for the post
- canonicalUrl (optional): Canonical URL for SEO
- publishStatus (optional): "draft", "unlisted", or "public" (default: "draft")
Example
Development
Build
Development Mode
Lint
Requirements
- Node.js 18+
- Medium account with API access
- Valid Medium integration token
License
MIT
Author
Jay Simons
- Website: https://yaa.bz
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Support
If you encounter any issues or have questions, please file an issue on the repository.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables AI assistants to publish posts to Medium with support for drafts, tags, canonical URLs, and follower notifications. Supports various publishing statuses and SEO optimization features.
Related MCP Servers
- -securityAlicense-qualityEnables AI assistants to interact with WordPress sites through the WordPress REST API. Supports multiple WordPress sites with secure authentication, enabling content management, post operations, and site configuration through natural language.Last updated -21100MIT License
- -securityAlicense-qualityEnables AI assistants to interact with WordPress sites through the REST API. Supports multiple WordPress sites with secure authentication, enabling content management, post operations, and site configuration through natural language.Last updated -21MIT License
- AsecurityAlicenseAqualityEnables AI assistants to interact with WordPress sites through REST APIs, allowing programmatic management of posts, users, comments, categories, and tags with secure authentication.Last updated -2943MIT License
- TypeScriptMIT License