Storywright MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ANTHROPIC_API_KEY | No | Anthropic API key (optional if using ANTHROPIC_AUTH_TOKEN) | |
| ANTHROPIC_BASE_URL | No | Base URL for Anthropic-compatible API (e.g. MiniMax) | |
| ANTHROPIC_AUTH_TOKEN | No | Anthropic Bearer token for MiniMax (optional if using ANTHROPIC_API_KEY) | |
| STORYWRIGHT_STATE_DIR | No | Directory for last_project.json (default ~/.storywright) | |
| STORYWRIGHT_PROJECTS_ROOT | No | Parent directory for book projects | |
| STORYWRIGHT_ANTHROPIC_MODEL | No | Model ID to use (e.g. MiniMax-M2.7) | |
| STORYWRIGHT_ANTHROPIC_MAX_RETRIES | No | Retries for transient API failures (default 2) | |
| STORYWRIGHT_PRIOR_CHAPTERS_MAX_COUNT | No | Max number of prior chapters (default 8) | |
| STORYWRIGHT_PRIOR_CHAPTERS_MAX_WORDS | No | Max words of prior approved prose (default 12000) | |
| STORYWRIGHT_ANTHROPIC_RETRY_DELAY_SECONDS | No | Base delay between retries (default 2.0) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_book_projectC | Create a new book project under book_projects/ (or STORYWRIGHT_PROJECTS_ROOT). Loads the new project. |
| load_book_projectB | Load an existing project from disk (prefer absolute paths). |
| load_last_book_projectA | Load the last successfully opened project from ~/.storywright/last_project.json if valid. |
| get_project_statusB | Markdown table of chapters, statuses, editor verdicts, third-pass completion. |
| check_environmentA | Verify ANTHROPIC_API_KEY and show model / prior-chapter budget / Storywright version. |
| get_pipeline_statusB | Next MCP tool to call per chapter (guarded pipeline hints). |
| get_continuity_logC | JSON continuity log. |
| add_chapterC | Register a chapter outline. |
| add_characterC | Add a character and continuity entry. |
| add_deathC | Schedule a canonical death. |
| add_running_gagD | Register a running gag. |
| add_inventory_itemD | Track an inventory item. |
| plan_bookC | Phased book bible planning (identity→…→tone); completes with sync to project config. |
| update_planC | Patch book_bible.json; may sync characters/deaths/gags into project. |
| get_book_bibleD | Readable bible markdown. |
| start_chapterB | Open drafting for a chapter (NOT_STARTED → DRAFT). |
| run_writer_agentA | Draft chapter via Claude (DRAW → AWAITING_EDITOR). Requires ANTHROPIC_API_KEY. |
| run_editor_reviewC | Editor pass after writer. |
| run_third_agentB | Third-pass reviewer (comedy, pacing, …). Repeat until all project.third_agents covered. |
| list_third_agentsA | List built-in third-pass agents. |
| approve_chapterA | Approve chapter; updates continuity. Requires all configured third passes unless force=true. |
| request_revisionC | Send chapter back to writer with notes. |
| get_chapter_statusC | Inspect one chapter. |
| get_living_charactersD | – |
| get_inventoryD | – |
| get_running_gagsD | – |
| mark_character_deadD | – |
| transfer_itemD | – |
| fire_gagD | – |
| add_locationD | – |
| add_established_factD | – |
| export_manuscriptC | Concatenate approved chapters into one markdown file at project root. |
| diff_chapterC | Diff current draft vs |
| search_manuscriptC | Substring search across manuscript/*.md. |
| scan_manuscript_markersA | Find TODO/FIXME/DRAFT/TBD/XXX markers in manuscript markdown. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| guarded_chapter_pipeline | Recommended tool order for one chapter. |
| planning_wizard | Book bible phases. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| resource_book_config | |
| resource_continuity | |
| resource_bible | |
| resource_project_path | |
| resource_version | Server package version (for debugging configs). |
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/BurgersJackson/storywright-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server