Skip to content

MCP Server

Cryyer includes an MCP (Model Context Protocol) server that lets you review, edit, and send drafts conversationally in Claude Desktop. It also supports subscriber management.

Terminal window
pnpm run build # compiles dist/mcp.js

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
"mcpServers": {
"cryyer": {
"command": "node",
"args": ["/path/to/cryyer/dist/mcp.js"],
"env": {
"GITHUB_TOKEN": "ghp_...",
"CRYYER_REPO": "owner/repo",
"CRYYER_ROOT": "/path/to/cryyer",
"RESEND_API_KEY": "re_...",
"FROM_EMAIL": "updates@example.com",
"SUBSCRIBER_STORE": "json",
"LLM_PROVIDER": "anthropic",
"ANTHROPIC_API_KEY": "sk-ant-..."
}
}
}
}

Only GITHUB_TOKEN and CRYYER_REPO are needed for read-only tools (list_drafts, get_draft). Other env vars are needed for sending, regenerating, and subscriber management.

ToolDescription
list_draftsList open draft issues
get_draftGet full draft content with subscriber count
update_draftSave revised subject + body
send_draftSend emails, close issue, post stats
regenerate_draftRe-gather activity + re-draft via LLM
list_productsShow configured products
list_subscribersShow subscribers for a product (optional audience_id)
add_subscriberAdd a subscriber to a product (optional audience_id)
remove_subscriberUnsubscribe someone from a product (optional audience_id)

Use the review_drafts prompt for the review workflow — it walks through each pending draft and asks whether to send, edit, regenerate, or skip.

You can also run the MCP server via npx without cloning the repo:

{
"mcpServers": {
"cryyer": {
"command": "npx",
"args": ["@atriumn/cryyer-mcp"],
"env": { ... }
}
}
}