MCP control plane · docs & simulated demos
Not just tool access — gated tool access.
OpsMCP is a FastMCP server that lets an AI agent operate GitHub, Postgres, deploy status, and a sandboxed filesystem — only after fail-closed security checks. Credentials stay in the local server process.
This site is static. The real MCP server runs locally over stdio — nothing here holds your tokens.
How it works
The agent proposes a tool call. The security/ layer is the
gate — adapters never see rejected input.
Package layout: tools/ · security/ ·
adapters/ · config.py
Safety showcase
Watch the gate stop something bad. Examples use the server’s real rejection messages — simulated locally in your browser, not a live MCP call.
Tool catalog
Eight typed tools, grouped by system — what each can and cannot do.
Simulated playground Simulated
Browser-only walkthroughs of dry-run writes and fail-closed refusals. No calls to GitHub or Postgres from this page.
Architecture
Same shape as the README — rendered for scanning in 10 seconds.
Cursor setup
Wire the local stdio server. Secrets stay in .env on your machine.
- Clone
tanmays0/ops-mcpand runuv sync - Copy
.env.example→.env(token, DSN, FS roots) - Optional:
docker compose up -dfor the seeded Postgres demo - Launch:
uv run python -m ops_mcp(or let Cursor spawn it) - Point Cursor at the config below — replace absolute paths