How to connect Braintrust with ChatGPT

Connect ChatGPT to Braintrust MCP. Query braintrust logs for failed traces, run an eval on the latest dataset, and more using natural language, with authentication handled for you.

Braintrust MCP logoBraintrust MCP
Dcr Oauth

Braintrust MCP is a hosted Model Context Protocol server for Braintrust observability and evaluation data. It gives agents a secure, structured way to work with logs, evals, prompts, datasets, and alerts.

60 Tools

How to connect Braintrust MCP with ChatGPT

ChatGPT can take action across your apps and files, stay with a project for hours, and turn a goal into finished materials like sheets, slides, and docs, not just answers.

In this guide, I will explain the easiest and most secure way to connect your Braintrust account to ChatGPT via Composio Connect, so it can query logs, run evals, manage prompts, update datasets, and monitor alerts through natural language commands without ever putting your account credentials at risk.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Braintrust MCP with

Why use Composio over default connectors?

  • Apps with read and write access. Default connectors mostly can read your data. Composio's Braintrust integration lets ChatGPT take actions like creating drafts, sending updates, labeling records, and more.
  • 2,000+ SaaS toolkits out of the box. Composio gives you instant access to a vast catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
  • One MCP server for every app. Connect any of your applications on demand through a single endpoint, rather than juggling a separate server for each app.
  • Smart, context-aware tool loading. Unlike traditional MCP servers that dump every available tool into the LLM context window, Composio searches for and loads only the tools relevant to the task at hand.
  • Cross-app automation. Chain actions across multiple apps in a single run - fetch a thread, summarize it in Notion, and post highlights to Slack without leaving the conversation.

Prerequisites

Note: Composio connects through OAuth. You will be asked to sign in and approve specific permissions. Review the permission screen carefully if you are using a work account.

Step-by-step: Connect Braintrust to ChatGPT

1. Install the Composio plugin

Click the button. ChatGPT opens the Composio plugin page. Click Install plugin.

Install in ChatGPT

Composio plugin page in ChatGPT with the Install plugin button

You can also find it inside ChatGPT: go to Settings, open Plugins, search the marketplace for Composio, and click Install plugin.

2. Authenticate

After you install, ChatGPT asks you to authenticate with Composio. Log in and click Allow access to authorize ChatGPT to use your Composio account.

Composio login and Allow access screen for ChatGPT

3. Start using Composio

That is it. Composio tools are now available in ChatGPT. Type @Composio followed by your request, for example @Composio find unread Braintrust messages and summarize them, and it will run the actions you authorize. On first use it asks you to authorize Braintrust.

Option 2: Add Composio as an MCP server

If you cannot use the plugin marketplace, add Composio as a custom MCP server instead.

1. Open the MCP settings

In ChatGPT, go to Settings and open the Plugins section. Inside the Plugins page, click the MCP tab.

ChatGPT settings showing the Plugins page with the MCP tab selected

2. Add the server

Click Add server. In the Name field enter Composio, for Type select Streamable HTTP, and in the URL field paste the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
ChatGPT Add server dialog with the name Composio, type Streamable HTTP, and the Composio MCP URL

Then click Save. The Composio server now appears in your MCP plugins list.

ChatGPT Plugins page showing the Composio MCP server added to the list

3. Authenticate

Click Authenticate on the Composio entry, log in via Composio, and click Allow access. Composio tools are then available in ChatGPT the same way as with the plugin.

What you can do after connecting Braintrust

  • Query Braintrust logs for failed traces
  • Run an eval on the latest dataset
  • List active Braintrust alerts and dashboards

Security + privacy notes (important)

  • Use least-privilege access: Only grant permissions you actually need.
  • Review OAuth permissions before approving: Make sure requested scopes match what you expect Composio and ChatGPT to do.
  • Keep write actions human-reviewed: For actions like sending messages, creating labels, or editing drafts, keep manual confirmation enabled.
  • Be careful with sensitive data: Avoid using this setup with highly sensitive information unless allowed by your personal, company, or client policies.
TOOLS

Supported Tools

Every Braintrust MCP action and event your agent gets out of the box.

Add to dataset

Add up to 1000 project log rows to a Braintrust dataset by row ID, like the UI's "Add to dataset", without reading and re-sending their contents.

Add to human review queue

Add existing project log traces, experiment traces, or dataset rows to Human Review, optionally assigning individual reviewers.

Create dashboard sql

Create a project-scoped dashboard, optionally containing SQL charts that were already previewed with generate_dashboard_chart_sql.

Create environment update alert

Create an alert for environment updates.

Create evaluator

Create a versioned Braintrust LLM or inline code evaluator.

Create facet

Create a versioned Braintrust facet that extracts structured information from spans or traces.

Create human review score

Create a native Human Review score definition for a project: categorical choices, a numeric slider, or a free-form text field such as Review notes.

Create log alert

Create an alert for individual matching project logs.

Create preprocessor

Create a versioned Braintrust preprocessor from inline JavaScript using the same QuickJS runtime as the Braintrust UI.

Create prompt

Create a versioned Braintrust prompt using the same function representation as project.prompts.create() and bt functions push.

Create protected field rule

Add a protected field rule to a scope's policy, creating the policy if needed.

Create scheduled loop job

Create a custom Loop job that runs on an interval or cron schedule over a recent project-data window.

Create threshold alert

Create a threshold alert for an aggregate over a recent project-data window.

Delete protected field rule

Delete a protected field rule by id.

Edit dataset rows

Insert, update, or delete up to 1000 Braintrust dataset rows using explicit operations.

Enable topics automation

Enable Topics for a Braintrust project.

Fail dashboard section

Report a failure for a precomputed dashboard section using the target and revision from its computation request.

Generate dashboard chart sql

Generate a SQL-backed dashboard chart configuration for visualizing data from project_logs.

Generate permalink

Generate a direct web link (permalink) to a Braintrust object for sharing or bookmarking.

Get monitoring view

Inspect a saved Monitoring view, including its options and ordered chart definitions.

Get project settings

Get Braintrust project settings, including the configured field paths in settings.user_id_fields and settings.session_id_fields.

Get protected field policy

Get the protected field policy and its rules for a scope.

Infer schema

Look up field paths and types when the query depends on an unknown field.

List automations

List a project's automations, including online scoring rules, alerts, exports, retention policies, Topics automations, and other automation kinds.

List dataset custom views

List up to 100 saved custom views for labeling dataset rows in a project, including each view's code and a link reviewers can open.

List monitoring views

List the saved Monitoring views and chart IDs for a project so the user can choose a view or chart to inspect or edit.

List recent objects

List recently created projects, experiments, datasets, prompts, or functions you have access to.

List scheduled loop job runs

List a saved scheduled Loop job's run threads, newest first, with thread IDs, names, and Braintrust links.

List slack channels

List the Slack workspaces connected to a project's org and the public channels in a workspace, so a Slack alert action targets the channel the user named instead of a guessed ID.

Load braintrust skill

Load a guide when the request matches the workflow or SDK task described below.

Lookup api keys

Look up Braintrust API keys and service tokens by exact IDs, exact name, or an explicit request to list all visible keys.

Lookup users

Look up human Braintrust organization members by exact user IDs, partial name or email, or an explicit request to list all users.

Measure pattern frequency

Measure distinct users, sessions, or traces matched by a pattern in one time window of up to 14 days.

Publish dashboard section

Publish one precomputed chart, Markdown note, or insight to a registered dashboard artifact target.

Read patterns rubric

Read the project's Patterns rubric, which defines how to assign pattern severity and categories.

Resolve attachments

Resolve one attachment reference or a batch from sql_query results into temporary download URLs.

Resolve object

Convert names to IDs (or vice versa) and parse Braintrust URLs.

Rewind topics automation

Rewind an existing Topics automation to process historical data from an explicit start time or recent window.

Run eval

Run a Braintrust experiment through the authenticated Eval API with a hosted dataset, inline rows, or a prior experiment, any saved or inline functional task, and zero or more saved or inline scorers.

Run scheduled loop job

Run a saved active scheduled Loop job using the same execution path as Run now in Braintrust.

Save dataset custom view

Create or update a versioned custom view that reviewers use to label rows of a dataset.

Search docs

Search Braintrust documentation to find relevant information and guidance.

Search patterns

Search existing patterns in a project by text, semantic similarity, ID, status, or quality.

Send feedback

Send feedback to the Braintrust team about a problem with this MCP server, such as a missing capability, a tool error that looks like a server bug, malformed or inconsistent output, or parameters that are confusing or rejected despite matching the schema.

Set automation status

Pause or activate an alert, scheduled job, or online scoring rule.

Set project default preprocessor

Set or clear the default preprocessor for a Braintrust project.

Set project session id field

Configure the project's session or conversation ID field and create its bloom index.

Set project user id field

Configure the project's derived end-user ID field and create its bloom index.

Set topics automation

Update an existing Topics automation's configuration.

Sql query

Run one read-only Braintrust SQL (BTQL) query.

Summarize experiment

Get aggregated performance metrics for an experiment, optionally compared to a baseline.

Test evaluator

Run one saved, global, or inline evaluator on representative inputs without writing results.

Test facet on trace

Run an inline facet definition with a saved, global, inline, or project-default preprocessor on one to ten canonical span, trace, or group references concurrently using the same preview path as the Braintrust UI.

Test preprocessor on trace

Run a saved, global, or inline preprocessor on one to 50 canonical span, trace, or group references concurrently using the same preview path as the Braintrust UI.

Unpin topic maps

Remove version pins from topic maps on an existing Topics automation so they classify new traffic with each topic map's latest version.

Update dashboard sql

Apply one or more SQL chart or section edits to an existing project dashboard.

Update debug report

Save or replace the diagnosis report for one trace.

Update online scoring rule

Save or rewind an online-scoring rule that runs saved evaluator functions.

Update pattern

Update an existing project pattern's content, source review, status, quality, or feedback, and optionally attach quoted evidence to matching traces.

Update protected field rule

Update fields of an existing protected field rule by id.

FRAMEWORKS

How to build Braintrust MCP Agent with another framework

FAQ

Frequently asked questions

Start with Braintrust MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Braintrust MCP tool your agent needs.Free to start.

Start building