Skip to content
Molpha MCP
Install guide · Cursor

Install Molpha MCP for Cursor

Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

  1. Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.

  2. Paste the JSON config below.

  3. Replace placeholder secrets, then restart the client if it does not reload on its own.

~/.cursor/mcp.json
{  "mcpServers": {    "molpha-mcp": {      "command": "npx",      "args": [        "-y",        "@molpha/mcp@0.1.2"      ],      "env": {        "SIGNER_BACKEND": "memory",        "OWNER_KEYPAIR": "",        "KEYCHAIN_BACKEND": "",        "PRIVY_APP_ID": "YOUR_PRIVY_APP_ID",        "PRIVY_APP_SECRET": "YOUR_PRIVY_APP_SECRET",        "PRIVY_WALLET_ID": "YOUR_PRIVY_WALLET_ID",        "PRIVY_WALLET_ADDRESS": "",        "TURNKEY_API_PUBLIC_KEY": "YOUR_TURNKEY_API_PUBLIC_KEY",        "TURNKEY_API_PRIVATE_KEY": "YOUR_TURNKEY_API_PRIVATE_KEY",        "TURNKEY_ORGANIZATION_ID": "YOUR_TURNKEY_ORGANIZATION_ID",        "TURNKEY_WALLET_ADDRESS": "",        "SOLANA_RPC": "https://api.devnet.solana.com",        "GATEWAY_ENDPOINTS": "",        "MOLPHA_EVM_NETWORKS": "evm-sepolia",        "MOLPHA_STARKNET_NETWORKS": "starknet-sepolia",        "MOLPHA_DRY_RUN": "false",        "MOLPHA_MAX_EXECUTES_PER_DAY": "100",        "MOLPHA_X402_MAX_PRICE_USDC": "1",        "MOLPHA_X402_MAX_SPEND_PER_DAY_USDC": "10",        "MOLPHA_X402_GATEWAY_PDA": ""      }    }  }}

Where the config lives

SystemPath
macOS~/.cursor/mcp.json
Windows%USERPROFILE%\.cursor\mcp.json
Linux~/.cursor/mcp.json