Story LanternEvery story begins with a little light

Help me get my MCP connected

Story Lantern is one MCP server. Claude, Claude Code, VS Code, ChatGPT, and Microsoft Copilot Studio are five doors into it. Each door’s only job is to get you a Story Lantern login and then call the same URL. You do not create an OAuth app by hand. The server’s discovery document and dynamic client registration do that when the client follows the URL.

Use it when the story idea is already in the chat. The assistant starts an illustrated children's story, continues past the casting pause, and later rewrites a chapter or replaces prose you supply. That work runs in this Story Lantern library. Generation continues after the chat moves on. Come back and ask for the edit when the chapters have prose.

Server URL — paste this into every door

Loading the server URL…

When a door opens the browser, sign in with your Story Lantern account. The connector creates and edits stories you are allowed to change. New stories stay private to that account.

Door 1Claude

Claude’s Connectors call Story Lantern from Anthropic’s cloud. You paste one URL. Dynamic client registration fills in the OAuth client, then the browser asks you to sign in.

Add the connector

  1. In Claude, open Customize → Connectors → Add custom connector.
  2. Choose Web and paste the server URL above. Leave the OAuth client id and secret blank.
  3. Save, then Connect. A browser tab opens the Story Lantern sign-in page.
  4. Sign in with your Story Lantern account and choose Allow. Creating a story needs an active $10/month subscription, or author access granted by a super admin.
  5. Start a chat with the connector enabled. Ask Claude to start a story from a premise, then later to rewrite or replace a chapter.
Door 2Claude Code

The terminal client registers the same URL. The first call opens a browser for the Story Lantern sign-in. After that, the tools are available in the session.

Register the server

  1. From a terminal, run the command in the box above. Add -s project if you want the server written into .mcp.json for the repo.
  2. When the browser opens, sign in to Story Lantern and choose Allow.
  3. Run claude mcp list. Story Lantern should report connected.
  4. Ask Claude Code to start a story from a premise. Poll get_story. When status is casting, call confirm_cast. Later, rewrite_chapter or edit_chapter changes a chapter that already has prose.
Door 3VS Code Copilot

VS Code reads the discovery document itself. The workspace file is only the URL. No client secret, no callback port, no local bridge.

Add the workspace server

  1. Save the JSON in the box above as .vscode/mcp.json in the project.
  2. Open the Command Palette and run MCP: List Servers.
  3. Start story-lantern. VS Code fetches the OAuth metadata, registers itself, and opens the Story Lantern sign-in page.
  4. After you allow access, the Story Lantern tools show up in Copilot Chat’s tool picker and in agent mode. Ask it to create a story, then come back and edit a chapter.
Door 4ChatGPT

ChatGPT is the other cloud door. It can connect as an MCP connector, which uses the same discovery and registration handshake, or as a custom GPT action that imports the OpenAPI file.

Option A — MCP connector

  1. In ChatGPT, open Settings → Connectors (or Apps) and add a custom connector.
  2. Paste the server URL above. ChatGPT should discover the OAuth settings and set Registration method to Dynamic client registration. Leave the client id and secret blank so it registers itself. If it stays on User-Defined OAuth Client, choose Retry discovery.
  3. Continue. The browser opens the Story Lantern sign-in page. Sign in and choose Allow.
  4. In a chat, enable the connector. Ask for a story from a premise. When the story is waiting on the cast, ask it to confirm the cast. When you come back, ask it to rewrite a chapter.

Option B — custom GPT actions

  1. Create a GPT and open Configure → Actions → Import from URL.
  2. Import the OpenAPI document at the actions URL in the box above.
  3. Set authentication to OAuth. Authorization URL is the authorize endpoint, token URL is the token endpoint, scope is lantern.stories. Leave the client secret empty.
  4. Save and start a conversation. The first action opens the Story Lantern sign-in page.
Door 5Microsoft Copilot Studio

Copilot Studio calls Story Lantern from Microsoft’s cloud, the same way Claude’s connectors do. The wizard uses discovery and dynamic client registration. The server URL has to be the public address above, because the call does not come from your laptop.

Add the MCP tool

  1. Open copilotstudio.microsoft.com and use the environment picker in the top-right header. Copilot Studio opens in the Default environment unless you switch. The environment’s data policy has to allow story.paperiq.ai. If connect says the connection is not allowed per policy, that block is Power Platform data loss prevention, and the fix is an environment whose policy allows this host.
  2. Create → New agent, give it a name, and save. The environment needs a Dataverse database or the agent will not appear in the picker.
  3. Open Tools → Add a tool → Model Context Protocol. Paste the server URL above. Choose OAuth 2.0 with dynamic client registration and leave the client id and secret blank.
  4. Create the connection. The browser opens the Story Lantern sign-in page. Sign in and choose Allow. Copilot Studio’s consent redirect is on global.consent.azure-apim.net, and Story Lantern accepts that host.
  5. Ask the agent to start a story from a premise, or to edit a chapter in a story you already started.

If a door fails, check the client before the server. A request to the server URL with no token should come back 401. That means Story Lantern is up and waiting for the sign-in. A timeout means the URL is not reachable. A dismissed browser login looks the same as a dead connector.