Skip to content
MCP server

MCP

Read your ParlayX account and the prediction markets from an MCP client.

Runs locallyStatus and history
Install
Runs
Locally
Version
0.1.1
Listing updated
4 days ago

About MCP

MCP is an MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp --env PARLAYX_KEY_ID='<PARLAYX_KEY_ID>' --env PARLAYX_PRIVATE_KEY_HEX='<PARLAYX_PRIVATE_KEY_HEX>' -- npx -y @parlayx/mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@parlayx/mcp"
      ],
      "env": {
        "PARLAYX_KEY_ID": "<PARLAYX_KEY_ID>",
        "PARLAYX_PRIVATE_KEY_HEX": "<PARLAYX_PRIVATE_KEY_HEX>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@parlayx/mcp"
      ],
      "env": {
        "PARLAYX_KEY_ID": "<PARLAYX_KEY_ID>",
        "PARLAYX_PRIVATE_KEY_HEX": "<PARLAYX_PRIVATE_KEY_HEX>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@parlayx/mcp"
      ],
      "env": {
        "PARLAYX_KEY_ID": "<PARLAYX_KEY_ID>",
        "PARLAYX_PRIVATE_KEY_HEX": "<PARLAYX_PRIVATE_KEY_HEX>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@parlayx/mcp"
      ],
      "env": {
        "PARLAYX_KEY_ID": "<PARLAYX_KEY_ID>",
        "PARLAYX_PRIVATE_KEY_HEX": "<PARLAYX_PRIVATE_KEY_HEX>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@parlayx/mcp"
      ],
      "env": {
        "PARLAYX_KEY_ID": "<PARLAYX_KEY_ID>",
        "PARLAYX_PRIVATE_KEY_HEX": "<PARLAYX_PRIVATE_KEY_HEX>"
      }
    }
  }
}

Configuration

  • PARLAYX_KEY_IDThe key id issued with your ParlayX signing keypair.Required
  • PARLAYX_PRIVATE_KEY_HEXYour Ed25519 private key seed, 64 lowercase hex characters. It stays on your machine.Required
  • PARLAYX_MCP_ALLOW_TRADINGSet to 1 to register the four order tools. They stay hidden without it, and also require a key carrying the trade capability.

MCP FAQ

How do I add MCP to Claude Code?

Run this command in your terminal: claude mcp add mcp --env PARLAYX_KEY_ID='<PARLAYX_KEY_ID>' --env PARLAYX_PRIVATE_KEY_HEX='<PARLAYX_PRIVATE_KEY_HEX>' -- npx -y @parlayx/mcp