← Back to Plugins
MCP Server MCP

Molpha MCP

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

npx -y @molpha/[email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "@molpha/mcp",
      "version": "0.1.2",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Signing backend: memory (local keypair) or keychain (Privy / Turnkey).",
          "isRequired": true,
          "default": "memory",
          "choices": [
            "memory",
            "keychain"
          ],
          "name": "SIGNER_BACKEND"
        },
        {
          "description": "Path to a Solana JSON keypair file. Required when SIGNER_BACKEND=memory.",
          "format": "filepath",
          "name": "OWNER_KEYPAIR"
        },
        {
          "description": "Keychain provider: privy or turnkey. Required when SIGNER_BACKEND=keychain.",
          "choices": [
            "privy",
            "turnkey"
          ],
          "name": "KEYCHAIN_BACKEND"
        },
        {
          "description": "Privy app ID. Required for KEYCHAIN_BACKEND=privy.",
          "isSecret": true,
          "name": "PRIVY_APP_ID"
        },
        {
          "description": "Privy app secret. Required for KEYCHAIN_BACKEND=privy.",
          "isSecret": true,
          "name": "PRIVY_APP_SECRET"
        },
        {
          "description": "Privy wallet ID. Required for KEYCHAIN_BACKEND=privy.",
          "isSecret": true,
          "name": "PRIVY_WALLET_ID"
        },
        {
          "description": "Solana address for the Privy wallet.",
          "name": "PRIVY_WALLET_ADDRESS"
        },
        {
          "description": "Turnkey API public key. Required for KEYCHAIN_BACKEND=turnkey.",
          "isSecret": true,
          "name": "TURNKEY_API_PUBLIC_KEY"
        },
        {
          "description": "Turnkey API private key. Required for KEYCHAIN_BACKEND=turnkey.",
          "isSecret": true,
          "name": "TURNKEY_API_PRIVATE_KEY"
        },
        {
          "description": "Turnkey organization ID. Required for KEYCHAIN_BACKEND=turnkey.",
          "isSecret": true,
          "name": "TURNKEY_ORGANIZATION_ID"
        },
        {
          "description": "Solana address for the Turnkey wallet.",
          "name": "TURNKEY_WALLET_ADDRESS"
        },
        {
          "description": "Solana RPC endpoint.",
          "default": "https://api.devnet.solana.com",
          "name": "SOLANA_RPC"
        },
        {
          "description": "Comma-separated Molpha gateway URLs. Leave empty to use the SDK default.",
          "name": "GATEWAY_ENDPOINTS"
        },
        {
          "description": "Comma-separated EVM verifier networks.",
          "default": "evm-sepolia",
          "name": "MOLPHA_EVM_NETWORKS"
        },
        {
          "description": "Comma-separated Starknet verifier networks.",
          "default": "starknet-sepolia",
          "name": "MOLPHA_STARKNET_NETWORKS"
        },
        {
          "description": "Preview all write and spend operations without submitting them.",
          "format": "boolean",
          "default": "false",
          "name": "MOLPHA_DRY_RUN"
        },
        {
          "description": "Process-local daily Solana submit cap.",
          "format": "number",
          "default": "100",
          "name": "MOLPHA_MAX_EXECUTES_PER_DAY"
        },
        {
          "description": "Refuse to fund an x402 round priced above this amount (decimal USDC).",
          "default": "1",
          "name": "MOLPHA_X402_MAX_PRICE_USDC"
        },
        {
          "description": "Process-local daily x402 spend cap (decimal USDC).",
          "default": "10",
          "name": "MOLPHA_X402_MAX_SPEND_PER_DAY_USDC"
        },
        {
          "description": "Optional settling gateway PDA (base58) to skip discovery when the escrow is already funded.",
          "name": "MOLPHA_X402_GATEWAY_PDA"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...