---
title: "Start Story Foundation"
method: POST
path: "/api/mcp/start_story_foundation"
tags: ["mcp"]
---

# Start Story Foundation

`POST /api/mcp/start_story_foundation`

## Request

- Base URL: `https://writer.swapp1990.org` (the document declares no server; this is the origin it was published from)
- URL: `https://writer.swapp1990.org/api/mcp/start_story_foundation`
- Auth: none declared

Create a premise-only story shell for the guided creation wizard.

This call deliberately performs no LLM work and creates no outline.
The intended sequence is research_world -> generate_cast ->
generate_outline -> start_writing, allowing each artifact to be
reviewed before it becomes context for the next one.

## Request body

- StartStoryFoundationInput: Create a premise-only story shell for the guided foundation flow.
  - `premise` string, required: The premise for the new story.
  - `chapter_count` integer, required: The number of chapters to generate after the foundation is approved.
  - `target_words_per_chapter` integer, nullable: Target word count per chapter.
  - `nsfw` boolean: Content-rating metadata; does not override client safety policies.
  - `model` string, nullable: Model override used by later foundation and writing steps.

## Response `200`

Successful Response

- StoryMutationResponse
  - `job_id` string, nullable
  - `status` string, nullable
  - `story_url` string, nullable
  - `chapter` integer, nullable
  - `kind` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/swapp1990/apis/writeforyou-mcp-api.md) · [All operations](https://skmtc.dev/swapp1990/apis/writeforyou-mcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/swapp1990/apis/writeforyou-mcp-api/revisions/ce5e2a89ab4d?raw)
