BBramaDocs
Browse documentation

Brama CLI command reference

brama mcp

Serve Brama’s read-only stdio MCP surface.

Invocation

brama mcp

This command accepts no CLI inputs or options. Its stdin and stdout carry JSON-RPC 2.0 messages using MCP protocol version 2024-11-05.

Output and state

The server exposes only brama_detect, which returns local GPU, memory, CPU, CUDA/Metal, model, and backend data. It writes protocol responses to stdout and logs malformed input to stderr. It reads no credential, performs no provider request, and writes no state.

Refusals

Model execution, credential discovery, quality collection, and mutation tools are not part of this MCP server. Unknown tools and malformed JSON-RPC are refused by the MCP protocol handler; there is no additional CLI-level refusal.

See the MCP example or the CLI tree.