Recta

v1.3.5
io.github.RectaBuild/recta Checked 12 hours ago Published 12 days ago

Proven cheaper USDC bridge route for AI agents (Across, CCTP, Stargate); fee 5% of verified saving

Values you need

VariableWhat it is
RECTA_PRIVATE_KEYoptional secret The agent wallet's private key (EOA), used only locally to sign and never sent to Recta. Optional: without it the server offers only the free tools recta_fit and recta_trial_evaluation.
RECTA_ADDRESSoptional Without a key: the public address the free trial uses as sender (never a key).
RECTA_ALLOW_EXECUTEoptional Set to yes to let the agent sign fee permits and send transactions. Anything else keeps the server read and preview only. Default: no
RECTA_MAX_FEE_USDCoptional The most one fee permit may authorize, in USDC. Default: 1
RECTA_MIN_OUTPUT_BPSoptional The route must guarantee the recipient at least this share of the amount sent, in basis points. Default: 9900
RECTA_MAX_AMOUNToptional The most one transfer may move, in whole tokens of the source asset (1000 with USDC means 1000 USDC). A larger amount is refused before anything is signed. Default: 1000
RECTA_ALLOWED_RECIPIENTSoptional Addresses, separated by commas, that may receive a transfer besides the wallet itself. Any other recipient is refused before anything is signed.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add recta -- npx -y --package=@recta/mcp@0.1.16 recta-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "recta": {
      "args": [
        "-y",
        "--package=@recta/mcp@0.1.16",
        "recta-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "recta": {
      "args": [
        "-y",
        "--package=@recta/mcp@0.1.16",
        "recta-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "recta": {
      "args": [
        "-y",
        "--package=@recta/mcp@0.1.16",
        "recta-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.recta]
command = "npx"
args = ["-y", "--package=@recta/mcp@0.1.16", "recta-mcp"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http recta https://api.recta.build/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "recta": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.recta.build/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "recta": {
      "url": "https://api.recta.build/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "recta": {
      "type": "http",
      "url": "https://api.recta.build/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.recta]
command = "npx"
args = ["-y", "mcp-remote", "https://api.recta.build/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: recta_fit, recta_trial_evaluation.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json