Agents/MCP

Model Context Protocol (MCP)

Agents discover OnFRA tools via MCP and invoke them over REST with x402 payments. You can run the OnFRA MCP server locally or point your client to our remote manifest.

Local stdio (Recommended)

Run it locally with Node. Your client spawns npx and talks to OnFRA over stdio. Works in any stdio client (Cursor, Claude Desktop, LM Studio, Continue, MCP Inspector). Requires Node.js.

  1. Run npx -y @jeffishmael/onfra-skill to test it.
  2. Open your MCP config (e.g., claude_desktop_config.json or Cursor Settings → MCP).
  3. Merge the snippet below into mcpServers.
  4. Restart the client.
{
  "mcpServers": {
    "onfra-skill": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@jeffishmael/onfra-skill"],
      "env": {
        "CELO_PRIVATE_KEY": "0x..."
      }
    }
  }
}

Keep CELO_PRIVATE_KEY out of source control — it stays securely on your machine to sign x402 payments.

Remote hosted

Skip the install — point at the hosted endpoint

No Node, no keys. The hosted endpoint exposes all OnFRA tools for financial analysis, lender screening, and verified reports.

Endpoint

https://wallet-profile-orpin.vercel.app/api/mcp

Streamable HTTP clients

For clients that support remote MCP URLs directly (Cursor, Claude, etc.):

{
  "mcpServers": {
    "onfra-mcp": {
      "url": "https://wallet-profile-orpin.vercel.app/api/mcp"
    }
  }
}

Stdio-only clients (mcp-remote bridge)

If your client only supports stdio, use mcp-remote to bridge to the hosted endpoint:

{
  "mcpServers": {
    "onfra-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://wallet-profile-orpin.vercel.app/api/mcp"]
    }
  }
}

MCP tools

ToolRouteDescription
analyze_walletPOST /api/agent/analyzeFull financial analysis
get_wallet_signalGET /api/wallet/{address}/signals/{signal}Cached signal read
screen_walletPOST /api/lender/screenLender underwriting screen
chat_queryPOST /api/agent/chatNatural-language queries
generate_reportPOST /api/agent/reportVerified REP passport
generate_statementPOST /api/agent/statementGenerate transaction statement PDF
verify_reportGET /api/agent/verify/{id}Verify REP-{id}