Skip to main content
The Parlay MCP server runs as a local subprocess via 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_… or pk_live_…). Get one if you haven’t already.
  • Node.js 18+ installed on your machine (for npx).
That’s it. No Bun, no Docker, no cloud deploy.

Pick your client

Claude’s desktop app reads MCP servers from a JSON config file.
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

{
  "mcpServers": {
    "parlay": {
      "command": "npx",
      "args": ["-y", "@goparlay/mcp-server@latest"],
      "env": {
        "PARLAY_API_KEY": "pk_sandbox_YOUR_KEY"
      }
    }
  }
}
If you already have other MCP servers, add "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:
Use parlay tools to ping the server and tell me which environment I'm connected to.
You should see something like:
{
  "pong": true,
  "echo": null,
  "timestamp": "2026-04-24T17:56:41.748Z",
  "base_url": "https://parlay-api-dev-o7nogixtqq-uc.a.run.app",
  "key_environment": "sandbox",
  "server": "@goparlay/mcp-server@0.1.0"
}
If key_environment: "sandbox" matches the prefix of your key, you’re good.

Environment variables reference

VariableRequiredDefaultNotes
PARLAY_API_KEYyesYour Parlay key (pk_sandbox_… or pk_live_…)
PARLAY_API_BASE_URLnosandbox URLOverride for self-hosted Parlay or staging
PARLAY_MCP_LOG_LEVELnoinfodebug for full request/response logs

Troubleshooting

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. Run npx -y @goparlay/mcp-server@latest --help from a terminal to verify it works standalone.
  • npx: command not found — install Node.js 18+.
Your key is invalid or expired. Test with:
curl https://parlay-api-dev-o7nogixtqq-uc.a.run.app/v1/personas \
  -H "Authorization: Bearer YOUR_KEY"
If that returns 401, regenerate your key.
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.
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