MCP Server Medium
Allows AI agents to publish posts, manage publications, upload images, and parse RSS feeds to JSON using the Medium API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server Mediumpublish a post titled 'MCP Server Setup Guide'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server Medium
MCP (Model Context Protocol) server for interacting with the Medium API. Allows AI agents to publish posts, manage publications, upload images, and parse RSS feeds to JSON.
Quick Start
# Run with uvx (no install needed) — uses MEDIUM_API_KEY env var
MEDIUM_API_KEY=your_token_here uvx mcp-server-medium
# Or use a config file instead
mkdir -p ~/.medium
echo 'api_key: your_token_here' > ~/.medium/config.yaml
uvx mcp-server-medium
# Or install and run
uv tool install mcp-server-medium
mcp-server-mediumRelated MCP server: mcp-media-engine
Authentication
The server resolves your API key in this order:
MEDIUM_API_KEYenvironment variable — best for MCP clients~/.medium/config.yaml— persistent local config
Create ~/.medium/config.yaml:
api_key: your_integration_token_hereGet your token at medium.com/me/settings (look for "Integration Tokens").
Tools
Tool | Description |
| Get the authenticated user's Medium profile |
| List all publications the user is related to |
| List contributors for a publication |
| Create a post on the user's Medium profile |
| Create a post under a specific publication |
| Upload an image to Medium from a URL |
| Fetch and parse Medium RSS feeds into JSON |
RSS Feed Shorthands
The get_rss_feed tool accepts flexible input:
Shorthand | Resolves to |
|
|
|
|
|
|
|
|
Full URL | Used as-is |
Development
# Clone and setup
git clone https://github.com/afikrim/medium-mcp-server
cd medium-mcp-server
uv sync
# Run locally
MEDIUM_API_KEY=your_key uv run medium-mcp-server
# Use with MCP inspector
MEDIUM_API_KEY=your_key npx @modelcontextprotocol/inspector uv run medium-mcp-serverConfiguration
Configure in your MCP client (e.g., Claude Desktop, Cursor):
{
"mcpServers": {
"medium": {
"command": "uvx",
"args": ["mcp-server-medium"],
"env": {
"MEDIUM_API_KEY": "your_token_here"
}
}
}
}Or using the config file (no env needed):
{
"mcpServers": {
"medium": {
"command": "uvx",
"args": ["mcp-server-medium"]
}
}
}With ~/.medium/config.yaml:
api_key: your_token_hereLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/afikrim/medium-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server