What is MCP?
Model Context Protocol (MCP) is Anthropic’s open standard for giving AI agents access to tools. Any MCP-compatible client — Claude Code, Claude Desktop, Cursor, Windsurf — can call the pull/story tools once you wire up the MCP server.Install
Get an API key
pullstory.com/dashboard/api-keys → Create key.
Pick your client
- Claude Code
- Claude Desktop
- Cursor
- Windsurf
Edit On native Windows, use
.mcp.json in your project root:"command": "cmd" and "args": ["/c", "npx", "-y", "@pullstory/mcp@latest"].Tools exposed
Input: structured brief with
title, summary, files, optional repo, flow, and highlights
Output: story ID, status, URLTriggers generation if an identical brief is not already cached.Input:
id returned by create_pull_story (brief_<16-hex>)
Output: status (generating | ready | failed | not_found), URL, duration, scene countSecurity
- Keep your API key in your environment or password manager; do not commit raw
ps_live_...values in project config - The key is sent only by the MCP server when it calls the pull/story API directly
- The MCP server is open source — you can audit exactly what it sends
- Revoke any key instantly from pullstory.com/dashboard/api-keys
Troubleshooting
MCP server doesn't start
MCP server doesn't start
Make sure you have Node 20+. The MCP server is a stdio process, so it stays open waiting for JSON-RPC messages when launched manually.
'Tool not found' in the agent
'Tool not found' in the agent
The MCP server is listed but tools aren’t visible. Run
/mcp (Claude Code) or restart the client. Some clients cache tool schemas.'Unauthorized' on every call
'Unauthorized' on every call