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.
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.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
| Variable | Required | Default | Notes |
|---|---|---|---|
PARLAY_API_KEY | yes | — | Your Parlay key (pk_sandbox_… or pk_live_…) |
PARLAY_API_BASE_URL | no | sandbox URL | Override for self-hosted Parlay or staging |
PARLAY_MCP_LOG_LEVEL | no | info | debug for full request/response logs |
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
parlay-api-dev-o7nogixtqq-uc.a.run.app. 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

