Skip to content

API access

API Access connects StoryMint to external AI tools like Claude Desktop and Cursor through MCP (Model Context Protocol) — so you can ask your AI assistant about your campaigns, personas, visibility data, and content directly from its chat.

Find it under Profile → API Access.

Section titled “Connect with sign-in (recommended for Claude)”

Newer clients like Claude support connecting by URL alone:

  1. Copy the MCP URL shown in the Connect with sign-in box.
  2. Paste it into your client’s connector/MCP settings.
  3. The client asks you to sign in to StoryMint and approve access — no API key needed.

For clients configured by file:

  1. Enter a key name (e.g. Claude Desktop) and click Generate key. Keys look like sm_live_… — copy the full key when it’s shown.

  2. Add the provided JSON block to your MCP client config, replacing YOUR_API_KEY with your key:

    {
    "mcpServers": {
    "storymint": {
    "url": "https://<your-endpoint>/storymint-mcp",
    "headers": { "x-api-key": "YOUR_API_KEY" }
    }
    }
    }

    The exact URL for your account is shown on the API Access page.

  3. For clients that only accept a single URL field with no headers, use the URL-only variant shown on the page (…/storymint-mcp?key=YOUR_API_KEY).

Each key in the list shows its creation date and when it was last used — an easy way to spot unused keys. Revoke any key you no longer need; revoked keys stop working immediately and stay listed with a Revoked badge.