
brainlets
ai.brainlets/brainlets
Build, run and debug small AI agents that each live at their own URL.
Documentation
Brainlets
Build, run and debug brainlets: small AI agents that each live at their own URL on brainlets.ai. Write a prompt, grant tools, pick a model tier, and call it from a script, a form or a webhook.
What's included
- Brainlets MCP server (
https://brainlets.ai/mcp): create, run, inspect and manage brainlets, versions, runs and linked services. - build-brainlet skill: turns a plain-language request into a working brainlet, with least-privilege grants, a test run and iteration until the trace shows it works.
- debug-brainlet skill: finds the cause of a failed or wrong run in its trace, fixes the spec and proves the fix with a new run.
Add the MCP server
The server is https://brainlets.ai/mcp (streamable HTTP). Claude,
ChatGPT and VS Code sign in with your brainlets.ai account on first use;
other clients send an API key, which you create under
API keys. Step-by-step guides
for each client, with troubleshooting, are at
brainlets.ai/docs/mcp.
Claude Code: the plugin (server and skills)
/plugin marketplace add brainlets-ai/brainlets-plugin
/plugin install brainlets@brainlets
This repo is the marketplace (.claude-plugin/marketplace.json) and the
plugin (.claude-plugin/plugin.json). Installing it adds the MCP server
from .mcp.json and the two skills in skills/.
Claude Code: the server alone
claude mcp add --transport http brainlets https://brainlets.ai/mcp
Or copy .mcp.json into a project's root to share the server with
everyone who works on it.
Claude (web, desktop, mobile)
Settings → Connectors → Add custom connector, named brainlets, with the
URL https://brainlets.ai/mcp. Then Connect, and sign in.
ChatGPT
Settings → Apps & Connectors → Advanced settings → Developer mode on;
then Create, with the URL https://brainlets.ai/mcp and OAuth.
VS Code (Copilot agent mode)
Run MCP: Add Server..., choose HTTP and paste the URL, or add this to
mcp.json:
{ "servers": { "brainlets": { "type": "http", "url": "https://brainlets.ai/mcp" } } }
Cursor and other clients (API key)
{
"mcpServers": {
"brainlets": {
"url": "https://brainlets.ai/mcp",
"headers": { "Authorization": "Bearer <api-key>" }
}
}
}
Keep the key in your own config (~/.cursor/mcp.json), never in a file
you commit.
The files
| File | What it is | Used by |
|---|---|---|
.claude-plugin/plugin.json | The Claude Code plugin's manifest | Claude Code, Anthropic's directory |
.claude-plugin/marketplace.json | Makes this repo a plugin marketplace | /plugin marketplace add |
.mcp.json | The plugin's MCP server | Claude Code |
skills/ | The build-brainlet and debug-brainlet skills | Both plugins |
.codex-plugin/plugin.json | The OpenAI plugin's manifest: listing, review test cases, demo video | OpenAI's apps directory |
codex.mcp.json | The OpenAI plugin's MCP server (.mcp.json in its zip) | OpenAI's apps directory |
assets/ | The icon | OpenAI's apps directory |
server.json | The server's entry in the official MCP Registry | mcp-publisher |
mcp-registry-auth | Proof that brainlets.ai publishes ai.brainlets/*: the public key, served at https://brainlets.ai/.well-known/mcp-registry-auth | The MCP Registry |
Publishing (maintainers)
-
Anthropic's directory reads this repo's
mainbranch: push. -
OpenAI's apps directory takes an upload. Commit, then
make openaibuildsdist/brainlets-openai.zip(make checkruns first: valid JSON, both manifests on one version, the files OpenAI's manifest names). Bumpversionin both manifests for each new upload. -
The official MCP Registry (
server.json, nameai.brainlets/brainlets): the registry checks that brainlets.ai servesmcp-registry-auth, then takes entries signed with the matching private key,key.pem. That key stays with the maintainer and is never committed (.gitignore). Bumpversioninserver.jsonfor each publish; the registry refuses one it already has.MCP_PRIVATE_KEY="$(openssl pkey -in key.pem -noout -text | sed -n '/priv:/,/pub:/p' | sed '1d;$d' | tr -d ' :\n')" \ mcp-publisher login http --domain brainlets.ai mcp-publisher publishThe registry fetches
https://brainlets.ai/.well-known/mcp-registry-authitself and needs a200with no redirect; check it withcurlfirst.
Requirements
A brainlets.ai account. Linking third-party services is optional; keys are entered in a form and never pass through the chat.
Support
support@brainlets.ai · Docs · Privacy · Terms
No installation packages available.