Expand description
MCP client + server integration for NeuroGrim.
The Brain acts as both:
- MCP Server: exposes scoring tools to AI agents
- MCP Client: discovers and invokes sensory tool servers
Re-exports§
pub use client::invoke_sensory_servers;pub use client::SensoryClient;pub use client::SensoryResult;pub use server::BrainServer;
Modules§
- autonomy
- Autonomy gate for MCP tool dispatch (S13-B-5, v4.1).
- client
- MCP client — discovers and invokes sensory tool servers.
- context
- Shared brain context — loads registry, CMDB data, runs the full scoring pipeline. Used by both the CLI commands and the v3.4 dashboard server (neurogrim-dashboard).
- doctor
- Configuration auditor for a Brain registry (v3.2 Phase A.2; relocated
from neurogrim-cli to neurogrim-mcp in v3.2.1 so the MCP
doctortool and theneurogrim doctorCLI command share a single source of truth). - domain
- Domain scaffolder (v3.2 Phase C; relocated from neurogrim-cli to
neurogrim-mcp in v3.2.1 so the MCP
domain_newtool and theneurogrim domain newCLI command share a single source of truth). - explain
- Bundled methodology primer (v3.2 Phase B; relocated from
neurogrim-cli to neurogrim-mcp in v3.2.1 so both the CLI and the
MCP server can expose
explainfrom a single source of truth). - prose
- Agent-friendly prose orientation renderer (v3.2 Phase A.1; relocated
from neurogrim-cli to neurogrim-mcp in v3.2.1 so the MCP
orienttool and theneurogrim agent --proseCLI command share a single source of truth). - proxy_
tokens - Proxy-token mint + redeem (S14-S-5, v4.2).
- publish_
gates - Publish-gates manifest loader + validator (S12-G-3, v4.0).
- scoring_
source_ registry - Scoring-source dispatch registry for the MCP / CLI dispatch sites (V5-MOD-1 Phase 3 + Phase 4-fallback, 2026-05-02).
- server
- Brain MCP server — exposes scoring tools to AI agents.
- transport
- Transport abstractions for MCP communication.