Skip to content
VS Code

Molpha MCP for VS Code

io.github.molpha/mcp

MCP server that lets AI agents create, fetch, verify, and publish Molpha oracle data.

client:VS Code transport:stdio runtime:npm

Install Molpha MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "signer-backend",
      "description": "SIGNER_BACKEND",
      "password": true
    },
    {
      "type": "promptString",
      "id": "owner-keypair",
      "description": "OWNER_KEYPAIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "keychain-backend",
      "description": "KEYCHAIN_BACKEND",
      "password": true
    },
    {
      "type": "promptString",
      "id": "privy-app-id",
      "description": "PRIVY_APP_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "privy-app-secret",
      "description": "PRIVY_APP_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "privy-wallet-id",
      "description": "PRIVY_WALLET_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "privy-wallet-address",
      "description": "PRIVY_WALLET_ADDRESS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "turnkey-api-public-key",
      "description": "TURNKEY_API_PUBLIC_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "turnkey-api-private-key",
      "description": "TURNKEY_API_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "turnkey-organization-id",
      "description": "TURNKEY_ORGANIZATION_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "turnkey-wallet-address",
      "description": "TURNKEY_WALLET_ADDRESS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "solana-rpc",
      "description": "SOLANA_RPC",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gateway-endpoints",
      "description": "GATEWAY_ENDPOINTS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "molpha-evm-networks",
      "description": "MOLPHA_EVM_NETWORKS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "molpha-starknet-networks",
      "description": "MOLPHA_STARKNET_NETWORKS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "molpha-dry-run",
      "description": "MOLPHA_DRY_RUN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "molpha-max-executes-per-day",
      "description": "MOLPHA_MAX_EXECUTES_PER_DAY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "molpha-x402-max-price-usdc",
      "description": "MOLPHA_X402_MAX_PRICE_USDC",
      "password": true
    },
    {
      "type": "promptString",
      "id": "molpha-x402-max-spend-per-day-usdc",
      "description": "MOLPHA_X402_MAX_SPEND_PER_DAY_USDC",
      "password": true
    },
    {
      "type": "promptString",
      "id": "molpha-x402-gateway-pda",
      "description": "MOLPHA_X402_GATEWAY_PDA",
      "password": true
    }
  ],
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@molpha/mcp"
      ],
      "env": {
        "SIGNER_BACKEND": "${input:signer-backend}",
        "OWNER_KEYPAIR": "${input:owner-keypair}",
        "KEYCHAIN_BACKEND": "${input:keychain-backend}",
        "PRIVY_APP_ID": "${input:privy-app-id}",
        "PRIVY_APP_SECRET": "${input:privy-app-secret}",
        "PRIVY_WALLET_ID": "${input:privy-wallet-id}",
        "PRIVY_WALLET_ADDRESS": "${input:privy-wallet-address}",
        "TURNKEY_API_PUBLIC_KEY": "${input:turnkey-api-public-key}",
        "TURNKEY_API_PRIVATE_KEY": "${input:turnkey-api-private-key}",
        "TURNKEY_ORGANIZATION_ID": "${input:turnkey-organization-id}",
        "TURNKEY_WALLET_ADDRESS": "${input:turnkey-wallet-address}",
        "SOLANA_RPC": "${input:solana-rpc}",
        "GATEWAY_ENDPOINTS": "${input:gateway-endpoints}",
        "MOLPHA_EVM_NETWORKS": "${input:molpha-evm-networks}",
        "MOLPHA_STARKNET_NETWORKS": "${input:molpha-starknet-networks}",
        "MOLPHA_DRY_RUN": "${input:molpha-dry-run}",
        "MOLPHA_MAX_EXECUTES_PER_DAY": "${input:molpha-max-executes-per-day}",
        "MOLPHA_X402_MAX_PRICE_USDC": "${input:molpha-x402-max-price-usdc}",
        "MOLPHA_X402_MAX_SPEND_PER_DAY_USDC": "${input:molpha-x402-max-spend-per-day-usdc}",
        "MOLPHA_X402_GATEWAY_PDA": "${input:molpha-x402-gateway-pda}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Molpha MCP in other clients