Brainbase MCP
Enables management of Brainbase agents, components, evals, tasks, and more via a remote MCP connection with OAuth authentication.
README
Brainbase MCP
The official Brainbase MCP for any compatible MCP client.
Any compatible MCP client can connect to Brainbase over Streamable HTTP and OAuth. This repository also includes optional Codex and Claude Code packages that bundle the same MCP connection with a companion operating skill.
What it provides
- A credential-free remote MCP connection to
https://api.brainbaselabs.com/mcp - Client-managed Brainbase OAuth with no pasted API keys or bearer tokens
- Agent, component, eval, task, orchestration, schedule, template, and skill tools for any compatible MCP client
- An optional maintained operating skill for clients that support packaged skills
- Revision-safe targeted writes, idempotent creates, destructive confirmation, and explicit billable-run guidance
- Optional Codex, Claude Code, and Brainbase package manifests
Workflows are intentionally excluded.
Permissions and safety
Brainbase OAuth requests the mcp:all scope. This grants the client
user-wide access to Brainbase resources that the signed-in user can already
access under normal Brainbase permissions. It is not limited to one agent.
That means the MCP can:
- inspect and update agents, including an agent it is attached to;
- manage supported agent components, evals, orchestrations, and schedules;
- start tasks and eval runs that may consume paid Brainbase usage; and
- archive or delete supported resources after revision and name confirmation.
The package contains no tokens, secrets, credential headers, or environment values. OAuth credentials remain in the installing client and Brainbase.
Inspect changes before approving them, especially operations marked billable or destructive.
Requirements
- A Brainbase account
- An MCP client with remote Streamable HTTP and OAuth support
- Permission to open
app.brainbaselabs.comto complete OAuth
Connect from any MCP client
Configure a remote HTTP MCP server named brainbase with this URL:
https://api.brainbaselabs.com/mcp
For clients that accept an mcpServers object, adapt this credential-free
configuration:
{
"mcpServers": {
"brainbase": {
"type": "http",
"url": "https://api.brainbaselabs.com/mcp"
}
}
}
Do not add authorization headers or paste tokens into the configuration. Complete Brainbase OAuth through the client when prompted.
Optional: install the Codex package
The Codex package installs the MCP connection and companion operating skill:
codex plugin marketplace add BrainbaseHQ/brainbase-mcp --ref main
codex plugin add brainbase-mcp@brainbase
Complete OAuth when Codex prompts during installation or first use, then start a new thread.
Try:
Use $brainbase-mcp to list my Brainbase agents and explain which one is safe to modify.
Remove it with:
codex plugin remove brainbase-mcp@brainbase
codex plugin marketplace remove brainbase
Optional: install the Claude Code package
The Claude Code package installs the same MCP connection and operating skill:
claude plugin marketplace add --scope user BrainbaseHQ/brainbase-mcp
claude plugin install --scope user brainbase-mcp@brainbase
Complete OAuth when Claude Code prompts, restart Claude Code, and invoke a Brainbase tool.
Remove it with:
claude plugin uninstall --scope user brainbase-mcp@brainbase
claude plugin marketplace remove --scope user brainbase
Removing the plugin removes its local configuration. If an OAuth credential may have been exposed, report it through the private process in SECURITY.md.
First-use workflow
- List organizations and teams rather than guessing IDs.
- Inspect an agent and obtain its current opaque revision.
- Make one targeted change.
- Read the resource back and verify the result.
- Test behavior with a task or eval before deploying a schedule.
The companion skill applies this workflow automatically when installed. Otherwise, follow the same sequence directly with the MCP tools.
Capability boundaries
Directly supported operations include:
- Agent inspection, creation, updates, archive, and deletion
- Instructions, playbooks, registry skills, and MCP server configuration
- Eval lifecycle and result retrieval
- Orchestration members, edges, schedules, and trigger testing
- Task creation, follow-ups, interruption, and normalized events
- Registry template and skill discovery
Interactive or guided operations include secret entry, third-party OAuth, browser credentials, memory administration, Slack, meetings, phone, and external app triggers.
Arbitrary file CRUD, functions, modes, and legacy workflows are not exposed by this MCP.
Repository layout
.mcp.json— shared credential-free remote MCP descriptor.codex-plugin/— Codex plugin metadata.claude-plugin/— Claude Code plugin and marketplace metadata.agents/plugins/marketplace.json— Codex marketplace metadataskills/brainbase-mcp/— maintained skill and reference materialcomponents/mcps/brainbase/— Brainbase package MCP componentbrainbase.json— optional Brainbase registry package manifestscripts/validate.mjs— dependency-free package validation
Development
Run the repository validation:
node scripts/validate.mjs
Validate with Claude Code:
claude plugin validate --strict .
Test locally in Codex:
codex plugin marketplace add .
codex plugin add brainbase-mcp@brainbase
See CONTRIBUTING.md before changing manifests or releasing a new version.
Versioning and releases
The package follows semantic versioning. A release updates the version in
package.json, both client plugin manifests, and brainbase.json.
When the skill or MCP component changes, regenerate the corresponding
brainbase.json checksum before release. Pull requests and main are validated
by GitHub Actions.
This repository is the canonical source for the Brainbase MCP distribution. Any compatible MCP client can connect directly to the remote endpoint. The npm package is intentionally disabled; optional Codex and Claude Code packages install from this Git repository.
Support
- Product documentation: https://docs.brainbaselabs.com
- Product website: https://brainbaselabs.com
- Bugs and feature requests: https://github.com/BrainbaseHQ/brainbase-mcp/issues
- Security reports: SECURITY.md
License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.