Docs

Setup in two minutes

AI Babysitter is a remote MCP server. Connect your agent by URL, sign in once in your browser, and it checks a curated engineering playbook before it builds — so it stops guessing.

1. Connect by URL (recommended)

Subscribe, then add the server to your harness — no API key needed. In Claude Code:

claude mcp add --transport http aibabysitter https://aibabysitter-production.up.railway.app/mcp

Then run /mcp, select aibabysitter, and choose Authenticate — log in with your AI Babysitter email and password and click Approve. Subscribers get per-harness instructions in the setup guide.

2. Headless servers & CI (API key method)

No browser available, or your harness doesn't support remote MCP with OAuth? Generate an API key from your dashboard (shown once — save it; regenerate anytime) and run the stdio package instead. Claude Code: add this to ~/.claude/mcp.json. Any MCP-capable harness (Cursor, Windsurf, custom agents) works the same way.

{
  "mcpServers": {
    "aibabysitter": {
      "command": "npx",
      "args": ["-y", "@aibabysitter/mcp-server"],
      "env": {
        "AIBABYSITTER_API_KEY": "aibab_...your key...",
        "AIBABYSITTER_API_URL": "https://api.aibabysitter.ai"
      }
    }
  }
}

3. Tell your agent to use it

Add this to your project's AGENTS.md / CLAUDE.md so the agent consults the knowledge base when durable project context could affect its approach:

## Knowledge Base Usage
When repository-specific lessons, prior decisions, or durable context could affect a task:
1. Call discover to see the capabilities your account can use.
2. Call execute with capability "kb-search" and the relevant question.
3. Use returned lessons to ground your approach.
4. If retrieval fails, report the exact error rather than assuming context was available.

The tools

The MCP surface exposes exactly two tools, for every tenant: discover lists the capabilities your account can use right now, and execute runs one of them. New capabilities ship without you reconfiguring anything — the next discover call just shows them.

Ask your agent to call discover, then execute the kb-search capability.

discover({ query? })

Lists the capabilities entitled to your account, optionally filtered by a search string. Unmetered — call it as often as you like.

execute({ capability, arguments? })

Runs one capability by name. Two are available to every subscriber:

  • kb-search — search curated lessons when repository-specific context, prior decisions, or durable project knowledge could change the approach. Returns up to 5 ranked results with title, content, and tags.
  • usage — current plan, monthly call usage, and quota reset date.

Preview write access — entitlement-gated

kb-push writes a short lesson or decision after a task. It only shows up in discover when the backend deployment enables knowledge writes and your tenant has the knowledge-write entitlement — there is no client-side env flag to set anymore.

Troubleshooting

Stuck? Email support@aibabysitter.ai.