oddyssey-mcp

v1.13.3
oddyssey-mcp Checked 1 day ago Published 1 month ago

Oddyssey MCP server: pilots the local observability stack for CLI coding agents

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

odd_stack_up

Start the local LGTM observability stack (Grafana, Tempo, Prometheus, Loki, Pyroscope, OTLP). env adds environment variables to the container - the otel-lgtm image is configured exclusively through them (PROMETHEUS_EXTRA_ARGS, LOKI_EXTRA_ARGS, TEMPO_EXTRA_ARGS, GF_*, ...); explicit entries override the embedded defaults. Docker only applies env at container creation: when a container already exists the result carries env_applied: false and the requested env is NOT active - run odd_stack_reset with the same env to apply it (destroys stored telemetry). A creation persists the applied env into…

ParameterTypeDescription
env

odd_stack_down

Stop and remove the local LGTM stack; stored telemetry does not survive. The stack is shared by every project on this machine, so their data is destroyed too.

odd_stack_status

Check whether the local LGTM stack is up (Prometheus, Tempo, Loki, and Pyroscope ready) - plus the container's identity: image tag, created/started timestamps, and user-set env (credential-named values redacted to null, all four null when there is no container). daemon is "ok" when the Docker daemon answers, or "unreachable" with daemon_remedy (the one-line remedy) when it does not.

odd_stack_reset

Wipe ALL stored telemetry (traces, metrics, logs, profiles) and return a fresh, ready stack. env adds environment variables to the recreated container (see odd_stack_up); unlike on up, a reset always recreates, so env always applies. The recreation reapplies the env persisted in stack_config.local and persists the explicit non-credential entries it applied (odd_stack_up's creation contract), so the reset needs no env at all to keep a previously applied configuration. The wipe is machine-wide and irreversible: one shared stack per machine, so data from every project ever observed on it is des…

ParameterTypeDescription
env

odd_config_get

Read the global oddyssey configuration: the configured stack (local, or a remote backend), the configured deployment environment (null when none is set), and the local stack host ports (defaults applied; invalid stored values are listed in invalid_ignored). Also returns stack_config: non-secret targeting values (identifiers, names, regions) persisted per backend, keyed <stack> or <environment>-<stack>; effective: the entry resolved for the configured pair - {"stack", "environment", "stack_config_key", "stack_config"} where stack_config_key is "<environment>-<stack>" when an entry is persisted…

odd_config_set

Update the global oddyssey configuration (partial merge). config example: {"stack": "datadog"} or {"local": {"grafana_port": 3300}} or {"stack_config": {"azure-monitor": {"workspace": "<guid>"}}} or {"environment": "prod", "stack_config": {"prod-cloudwatch": {"log_group": "<log_group>"}}}. stack is one of: local (the local stack - the default), grafana (a REMOTE Grafana - the CLI context says which instance), azure-monitor, cloudwatch, datadog, dynatrace - or a custom stack (a backend the package does not ship, described by a stack directory in the observed repository) declared under custom i…

ParameterTypeDescription
config *object