Skip to main content

Crate neurogrim_mcp

Crate neurogrim_mcp 

Source
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 doctor tool and the neurogrim doctor CLI 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_new tool and the neurogrim domain new CLI 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 explain from 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 orient tool and the neurogrim agent --prose CLI 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.