aide_brain
Retrieve orientation or config from brain.aide mid-task. If brain is missing or misconfigured, receive instructions to initialize or sync the MCP server.
Instructions
On-demand brain entry-point tool. Call this when you need to reach the brain mid-task — do NOT call it on every /aide boot. Boot-time brain precondition state is already reported by aide_info.brain.status; firing aide_brain at boot duplicates that work unnecessarily.
Optional kind parameter — closed two-value vocabulary: "orientation" (default) or "config".
"orientation"— returns the orientation section: a runtime briefing delivered when an agent reaches for the brain mid-task. Omittingkindis equivalent to passing"orientation"."config"— returns the integration-specific wiring flow, used by/aide:brain configto walk through brain setup.
Install-time seed sections (playbookIndex, studyPlaybook, updatePlaybook, researchIndex) are NOT surfaced via this tool — agents reach those via the brain's read tool against the on-disk seed files.
Response shape: { status, instructions } — exactly two fields. No backend, no connector, no name, no kind.
status — mirrors the BrainState tagged union from buildBrainState. The four-state vocabulary: ok, no-brain-aide, no-mcp-entry, mcp-drift. Branch on status alone — no other discriminant is present.
instructions — always non-empty on every branch. Act on this field directly:
On
ok: the verbatim bytes of the selected section from the host's.aide/config/brain.aide, byte-identical to what the user wrote between that section's markers. No trimming, no normalization, no${...}substitution. The selected section takes over from here — the tool has no further role.On
no-brain-aide: fixed remediation prose directing the user to runnpx @aidemd-mcp/server@latest init. Do not proceed as if the brain were available.On
no-mcp-entry: fixed remediation prose directing the user to runnpx @aidemd-mcp/server@latest syncand restart Claude Code. Do not proceed as if the brain were available.On
mcp-drift: fixed remediation prose directing the user to runnpx @aidemd-mcp/server@latest syncand restart Claude Code, explicitly forbidding the agent from patching.mcp.jsonitself.
Non-ok remediation prose is identical regardless of kind — the file is broken for both sections in the same way.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Which section of brain.aide to return. `"orientation"` (default when omitted) returns the runtime briefing for mid-task brain access. `"config"` returns the integration-specific wiring flow used by `/aide:brain config`. |