ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Molpha MCP

โดย molphaรุ่น 0.1.2i★ –iรันบนเครื่อง
ชื่อใน registryio.github.molpha/mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ
  • ต้องใส่ค่าเหล่านี้: SIGNER_BACKEND, PRIVY_APP_ID, PRIVY_APP_SECRET, PRIVY_WALLET_ID, TURNKEY_API_PUBLIC_KEY, TURNKEY_API_PRIVATE_KEY, TURNKEY_ORGANIZATION_ID

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: SIGNER_BACKEND, OWNER_KEYPAIR, KEYCHAIN_BACKEND, PRIVY_APP_ID, PRIVY_APP_SECRET, PRIVY_WALLET_ID, PRIVY_WALLET_ADDRESS, TURNKEY_API_PUBLIC_KEY, TURNKEY_API_PRIVATE_KEY, TURNKEY_ORGANIZATION_ID, TURNKEY_WALLET_ADDRESS, SOLANA_RPC, GATEWAY_ENDPOINTS, MOLPHA_EVM_NETWORKS, MOLPHA_STARKNET_NETWORKS, MOLPHA_DRY_RUN, MOLPHA_MAX_EXECUTES_PER_DAY, MOLPHA_X402_MAX_PRICE_USDC, MOLPHA_X402_MAX_SPEND_PER_DAY_USDC, MOLPHA_X402_GATEWAY_PDA

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "molpha": {
      "command": "npx",
      "args": [
        "-y",
        "@molpha/mcp"
      ],
      "env": {
        "SIGNER_BACKEND": "ใส่ค่าของคุณ",
        "OWNER_KEYPAIR": "ใส่ค่าของคุณ",
        "KEYCHAIN_BACKEND": "ใส่ค่าของคุณ",
        "PRIVY_APP_ID": "ใส่ค่าของคุณ",
        "PRIVY_APP_SECRET": "ใส่ค่าของคุณ",
        "PRIVY_WALLET_ID": "ใส่ค่าของคุณ",
        "PRIVY_WALLET_ADDRESS": "ใส่ค่าของคุณ",
        "TURNKEY_API_PUBLIC_KEY": "ใส่ค่าของคุณ",
        "TURNKEY_API_PRIVATE_KEY": "ใส่ค่าของคุณ",
        "TURNKEY_ORGANIZATION_ID": "ใส่ค่าของคุณ",
        "TURNKEY_WALLET_ADDRESS": "ใส่ค่าของคุณ",
        "SOLANA_RPC": "ใส่ค่าของคุณ",
        "GATEWAY_ENDPOINTS": "ใส่ค่าของคุณ",
        "MOLPHA_EVM_NETWORKS": "ใส่ค่าของคุณ",
        "MOLPHA_STARKNET_NETWORKS": "ใส่ค่าของคุณ",
        "MOLPHA_DRY_RUN": "ใส่ค่าของคุณ",
        "MOLPHA_MAX_EXECUTES_PER_DAY": "ใส่ค่าของคุณ",
        "MOLPHA_X402_MAX_PRICE_USDC": "ใส่ค่าของคุณ",
        "MOLPHA_X402_MAX_SPEND_PER_DAY_USDC": "ใส่ค่าของคุณ",
        "MOLPHA_X402_GATEWAY_PDA": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add molpha --env SIGNER_BACKEND='ใส่ค่าของคุณ' --env OWNER_KEYPAIR='ใส่ค่าของคุณ' --env KEYCHAIN_BACKEND='ใส่ค่าของคุณ' --env PRIVY_APP_ID='ใส่ค่าของคุณ' --env PRIVY_APP_SECRET='ใส่ค่าของคุณ' --env PRIVY_WALLET_ID='ใส่ค่าของคุณ' --env PRIVY_WALLET_ADDRESS='ใส่ค่าของคุณ' --env TURNKEY_API_PUBLIC_KEY='ใส่ค่าของคุณ' --env TURNKEY_API_PRIVATE_KEY='ใส่ค่าของคุณ' --env TURNKEY_ORGANIZATION_ID='ใส่ค่าของคุณ' --env TURNKEY_WALLET_ADDRESS='ใส่ค่าของคุณ' --env SOLANA_RPC='ใส่ค่าของคุณ' --env GATEWAY_ENDPOINTS='ใส่ค่าของคุณ' --env MOLPHA_EVM_NETWORKS='ใส่ค่าของคุณ' --env MOLPHA_STARKNET_NETWORKS='ใส่ค่าของคุณ' --env MOLPHA_DRY_RUN='ใส่ค่าของคุณ' --env MOLPHA_MAX_EXECUTES_PER_DAY='ใส่ค่าของคุณ' --env MOLPHA_X402_MAX_PRICE_USDC='ใส่ค่าของคุณ' --env MOLPHA_X402_MAX_SPEND_PER_DAY_USDC='ใส่ค่าของคุณ' --env MOLPHA_X402_GATEWAY_PDA='ใส่ค่าของคุณ' -- npx -y @molpha/mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "molpha": {
      "command": "npx",
      "args": [
        "-y",
        "@molpha/mcp"
      ],
      "env": {
        "SIGNER_BACKEND": "ใส่ค่าของคุณ",
        "OWNER_KEYPAIR": "ใส่ค่าของคุณ",
        "KEYCHAIN_BACKEND": "ใส่ค่าของคุณ",
        "PRIVY_APP_ID": "ใส่ค่าของคุณ",
        "PRIVY_APP_SECRET": "ใส่ค่าของคุณ",
        "PRIVY_WALLET_ID": "ใส่ค่าของคุณ",
        "PRIVY_WALLET_ADDRESS": "ใส่ค่าของคุณ",
        "TURNKEY_API_PUBLIC_KEY": "ใส่ค่าของคุณ",
        "TURNKEY_API_PRIVATE_KEY": "ใส่ค่าของคุณ",
        "TURNKEY_ORGANIZATION_ID": "ใส่ค่าของคุณ",
        "TURNKEY_WALLET_ADDRESS": "ใส่ค่าของคุณ",
        "SOLANA_RPC": "ใส่ค่าของคุณ",
        "GATEWAY_ENDPOINTS": "ใส่ค่าของคุณ",
        "MOLPHA_EVM_NETWORKS": "ใส่ค่าของคุณ",
        "MOLPHA_STARKNET_NETWORKS": "ใส่ค่าของคุณ",
        "MOLPHA_DRY_RUN": "ใส่ค่าของคุณ",
        "MOLPHA_MAX_EXECUTES_PER_DAY": "ใส่ค่าของคุณ",
        "MOLPHA_X402_MAX_PRICE_USDC": "ใส่ค่าของคุณ",
        "MOLPHA_X402_MAX_SPEND_PER_DAY_USDC": "ใส่ค่าของคุณ",
        "MOLPHA_X402_GATEWAY_PDA": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "molpha": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@molpha/mcp"
      ],
      "env": {
        "SIGNER_BACKEND": "ใส่ค่าของคุณ",
        "OWNER_KEYPAIR": "ใส่ค่าของคุณ",
        "KEYCHAIN_BACKEND": "ใส่ค่าของคุณ",
        "PRIVY_APP_ID": "ใส่ค่าของคุณ",
        "PRIVY_APP_SECRET": "ใส่ค่าของคุณ",
        "PRIVY_WALLET_ID": "ใส่ค่าของคุณ",
        "PRIVY_WALLET_ADDRESS": "ใส่ค่าของคุณ",
        "TURNKEY_API_PUBLIC_KEY": "ใส่ค่าของคุณ",
        "TURNKEY_API_PRIVATE_KEY": "ใส่ค่าของคุณ",
        "TURNKEY_ORGANIZATION_ID": "ใส่ค่าของคุณ",
        "TURNKEY_WALLET_ADDRESS": "ใส่ค่าของคุณ",
        "SOLANA_RPC": "ใส่ค่าของคุณ",
        "GATEWAY_ENDPOINTS": "ใส่ค่าของคุณ",
        "MOLPHA_EVM_NETWORKS": "ใส่ค่าของคุณ",
        "MOLPHA_STARKNET_NETWORKS": "ใส่ค่าของคุณ",
        "MOLPHA_DRY_RUN": "ใส่ค่าของคุณ",
        "MOLPHA_MAX_EXECUTES_PER_DAY": "ใส่ค่าของคุณ",
        "MOLPHA_X402_MAX_PRICE_USDC": "ใส่ค่าของคุณ",
        "MOLPHA_X402_MAX_SPEND_PER_DAY_USDC": "ใส่ค่าของคุณ",
        "MOLPHA_X402_GATEWAY_PDA": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • SIGNER_BACKEND จำเป็น env
    Signing backend: memory (local keypair) or keychain (Privy / Turnkey).
  • OWNER_KEYPAIR env
    Path to a Solana JSON keypair file. Required when SIGNER_BACKEND=memory.
  • KEYCHAIN_BACKEND env
    Keychain provider: privy or turnkey. Required when SIGNER_BACKEND=keychain.
  • PRIVY_APP_ID ความลับ env
    Privy app ID. Required for KEYCHAIN_BACKEND=privy.
  • PRIVY_APP_SECRET ความลับ env
    Privy app secret. Required for KEYCHAIN_BACKEND=privy.
  • PRIVY_WALLET_ID ความลับ env
    Privy wallet ID. Required for KEYCHAIN_BACKEND=privy.
  • PRIVY_WALLET_ADDRESS env
    Solana address for the Privy wallet.
  • TURNKEY_API_PUBLIC_KEY ความลับ env
    Turnkey API public key. Required for KEYCHAIN_BACKEND=turnkey.
  • TURNKEY_API_PRIVATE_KEY ความลับ env
    Turnkey API private key. Required for KEYCHAIN_BACKEND=turnkey.
  • TURNKEY_ORGANIZATION_ID ความลับ env
    Turnkey organization ID. Required for KEYCHAIN_BACKEND=turnkey.
  • TURNKEY_WALLET_ADDRESS env
    Solana address for the Turnkey wallet.
  • SOLANA_RPC env
    Solana RPC endpoint.
  • GATEWAY_ENDPOINTS env
    Comma-separated Molpha gateway URLs. Leave empty to use the SDK default.
  • MOLPHA_EVM_NETWORKS env
    Comma-separated EVM verifier networks.
  • MOLPHA_STARKNET_NETWORKS env
    Comma-separated Starknet verifier networks.
  • MOLPHA_DRY_RUN env
    Preview all write and spend operations without submitting them.
  • MOLPHA_MAX_EXECUTES_PER_DAY env
    Process-local daily Solana submit cap.
  • MOLPHA_X402_MAX_PRICE_USDC env
    Refuse to fund an x402 round priced above this amount (decimal USDC).
  • MOLPHA_X402_MAX_SPEND_PER_DAY_USDC env
    Process-local daily x402 spend cap (decimal USDC).
  • MOLPHA_X402_GATEWAY_PDA env
    Optional settling gateway PDA (base58) to skip discovery when the escrow is already funded.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub molpha ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32403 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 19% ของอีก 32403 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32403 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Molpha MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: SIGNER_BACKEND, PRIVY_APP_ID, PRIVY_APP_SECRET, PRIVY_WALLET_ID, TURNKEY_API_PUBLIC_KEY, TURNKEY_API_PRIVATE_KEY, TURNKEY_ORGANIZATION_ID

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.2) เข้า registry 4 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, LickityClick

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวาน
ติดตั้ง

LickityClick

โดย lickity.click

Create, edit and track LickityClick short links, campaigns and click stats from your AI assistant.

บนเครื่องหรือคลาวด์อัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

Molpha MCP

A Model Context Protocol (MCP) server that lets AI agents fetch signed Molpha oracle data, publish it on Solana, and build verifier calldata for EVM and Starknet.

Molpha turns HTTP API responses into threshold-signed payloads that can be verified on Solana, EVM, and Starknet. This server exposes that workflow as MCP tools, with signing behind a local, Privy, or Turnkey wallet, or, on mcp.molpha.io, behind your own wallet.

[!WARNING]

This release targets Solana Devnet and Sepolia verifier networks. Treat it as testnet software, not a production security boundary. Write tools spend SOL, and round tools may consume subscription quota or pay USDC for x402 rounds, unless dry-run mode is enabled.

Quick start

Two recommended ways to connect:

mcp.molpha.ioLocal (stdio)
InstallNothing: add the URL to your clientnpx, Node.js 24 or later
SignerYour own wallet. The server holds no key.Local keypair, Privy or Turnkey, held by the server
Subscription roundsSign in with SIWX, then execute_subscription_roundexecute_subscription_round
Spending limitsYour wallet's own policyDry-run lock and daily caps in the server
Best forGetting started, agents that bring their own walletUnattended agents, private API sources
mcp.molpha.io

Nothing to install, and no keys to hand over. Add the URL to your client.

Claude Code:

claude mcp add --transport http molpha https://mcp.molpha.io/mcp

Cursor (.cursor/mcp.json):

{ "mcpServers": { "molpha": { "url": "https://mcp.molpha.io/mcp" } } }

The read tools work straight away. The server has no wallet of its own, so name the one you mean: submitter for describe_feed and get_latest_value, payer for get_x402_status.

Anything that needs a signature is returned for your own wallet to sign, so each such operation is two or three tool calls around one signature:

OperationTools, in orderThe wallet signs
Subscription roundbegin_session → complete_session → execute_subscription_roundA text message, once per session
x402 roundprepare_x402_round → execute_x402_roundA USDC transfer, not broadcast
Solana submitprepare_submit_attestation → send_signed_transactionThe submit transaction

autoSubmit, dryRun and encryptSecrets are not offered here. Set spending limits in the wallet's own policy, and use the local server for private API work.

Sign in with your wallet (SIWX)

A subscription round on mcp.molpha.io is authorized by a sign-in session: the wallet signs one Sign-In-With-X text message (the x402 sign-in-with-x extension, in its Solana form), and the gateway issues a short-lived bearer token. The message is not a transaction and moves no funds.

StepCallResult
1describe_access({ address, owner? })Whether the wallet is a subscription owner or delegate, and its limits
2begin_session({ address, owner? })The message to sign and an opaque challenge
3The wallet signs messageAn Ed25519 signature over its exact UTF-8 bytes
4complete_session({ challenge, signature })A sessionToken and its expiresAt
5execute_subscription_round({ sessionToken, apiConfig, signaturesRequired, chains })The signed attestation and verifier arguments
  • Who can sign in. The subscription owner, or a delegate the owner added with add_delegate. A delegate passes the owner's address as owner.
  • How to sign. The message as returned: raw UTF-8, no prefix, no envelope, no trailing newline. The signature may be base58, base64 or hex. solana sign-offchain-message wraps the text and is refused with invalid_signature.
  • What the token is. A credential for one wallet and one gateway, valid 30 minutes by default and never past the subscription term. It only identifies the caller: the gateway re-reads the subscription and delegate from chain on every round, so remove_delegate ends access whatever tokens exist. It passes through this server and is never stored or logged.
  • What it needs. A gateway with sessionAuth: true in GET /v1/info. Otherwise begin_session answers sessions_unavailable and x402 rounds remain available.

The full walkthrough, with a signing example, delegate setup, gateway routes and error codes, is in docs/integration.md.

Local (stdio)

The server runs on your machine and holds the signer, so one tool call runs a round or submits to Solana, and MOLPHA_DRY_RUN keeps every write a preview until you turn it off.

Needs Node.js 24 or later. Nothing to clone or build.

1. Look around, no wallet. Read-only: capabilities, providers, sourceIds, prices, feed values.

claude mcp add molpha -- npx -y @molpha/mcp@0.2.0 --read-only

2. Build with a testnet wallet. Put your signer settings in a .env file (see Setup), then check them. The doctor prints a ready-to-paste config for your client, with secrets left as placeholders:

npx -y @molpha/mcp@0.2.0 doctor

A config like this keeps every write a preview (MOLPHA_DRY_RUN=true):

claude mcp add molpha -e SIGNER_BACKEND=keychain -e KEYCHAIN_BACKEND=privy -e PRIVY_APP_ID='<privy-app-id>' -e PRIVY_APP_SECRET='<privy-app-secret>' -e PRIVY_WALLET_ID='<privy-wallet-id>' -e PRIVY_WALLET_ADDRESS='<base58-solana-address>' -e MOLPHA_DRY_RUN=true -- npx -y @molpha/mcp@0.2.0

3. Spend only when you mean to: fund the wallet, then set MOLPHA_DRY_RUN=false in the server's config. The full guide, with Cursor, VS Code, Codex and Claude Desktop, is docs/integration.md.

With no signer configured the server starts read-only and offers only the read tools (runLevel: "read-only" in get_capabilities). --read-only or SIGNER_BACKEND=none forces it.

Tools

ToolAccessDescription
get_capabilitiesReadRun level, program id, registry version, nodes, gateways, chains, verifier addresses, x402 caps and source-payment policy.
derive_source_idRead, localDerive an apiConfig's sourceId (how). No transaction, no wallet.
describe_feedReadRead the Solana feed for (sourceId, signaturesRequired, submitter) and the signer's subscription status.
get_latest_valueReadRead the latest attested value stored in a Solana feed account.
describe_accessReadWhether a wallet is a subscription owner or delegate, with the plan's and the delegate's limits.
get_x402_statusReadQuote the next x402 round, show where payment goes, and read a payer's USDC balance and remaining daily budget.
list_providersReadThe data providers the gateway integrates and the flows it serves (providers).
get_providerReadOne provider's flows, disclosure and ready-made feeds, each with a complete apiConfig and sourceId.
quote_source_paymentReadPrice a paywalled source with one unpaid request, including the worst-case total.
execute_subscription_roundSpends quotaRun a round paid from a USDC subscription; return the signed attestation plus verifier arguments. autoSubmit: true settles Solana in the same call.
execute_x402_roundSpends USDCRun a round paid per request over x402; same output.
build_verifier_calldataRead, localBuild EVM/Starknet verifier address and verify() call arguments. Calldata only: it verifies nothing.
submit_attestationWriteSubmit a signed attestation to Solana. Accepts a round tool's output unmodified.

On mcp.molpha.io the one-call round and submit tools become prepare/sign/execute pairs (above). Every tool returns structuredContent and carries MCP annotations; see Structured output and annotations. For tolerance-mode aggregation and the full configuration table, see docs/reference.md.

Round timing. Rounds run on a fixed 100 ms tick. Requests for one feed (the same source and quorum) inside one tick share a round, so a feed runs at most 10 rounds per second, and one wallet gets at most one round per tick for a feed: a second request in the same tick is answered with HTTP 409, which the round tools retry a tick later before failing with round_conflict. See Round timing.

Setup

For the local server.

Signer. Put your settings in a .env file and check them with the doctor. It prints a ready-to-paste config for your client with secrets left as placeholders. Use a dedicated testnet wallet.

SIGNER_BACKEND=memory

OWNER_KEYPAIR=/absolute/path/to/owner-keypair.json SOLANA_RPC=https://api.devnet.solana.com MOLPHA_DRY_RUN=true

Privy and Turnkey settings are in docs/reference.md and .env.example.

npx -y @molpha/mcp@0.2.0 doctor

Dry-run lock. MOLPHA_DRY_RUN=true locks execute_subscription_round, execute_x402_round and submit_attestation to previews. A call with dryRun: false is refused with dry_run_locked, so going live is a change to the server's config, never to one tool call.

Subscription. Subscribing debits USDC, so it is kept out of the MCP tools and runs as a CLI command with the same signer configuration. --max-price-usdc is a cap in USDC base units (6 decimals); drop --dry-run to subscribe, or use extend to extend one.

npx -y @molpha/mcp@0.2.0 provision subscribe --plan Basic --max-price-usdc 20000000 --dry-run

Client. Every client launches the local server with npx. Snippets for Claude Code, Cursor, VS Code, Codex and Claude Desktop are in docs/integration.md, ready-to-edit copies are in examples, and Claude Desktop users can install the molpha-mcp.mcpb bundle attached to each release.

Example prompts

Discover. Use Molpha to inspect the current oracle capabilities. Summarize the registry version, node count, chains, gateways, and verifier addresses. Make no writes.

Derive. Derive a Molpha sourceId for https://api.example.com/v1/finalized/price using the JSON path $.price. Show me the canonical JSON and the sourceId. Do not send a transaction.

Fetch. For that source, run a subscription round with 3 signatures for the EVM chain. Summarize the value, timestamp, registry version and verifier call. Treat the signed attestation as the trust anchor, not the value alone.

Provider. List the integrated data providers, describe TickerLayer's btcusd feed, and run it with 3 signatures for Solana, passing the apiConfig exactly as given.

Check spend. Call get_x402_status for 3 signatures. Tell me the price, where payment goes, and my USDC balance before I authorize an execute_x402_round.

Publish. If I give you a newer signed attestation, preview submit_attestation with dryRun: true, explain the exact write, and wait for my confirmation before submittin

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx