Verify TAC voice-memory access before an AI client reads anything.
The local `tac-mcp` binary checks env readiness, generates redacted client config, and runs governance preflight for approved Claude Desktop, OpenClaw, Codex, or RasBaraka profiles.
This is not a globally published @tac/cli product yet. It is the local CLI that ships with the TAC MCP package and stays credential-redacted by default.
Use a private env file for TAC session values, then run doctor and client-config checks. The commands report variable names and readiness state, not raw token values.
1. Private file
Keep credentials out of client JSON
Create the file locally after an operator approves the TAC profile. Shell variables still override file values when you need a temporary local override.
Doctor exercises local MCP protocol shape and records `apiRequests=0`, so CoS or RasBaraka can prove the client package is ready before using live TAC data.
Shows required TAC_MCP_* variable names and missing/ready status without printing credential values.
--doctor
Protocol smoke
Runs local initialize, tools, resources, and templates checks without TAC API requests.
--print-client-config
Client bootstrap
Generates a redacted stdio config for approved local MCP clients.
--tac-env-file
Private profile path
Keeps credentials in a local file and out of copied client snippets.
Governance preflight
Evaluate access intent before memory reads.
District and agent workflows can evaluate a local governance context before enabling memory tools. This is a no-network policy check; production decision receipts live in the Rails governance API.
Set TAC_MCP_REQUIRE_GOVERNANCE_CONTEXT=true when memory tools must fail closed unless an approved governance context is present.