GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing docs.braintrust.dev — bt mcp - Braintrust bt mcp runs tools exposed by the Braintrust MCP server from your terminal, without configuring an MCP client. It connects to the MCP server for your active profile or BRAINTRUST_API_KEY, discovers the server’s tools, and generates a subcommand for each tool with a flag for each of its arguments. Requires bt v0.29.0 or later.
The bt mcp command is in public preview and can change before reaching general availability. bt mcp connects before it prints help. Run bt login or set BRAINTRUST_API_KEY before you run bt mcp --help. bt mcp doesn’t appear in the bt --help command list.
bt mcpDiscover and run tools exposed by the Braintrust MCP server.UsageCommandsOptions
bt mcp accepts the global options before or after the subcommand and tool name. Unless you pass --verbose, bt mcp suppresses non-essential output, as if you passed --quiet.
Global options
bt mcp listList tools exposed by the Braintrust MCP server.bt mcp list prints one line per tool, with the tool name and the first sentence of its description separated by a tab. Descriptions longer than 120 characters are shortened and end with …. With --json, it prints a tools array containing each tool’s name, full description, and inputSchema.
UsageOptions
Examplesbt mcp runRun a tool exposed by the Braintrust MCP server.bt mcp run <tool> calls one tool and prints its result. Run bt mcp list to see the tool names.
UsageArguments
Options
Examplesbt mcp run search_docs --help prints the tool’s full description, followed by its usage, generated flags, and required fields. This excerpt omits the description and global options:
Input methodsbt mcp run accepts a tool’s arguments in three ways. Each is an alternative to the others, so you can’t combine them in one command.
bt checks the top-level arguments against the tool’s input schema. It reports missing required arguments and values of the wrong JSON type. When the schema sets additionalProperties to false, it also reports arguments the schema doesn’t define.
Telemetry argumentTools on the Braintrust MCP server accept atelemetry argument. It’s an object whose intent string briefly describes your wider task and why you’re calling the tool. The tools’ input schemas list telemetry as required, but bt treats it as optional and omits it from the tool call when you don’t provide it.
To include it, pass --telemetry '{"intent": "..."}' or add it to the JSON input. When you pass telemetry, bt checks that it’s a JSON object, but it doesn’t check the fields inside it. Don’t include argument values, personal information, or secrets in intent.
Generated flagsbt builds each tool’s flags from its input schema:
OutputWhen a tool returns structured content,bt mcp run prints it as formatted JSON. Otherwise, it prints the text content the tool returns. With --json, it prints the full tool result as JSON.
If the tool reports an error, bt mcp run prints the error and exits with a nonzero status.Was this page helpful? | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |