Repository avatar
AI Tools
v1.0.1
active

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

FileWhat it isUsed by
.claude-plugin/plugin.jsonThe Claude Code plugin's manifestClaude Code, Anthropic's directory
.claude-plugin/marketplace.jsonMakes this repo a plugin marketplace/plugin marketplace add
.mcp.jsonThe plugin's MCP serverClaude Code
skills/The build-brainlet and debug-brainlet skillsBoth plugins
.codex-plugin/plugin.jsonThe OpenAI plugin's manifest: listing, review test cases, demo videoOpenAI's apps directory
codex.mcp.jsonThe OpenAI plugin's MCP server (.mcp.json in its zip)OpenAI's apps directory
assets/The iconOpenAI's apps directory
server.jsonThe server's entry in the official MCP Registrymcp-publisher
mcp-registry-authProof that brainlets.ai publishes ai.brainlets/*: the public key, served at https://brainlets.ai/.well-known/mcp-registry-authThe MCP Registry

Publishing (maintainers)

  • Anthropic's directory reads this repo's main branch: push.

  • OpenAI's apps directory takes an upload. Commit, then make openai builds dist/brainlets-openai.zip (make check runs first: valid JSON, both manifests on one version, the files OpenAI's manifest names). Bump version in both manifests for each new upload.

  • The official MCP Registry (server.json, name ai.brainlets/brainlets): the registry checks that brainlets.ai serves mcp-registry-auth, then takes entries signed with the matching private key, key.pem. That key stays with the maintainer and is never committed (.gitignore). Bump version in server.json for 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 publish
    

    The registry fetches https://brainlets.ai/.well-known/mcp-registry-auth itself and needs a 200 with no redirect; check it with curl first.

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.

Remote