Skip to content

listMcpTools — inventory without connecting

Rust · crate toolnexus · SPEC §2

List what each configured server would expose, plus per-server status, without wiring it into a toolkit.

Load with load_mcp and read McpSource.tools / status, then close().

  • load_mcp — Read an mcp.json, connect every local stdio and remote streamable-HTTP server, expose each server tool as a Tool.
  • load_mcp_with — The ctx-aware load: bound connection time and cancel a slow or hung server without leaking a child process.
  • parse_mcp_config — Parse and validate config without connecting — the fast fail for a malformed or misspelled server block.