Yokozuna MCP

Yokozuna MCP (Model Context Protocol) gives coding agents (Claude Code, Claude Desktop, Codex, …) programmatic access to Sumo Logic logs via the Search Job API — so issues in preview deployments and production can be found and triaged without leaving the editor.
- Transport: stdio (local, per-developer; credentials via env vars)
- Deployment default: EU (
api.eu.sumologic.com), configurable - Token-economical by default: lean output with explicit levers (
detail,fields,dedupe), bulk data goes to files instead of your context window - Zero-config & schema-learning: only
SUMO_ACCESS_ID+SUMO_ACCESS_KEYare required. Severity schemas vary per system — the triage tools auto-detect each scope's severity signal at call time and disclose exactly what they applied (predicate, provenance, matched-N-of-M);sumo_describe_schemalearns any scope's schema in depth and proposes paste-ready filters. No schema config exists, on purpose.
Where to go
- Installation — prerequisites, npm-based setup, registering the server in Claude Code, Claude Desktop, and Codex, and a smoke test.
- Tools reference — all 14 tools, the
triageMCP prompt, and the token-economy levers (detail,fields,dedupe,sort, caps). - Querying & schema-learning — how to scope a search, the detect–disclose–override severity loop, cross-referencing requests, and bulk export.
- Monitoring — the stateless
sumo_new_sincepolling cursor, native Sumo Monitors, and fired-alert history. - Configuration — the full environment-variable table plus credential and security guidance.
- Troubleshooting — limits, common HTTP errors, ingestion lag, and job lifecycle gotchas.
- Development — building from source, tests, CI/release, layout.
The recommended triage pattern
Shape first (sumo_facets / sumo_trend / detail:"summary") → narrow
(sumo_error_digest, then compact reads) → trace (quoted request_id, no other
filters) → bulk export (sumo_export_results writes NDJSON to a file, not to your
context window). The triage MCP prompt encodes this workflow with the full query
cookbook.