data-ops-mcp
Provides read-only tools to inspect Airflow DAGs, DAG runs, task instances and logs, diagnose stalled DAGs, wait for DAG runs, and list variables with secret masking; optionally triggers DAG runs when writes are enabled.
Provides tools to list and inspect Argo CD applications, view resource health, and fetch application logs with a tail window.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
data-ops-mcp
Model Context Protocol servers that let an AI assistant inspect Apache Airflow, the Spark History Server and Argo CD, from one package with shared HTTP, auth and config code. Read-only by default.
All bundled data is synthetic. Try it with no network and no credentials using --standin.
Problem
Debugging a data platform means hopping between three web UIs: why is this DAG not running, which Spark stage failed, is the deployment synced and what do its pods say. Each has a REST API, but raw API access is a poor fit for an assistant: responses are huge, unfiltered listings can return thousands of rows, variables can hold secrets, and a hung host can stall the whole session.
data-ops-mcp exposes a small set of slim, bounded, safe tools per system. Secrets are masked, writes are off until you turn them on, every request has a connect and a total timeout, and long waits are capped below 30 minutes.
Related MCP server: Langfuse MCP Server
Architecture
flowchart LR
C[MCP client] -- stdio JSON-RPC --> I[index.ts<br/>--server airflow / spark_history / argocd]
I --> R[runtime.ts<br/>instance pick, credential, HttpClient]
R --> A[servers/airflow.ts]
R --> S[servers/spark.ts]
R --> G[servers/argocd.ts]
R --> H[http.ts<br/>bearer auth, timeouts, size cap]
R --> K[credentials.ts<br/>env var or OS keychain]
H --> U[(Airflow v2 / Spark History v1 / Argo CD v1)]
H -.-> T[standin/<br/>synthetic fixtures]One process serves one system; several instances of that system (prod, staging) come from the config map.
Setup (three steps)
Install and build.
npm ci && npm run buildConfigure.
mkdir -p ~/.config/data-ops-mcp && cp config.example.yaml ~/.config/data-ops-mcp/config.yaml, edit the URLs, and export the token variables named inauth_env.Register one server per system in your MCP client:
{
"mcpServers": {
"airflow": { "command": "node", "args": ["/path/to/data-ops-mcp/dist/index.js", "--server", "airflow"] },
"spark-history": { "command": "node", "args": ["/path/to/data-ops-mcp/dist/index.js", "--server", "spark_history"] },
"argocd": { "command": "node", "args": ["/path/to/data-ops-mcp/dist/index.js", "--server", "argocd"] }
}
}Try without any backend: node dist/index.js --config config.example.yaml --server argocd --standin.
CLI flags: --server airflow|spark_history|argocd (overrides server: in config), --config PATH (overrides DATA_OPS_MCP_CONFIG), --standin.
Tools
Every tool takes an optional instance (default: the instance marked default: true, or the only one) and list_instances is available on all three servers.
System | Tool | Notes |
Airflow |
| slim rows incl. |
|
| |
| per run | |
| last | |
| checks | |
| bounded polling | |
| values masked by default | |
| needs | |
Spark History |
|
|
| optional | |
Argo CD |
| slim rows, resource health |
| tail window |
Configuration reference
Default location ~/.config/data-ops-mcp/config.yaml, or the path in DATA_OPS_MCP_CONFIG. Unknown keys are rejected, so a stray token: in the file is an error rather than a silent plaintext secret.
Key | Default | Meaning |
| none |
|
|
| enables |
|
| allows |
|
| total time per HTTP request |
|
| time to establish the connection |
|
| cap on |
| required | base URL (path prefixes allowed). |
| name of the environment variable holding a bearer token | |
| OS keychain service name (macOS | |
|
| instance used when a tool call omits |
At least one of auth_env / auth_keychain_service is required per instance. Tokens are never read from the config file.
Design decisions
One package, one process per system. Multi-instance is a config map, not duplicate servers.
Read-only first. The only write tool,
trigger_dag_run, is visible but refuses untilallow_writes: true, so the assistant can explain why.Secrets masked by default. Revealing Airflow variables needs both a per-call flag and
allow_secrets: true.Do not hide queued runs. Airflow run listings expose a
statefilter instead of date ranges, because queued runs have a null start date and a start-date filter drops them.Pause check first. The stalled-DAG diagnosis stops at
is_paused, the most common and cheapest explanation.Spark name filter is mandatory. The History Server cannot filter by name server-side; the tool scans up to 1000 applications, filters locally and says if the scan may be incomplete.
Logs are tails. Argo CD log requests send
tailLinesand the client keeps only the last lines; Airflow task logs are tail-trimmed the same way.Bounded waits. No single sleep exceeds 25 minutes and total waits are capped by config, always under 30.
Two timeouts. A dead host fails at
connect_timeout_srather than hanging for the full request timeout.Tests run against a stand-in.
src/standinserves synthetic fixtures for all three APIs, including the quirks the tests pin down.
Development
npm run check runs lint, typecheck, tests and build. Each known pitfall has its own test, named gotcha (a) to gotcha (f).
License
MIT, see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only production context for AI agents: Docker/K8s health, deploys, logs, traffic, code graph
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
Autonomous and governed SRE & MLOps control plane for AI agent platforms.
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to query and debug trace, session, observation, and exception data, analyze latency and metrics, and manage prompts, datasets, and annotation queues. Supports selective tool-group loading, compact or file-dump output, and a read-only mode for safer access.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents and MCP clients to debug and observe LLM applications by querying traces, sessions, exceptions, prompts, datasets, scores, and metrics. Supports local stdio/HTTP access, selective tool loading, and read-only operation for safer observability workflows.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents and MCP clients to locally debug observability data — traces, observations, sessions, exceptions, route decisions, prompts, datasets, metrics, and annotation queues — through 48 query and management tools. Supports selective tool-group loading to cut token overhead and a read-only mode that disables all write operations.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents and developers to query traces, sessions, and exceptions for debugging and observability, alongside tools for prompts, datasets, annotation queues, scores, and metrics. Supports selective tool loading and a read-only mode for safer local access from any MCP client.-