Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

1.4 KB
Raw Blame

The user's connected MCP servers: finding a server, learning its tools and calling them.

Connected servers' tools are normally reached through tool_search: search for the action in plain words and call the tool it returns with that tool's schema. The tools here are the direct fallback:

  1. mcp_registry_status lists servers and their connection state; pick the connected one that fits. mcp_registry_installed_list gives the installed set when you need ids rather than live state.
  2. mcp_registry_connect (by server_id) only for an installed, enabled server that is disconnected.
  3. mcp_registry_list_tools for that server before any call: read the tool names and input schemas.
  4. mcp_registry_tool_call with {server_id, tool_name, arguments}; build arguments from the schema, never from memory. Resolve time windows with resolve_time first.
  5. is_error: true → report it, fix the arguments and retry once if they were wrong. An empty result is an answer; say so.
  6. A tool's UI shows inline in its tool card; repeat any payment, confirmation or sign-in link from the result in your reply, and never claim a QR code or widget is visible unless the card shows it.

mcp_registry_search / mcp_registry_get browse the catalog. Installing or adding a server is the user's action (Connections → MCP): recommend it, never do it. Cite which server and tool produced the answer.