MCP Server
MCP
medium-ops
Medium CLI + 23-tool MCP server. Your IDE drafts replies. No API keys.
Install
uvx medium-ops
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"identifier": "medium-ops",
"version": "0.1.2",
"runtimeHint": "uvx",
"transport": {
"type": "stdio"
},
"packageArguments": [
{
"value": "mcp",
"type": "positional"
},
{
"value": "serve",
"type": "positional"
}
],
"environmentVariables": [
{
"description": "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).",
"isSecret": true,
"name": "MEDIUM_INTEGRATION_TOKEN"
},
{
"description": "Medium 'sid' cookie value from medium.com (Application → Cookies). Used for authenticated reads + dashboard GraphQL.",
"isSecret": true,
"name": "MEDIUM_SID"
},
{
"description": "Medium 'uid' cookie value. Required alongside sid for some authenticated endpoints.",
"name": "MEDIUM_UID"
},
{
"description": "Medium 'xsrf' cookie value. Required for any dashboard write (post_response, publish_post, delete_post, draft updates).",
"isSecret": true,
"name": "MEDIUM_XSRF"
},
{
"description": "Cloudflare 'cf_clearance' cookie. Only required when Cloudflare challenges your IP for dashboard write calls.",
"isSecret": true,
"name": "MEDIUM_CF_CLEARANCE"
},
{
"description": "Your Medium handle (without the @). Required for the public RSS read path so the client knows whose feed to fetch.",
"name": "MEDIUM_USERNAME"
},
{
"description": "Override path to the mcp.json file the auth layer reads. Defaults to ~/.cursor/mcp.json.",
"name": "MEDIUM_OPS_MCP_PATH"
},
{
"description": "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.",
"name": "MEDIUM_OPS_LLM_CMD"
}
]
}
]
}
mcp
model-context-protocol
pypi
By
Comments
Sign in to leave a comment