medium-ops MCP Server
by 06ketanio.github.06ketan/medium-opsv0.1.2
Medium CLI + 23-tool MCP server. Your IDE drafts replies. No API keys.
context tax
queued
security
queued
cold start
queued
freshness
Slowing5mo ago
Install medium-ops MCP server
Install in Claude Code
claude mcp add medium-ops -e MEDIUM_INTEGRATION_TOKEN='<medium-integration-token>' -e MEDIUM_SID='<medium-sid>' -e MEDIUM_XSRF='<medium-xsrf>' -e MEDIUM_CF_CLEARANCE='<medium-cf-clearance>' -- uvx medium-ops mcp serveInstall in Cursor
{
"mcpServers": {
"medium-ops": {
"command": "uvx",
"args": [
"medium-ops",
"mcp",
"serve"
],
"env": {
"MEDIUM_INTEGRATION_TOKEN": "<medium-integration-token>",
"MEDIUM_SID": "<medium-sid>",
"MEDIUM_XSRF": "<medium-xsrf>",
"MEDIUM_CF_CLEARANCE": "<medium-cf-clearance>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"medium-ops": {
"command": "uvx",
"args": [
"medium-ops",
"mcp",
"serve"
],
"env": {
"MEDIUM_INTEGRATION_TOKEN": "<medium-integration-token>",
"MEDIUM_SID": "<medium-sid>",
"MEDIUM_XSRF": "<medium-xsrf>",
"MEDIUM_CF_CLEARANCE": "<medium-cf-clearance>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"medium-ops": {
"type": "stdio",
"command": "uvx",
"args": [
"medium-ops",
"mcp",
"serve"
],
"env": {
"MEDIUM_INTEGRATION_TOKEN": "<medium-integration-token>",
"MEDIUM_SID": "<medium-sid>",
"MEDIUM_XSRF": "<medium-xsrf>",
"MEDIUM_CF_CLEARANCE": "<medium-cf-clearance>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"medium-ops": {
"command": "uvx",
"args": [
"medium-ops",
"mcp",
"serve"
],
"env": {
"MEDIUM_INTEGRATION_TOKEN": "<medium-integration-token>",
"MEDIUM_SID": "<medium-sid>",
"MEDIUM_XSRF": "<medium-xsrf>",
"MEDIUM_CF_CLEARANCE": "<medium-cf-clearance>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| MEDIUM_INTEGRATION_TOKEN | — | yes | Legacy Medium Integration Token (api.medium.com/v1/*). Optional. Generate at medium.com/me/settings → 'Integration tokens' (note: Medium stopped issuing new tokens in 2023). |
| MEDIUM_SID | — | yes | Medium 'sid' cookie value from medium.com (Application → Cookies). Used for authenticated reads + dashboard GraphQL. |
| MEDIUM_UID | — | — | Medium 'uid' cookie value. Required alongside sid for some authenticated endpoints. |
| MEDIUM_XSRF | — | yes | Medium 'xsrf' cookie value. Required for any dashboard write (post_response, publish_post, delete_post, draft updates). |
| MEDIUM_CF_CLEARANCE | — | yes | Cloudflare 'cf_clearance' cookie. Only required when Cloudflare challenges your IP for dashboard write calls. |
| MEDIUM_USERNAME | — | — | Your Medium handle (without the @). Required for the public RSS read path so the client knows whose feed to fetch. |
| MEDIUM_OPS_MCP_PATH | — | — | Override path to the mcp.json file the auth layer reads. Defaults to ~/.cursor/mcp.json. |
| MEDIUM_OPS_LLM_CMD | — | — | Optional: override the host CLI used by the unattended daemon path (default: auto-detect claude / cursor-agent / codex on PATH). Use {prompt} placeholder if your CLI takes the prompt as an arg. |
Freshness
Slowing — last maintenance signal 5mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-05-24 · 5mo ago · GitHub
Latest release
2026-05-03 · 5mo ago · GitHub · v0.1.2
Package published
no data · npm/PyPI
Registry entry updated
2026-05-03 · 5mo ago · official registry · v0.1.2
FAQ
›How do I install the medium-ops MCP server in Claude Code?
Run: claude mcp add medium-ops -e MEDIUM_INTEGRATION_TOKEN='<medium-integration-token>' -e MEDIUM_SID='<medium-sid>' -e MEDIUM_XSRF='<medium-xsrf>' -e MEDIUM_CF_CLEARANCE='<medium-cf-clearance>' -- uvx medium-ops mcp serve. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does medium-ops require an API key?
Yes. It expects MEDIUM_INTEGRATION_TOKEN, MEDIUM_SID, MEDIUM_XSRF, MEDIUM_CF_CLEARANCE, of which 4 are secrets.
›Can I use medium-ops as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is medium-ops in the official MCP registry?
Yes, as io.github.06ketan/medium-ops.