npx. No global install required — your AI client spawns a fresh @goparlay/mcp-server process per session.
Before you start
You need:- A Parlay API key (
pk_sandbox_…orpk_live_…). Get one if you haven’t already. - Node.js 18+ installed on your machine (for
npx).
Pick your client
- Claude Desktop
- Cursor
- Windsurf
- Claude Code (CLI)
- Continue (VS Code / JetBrains)
- Zed
- Anthropic SDK (TypeScript)
- Custom MCP client
Claude’s desktop app reads MCP servers from a JSON config file.If you already have other MCP servers, add
1
Open the config file
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows: %APPDATA%\Claude\claude_desktop_config.jsonCreate the file if it doesn’t exist.2
Add Parlay
"parlay" as a sibling key.3
Restart Claude Desktop
Fully quit (
Cmd+Q / Ctrl+Q) and reopen. Look for the tool icon in the conversation toolbar — you should see Parlay listed with 63 tools.Verify it’s working
In your AI client, paste this:key_environment: "sandbox" matches the prefix of your key, you’re good.
Environment variables reference
Common pitfall — don’t set
PARLAY_API_BASE_URL. Older config snippets
online may show this pointing at a Vercel preview URL or parlay-api-dev.
Those are stale. The default (production) is correct for everyone.Troubleshooting
The Parlay server shows red / not running
The Parlay server shows red / not running
Open your client’s MCP logs (Claude Desktop:
~/Library/Logs/Claude/mcp-server-parlay.log). Common causes:PARLAY_API_KEY is not set— env block isn’t reaching the subprocess. Double-check the JSON config.Cannot find module @goparlay/mcp-server— npx couldn’t resolve the package. Runnpx -y @goparlay/mcp-server@latest --helpfrom a terminal to verify it works standalone.npx: command not found— install Node.js 18+.
Tools appear but every call fails with `authentication_required`
Tools appear but every call fails with `authentication_required`
Your key is invalid or expired. Test with:If that returns
401, regenerate your key.Tool calls hang for minutes
Tool calls hang for minutes
Async tools (
analyze_recording, assign_rep_persona, etc.) wait for the AI job to complete. Real audio takes 30–90 seconds. Mock fixtures should be near-instant — if they hang, your key may not have access to the right environment.I'm using a corporate proxy / firewall
I'm using a corporate proxy / firewall
The MCP server makes outbound HTTPS calls to
api.goparlay.io. Whitelist that domain (or your live equivalent). The MCP server reads HTTPS_PROXY from the environment if set.Next steps
Tool catalog
All 63 tools, what they do, when to use which
Examples
Paste-ready prompts that demonstrate real workflows

