Engineering Operations MCP
A safe, read-only MCP server that gives Codex structured access to engineering operations evidence, with validated queries, secret redaction, and audit logging. Provides a search_logs tool for filtering logs by service, environment, severity, and time range.
README
Engineering Operations MCP
A small, safe MCP server that gives Codex structured, read-only access to engineering operations evidence. This first working stage exposes search_logs over Streamable HTTP using deterministic local JSON fixtures.
What works in Stage 1
search_logsfilters by service, environment, severity, text, and bounded time range.- Zod validates strict inputs; the maximum window is 24 hours and the maximum result limit is 100.
- Passwords, tokens, API keys, email addresses, and long identifying numbers are redacted.
- Every accepted or directly rejected tool execution emits a JSON audit event to stderr.
- The server is stateless and read-only, making it safe to replicate later.
- Both Streamable HTTP and local stdio transports use the same tool implementation.
- Docker Compose starts the complete sample as one non-root, read-only container.
The fixture clock uses the newest timestamp in test-data/logs.json, so the demo remains deterministic. Set OPS_CLOCK_MODE=realtime when replacing fixtures with a live adapter.
Run with Docker
docker compose up --build -d
docker compose ps
The MCP endpoint is http://127.0.0.1:3000/mcp; health is available at http://127.0.0.1:3000/health.
Register it with Codex:
codex mcp add engineering-ops --url http://127.0.0.1:3000/mcp
codex mcp list
Use a prompt such as:
Use engineering-ops to search payment-api production error logs from the last 30 minutes for timeout errors. Show the evidence and do not make production changes.
Develop and verify
Node.js 20 or newer is required.
npm install
npm run build
npm test
docker compose up --build -d
npm run smoke -- http://127.0.0.1:3000/mcp
For a local process-spawned integration, build once and run npm run start:stdio. Protocol traffic uses stdout; audit logs use stderr.
Tool contract
Example input:
{
"service": "payment-api",
"environment": "production",
"query": "timeout",
"severity": "error",
"sinceMinutes": 30,
"limit": 10
}
The response contains the effective time window, matching and error counts, redacted top-error groups, and a truncation indicator. Production actions, shell execution, SQL, and write tools are not exposed.
Staged roadmap
- Stage 1 — working sample (this repository): containerized
search_logs, fixtures, limits, redaction, auditing, tests, and MCP smoke test. - Stage 2 — complete mock MVP: add
get_recent_deployments, Markdown-backedget_runbook, and evidence-baseddiagnose_servicebehind the same server factory. - Stage 3 — local demo stack: add separate mock provider and demo-console containers; use Compose profiles so the MCP server still runs alone.
- Stage 4 — real read-only adapters: add OpenSearch, GitHub/CI, and deployment providers behind repository interfaces, plus authentication and durable audit storage.
Suggested GitHub description
A safe, containerized TypeScript MCP server that gives Codex structured, read-only engineering operations evidence with validated queries, secret redaction, audit logging, and deterministic local demos.
The staged roadmap follows the original Engineering Operations MCP design and acceptance criteria.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.