Connect via MCP

Anthra speaks the Model Context Protocol over Streamable HTTP at /api/mcp. Any MCP-compatible client (Claude Desktop, Cursor, Claude Code, Continue, …) can authenticate with one of your personal access tokens and call Anthra’s tools.

Endpoint

URL:    https://anthra.com/api/mcp
Method: POST (JSON-RPC)
Auth:   Authorization: Bearer ant_live_…
Protocol revision: 2025-06-18

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent on your OS:

{
  "mcpServers": {
    "anthra": {
      "url": "https://anthra.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ant_live_…"
      }
    }
  }
}

Restart Claude Desktop. You should see anthra appear in the tools list with entries like create_book, generate_outline, write_chapter, and publish_book.

Claude Code

claude mcp add --transport http anthra \
  https://anthra.com/api/mcp \
  --header "Authorization: Bearer ant_live_…"

Cursor

In Cursor’s settings → Tools & Integrations Add MCP Server:

{
  "mcpServers": {
    "anthra": {
      "url": "https://anthra.com/api/mcp",
      "headers": { "Authorization": "Bearer ant_live_…" }
    }
  }
}

What the model can do

The Anthra MCP exposes the same operations as the REST API. The model will:

  • List, read, create, update, and delete books, chapters, and collaborators (books:read, books:write).
  • Drive the planning surface — theme statement, reader promise, comp authors, beat sheet, POV / tense locks, characters with want / fear / lie, inter-character conflicts, premise interview, premise pitches, outline grader, outline variants, genre detect, era research, mood references, outline snapshots.
  • Manage the writer's bible — characters, plot outline, theme outline, style guide, worldbuilding, glossary, synopsis, lore, setting bible, era research. Read, write, auto-draft, and roll back via revisions.
  • Generate outlines, write chapters, rewrite with a directive, run continuity / cliché / repetition / style-drift / spoken-readability / sensitivity checks, and synthesize narration (generation:run).
  • Cover & production — choose cover color, generate cover / back cover / spine / chapter images, compose the print-ready wraparound spread, render the manuscript to EPUB / DOCX / PDF, export to Markdown, batch-narrate every chapter, and translate the book into another language.
  • Chapter restructuring — list, edit, split, merge, reorder chapters and roll back to any saved revision.
  • List the narration voice catalog (list_voices) to pick a voice before kicking off narration.
  • Publish books and toggle visibility (publish:write).
  • Read account usage, background-job status, and reader analytics (account:read, analytics:read).

Tools that mutate or spend tokens are gated behind their scope — a key without generation:run can still let the model list and read your books but won’t allow generation.

Recommended scopes for a chat-only client

books:read
books:write
generation:run
publish:write

Add account:read and analytics:read if you want the model to reason about spend or reader behaviour.

See the full tool reference for every operation, its arguments, and which scope it requires.