Skip to content

LangChain Recta recta_trial_evaluation

How to: LangChain Recta recta_trial_evaluation

client:LangChain transport:streamable-http tool:recta_trial_evaluation

Add Recta to LangChain

  1. 01

    Open pip install langchain-mcp-adapters and merge this in. Keep any servers already there.

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "recta": {
            "transport": "streamable_http",
            "url": "https://api.recta.build/mcp",
        }
})

tools = await client.get_tools()
  1. 02

    Save the file and restart LangChain.

  2. 03

    Ask for something recta_trial_evaluation does. LangChain lists the server's tools on connect and calls recta_trial_evaluation itself — you do not invoke it by name.

  3. 04

    If nothing happens, check the server is running and that Recta's identifier in your config matches the one above exactly.

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Set these first

Recta will not start until these are set, so recta_trial_evaluation never becomes available.

  • RECTA_PRIVATE_KEY
  • RECTA_ADDRESS
  • RECTA_ALLOW_EXECUTE
  • RECTA_MAX_FEE_USDC
  • RECTA_MIN_OUTPUT_BPS
  • RECTA_MAX_AMOUNT
  • RECTA_ALLOWED_RECIPIENTS

Same tool, other clients

This list was read from the server itself, by connecting to it and calling tools/list on 11 November 2026. It is what the server actually exposes, not what its listing claims.

Mutating and Read-only are read off each tool's name, not its schema — a hint, not a guarantee. The registry stores tool names only; connect the server for its live schemas.