Skip to content

feat(claude): add hosted braintrust mcp plugin - #255

Open
Abhijeet Prasad (AbhiPrasad) wants to merge 2 commits into
mainfrom
claude-braintrust-mcp-plugin
Open

Abhijeet Prasad (AbhiPrasad) wants to merge 2 commits into
mainfrom
claude-braintrust-mcp-plugin

Conversation

@AbhiPrasad

@AbhiPrasad Abhijeet Prasad (AbhiPrasad) commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

ref https://linear.app/braintrustdata/issue/SDK-739/add-official-braintrust-anthropic-marketplace-plugin

🤖 This text was AI-generated.

The Claude marketplace offered session tracing but did not provide a packaged connection to Braintrust's hosted MCP tools.

Add a separate Braintrust plugin that connects through OAuth, alongside the existing tracing plugin:

Claude marketplace
├── braintrust → hosted MCP server
└── trace-claude-code → bt tracing

Document installation and data handling, validate the MCP-only package, and keep the marketplace and plugin versions aligned during releases. Anthropic directory submission remains a manual step.

> 🤖 **This text was AI-generated.**

The Claude marketplace offered session tracing but did not provide a
packaged connection to Braintrust's hosted MCP tools.

Add a separate Braintrust plugin that connects through OAuth, alongside
the existing tracing plugin:

```text
Claude marketplace
├── braintrust → hosted MCP server
└── trace-claude-code → bt tracing
```

Document installation and data handling, validate the MCP-only package,
and keep the marketplace and plugin versions aligned during releases.
Anthropic directory submission remains a manual step.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T18:24:04.419216Z c89c925 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 00b3df59c6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "Codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".

@@ -0,0 +1,8 @@
{
"mcpServers": {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Use the plugin .mcp.json server-map shape

When this plugin is installed, Claude parses a plugin-root .mcp.json as the server-name map; Anthropic's official example places example-server directly at the root rather than under a project-style mcpServers wrapper. With this shape Claude treats mcpServers as the server entry, which has neither type nor url, so braintrust is never registered and /mcp cannot offer the advertised OAuth connection; update this file and the validator's equality check to use {"braintrust": {...}}.

AGENTS.md reference: src/plugins/claude/content/AGENTS.md:L21-L24

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed: .mcp.json now uses the root server map ({"braintrust": {...}}), and the validator and README were updated to match.

## Install

```text
/plugin install braintrust --marketplace braintrustdata/braintrust-claude-plugin

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Replace the unsupported slash-command install syntax

When a user follows this first installation block inside Claude, /plugin install expects a qualified <plugin>@<marketplace> after the marketplace has been added, as shown by Anthropic's official marketplace instructions. --marketplace is not a supported single-plugin flag, so this documented path fails before the user can authenticate; show the two slash commands corresponding to the working shell example below.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed: the README now shows /plugin marketplace add braintrustdata/braintrust-claude-plugin followed by /plugin install braintrust@braintrust-claude-plugin.

Plugin-root .mcp.json is the server map itself, so drop the mcpServers
wrapper that kept braintrust from registering. Also show the supported
slash-command install syntax in the plugin README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants