1. Install the CLI
brew tap progadigital/tap brew install logito
Reference
Logito exposes a local MCP server that lets AI agents call runtime intelligence tools directly. The server bridges your CLI profile to both the hosted API and local CLI analysis.
Registers as logito_local. Communicates over stdio. Works with Claude Code, Codex, and any MCP-compatible client.
brew install logito logito login logito codex install
Architecture
The MCP bridge is a single Python script that sits between your AI agent and Logito. It implements MCP protocol version 2024-11-05 over stdio and proxies tool calls to the Logito API. It also runs local analysis directly via the CLI when the hosted API has no data for a requested scope.
Claude Code, Codex, or another MCP client sends a JSON-RPC request over stdio.
The bridge reads your CLI profile at ~/.logito/config.json, derives an agent-scoped token, and refreshes it automatically when it expires.
Remote tools are proxied to the Logito API at /v1/agent/tools/call. Local tools like API contract drift run directly via the CLI binary.
When both remote and local data are available, the bridge merges them into a single response. When remote data is empty, it can synthesize a local-only result.
Setup
brew tap progadigital/tap brew install logito
logito login
Creates a profile at ~/.logito/config.json. The MCP bridge reads this profile for authentication.
logito codex install
Writes the plugin bundle to ~/plugins/logito and registers it in the local marketplace.
# Send an initialize message to the bridge
cd ~/plugins/logito
printf 'Content-Length: 75\r\n\r\n{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"capabilities":{}}}' | python3 ./scripts/logito_mcp_bridge.py You should see a response with logito_local and protocol version 2024-11-05.
Tools
Tools are fetched dynamically from the Logito API plus one local-only tool backed by the CLI.
logito.get_api_contract_drift
Runs logito drift --format json against a stored local OpenAPI baseline. No API dependency. Works offline.
logito.get_action_bundlelogito.get_remediation_clusterlogito.get_findings_evidencelogito.explain_issue/v1/agent/toolslogito://auth — Auth status and profile readinesslogito://context — Active org, workspace, API URLlogito://tools — Full tool catalogWhen the API has no sessions or signals for the requested scope, the bridge synthesizes results from local CLI analysis instead of returning an error. This means agents get useful drift data even before the first cloud-connected run.
Authentication
The bridge derives an agent-scoped access token from your CLI login. It refreshes this token automatically on expiry, and recreates it when the active org or workspace changes. On 401 or auth-related 403 responses, it retries once with a fresh token.
For advanced setups, override auth with environment variables:
LOGITO_CONFIG_PATH=~/.logito/custom.json LOGITO_API_BASE_URL=https://api.example.com LOGITO_AGENT_ACCESS_TOKEN=your-token LOGITO_ACTIVE_ORG=org-id LOGITO_ACTIVE_WORKSPACE=ws-id LOGITO_BIN=/usr/local/bin/logito
Testing
cd plugins/logito python3 scripts/test_mcp.py
Sends initialize, tools/list, and resources/read to the bridge and prints formatted responses.
make smoke-logito-agent-mcp \ TOOL_NAME=logito.get_latest_run
Tests agent login plus bridge connectivity against the API.
make smoke-logito-self-improve-docker
Creates temp configs, signs in, starts capture, drives traffic, and verifies the bridge end-to-end on the local Docker stack.
make smoke-logito-pre-release-gate
Full integration gate for maintainers before a release.
Comparison
Team Setup
Keep the plugins/logito/ directory and marketplace manifest checked into the repo.
logito login
Codex and Claude Code discover the plugin from the repo marketplace automatically.
Install