context-ops-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@context-ops-mcpGive me a bounded map of this SaaS repo: structure, entry points, and risky files."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
context-ops-mcp
Gives your AI coding agent a bounded map of an unfamiliar TypeScript SaaS repo: where the code lives, what's risky to touch, and where the money / auth / user flows are. Without burning your context window on full-file reads.
Built for the agency, fractional-CTO, or consultancy dev lead who just inherited a TypeScript SaaS codebase and needs to go from zero to a credible map in one afternoon, inside Cursor or Claude Code.
What it does
Eight MCP tools your agent calls locally. All heuristic. Regex over file heads, filename rules, and one whole-file streaming pass in the relevance ranker. No AST. No type checker. No call graph.
Orientation: structure, top-of-file symbol hints, entry points, config files
Task focus: ranked candidate files for a task string, plus a step-ordered plan
Risk: files that often deserve extra care before edits
SaaS smells: observation-only flags for billing, auth, security patterns, debt markers, and risky deps
Related MCP server: repowise
MCP tools exposed
Tool | What it returns |
| Sorted POSIX paths of directories and files (skips node_modules, .git, dist, .next, .turbo, build, out, coverage, .svelte-kit, .vercel, .cache) |
| First 50 lines of every .ts and .json file: detected exports, key functions, JSON top-level keys |
| .ts files that look like bootstrap or route registration (filenames, folder hints, framework imports) |
| Up to 10 .ts files ranked against a task string (path, exports, key functions, plus a whole-file keyword pass) |
| Step-ordered list: inspect entries first, then a modify candidate, then supporting reads, plus an avoid list |
| .ts files matching risky path segments, process.env, DB/auth imports, or startup patterns |
| Manifests, tsconfig, .env, build/CI/tooling configs (filename pattern match, not content validation) |
| Observation-only scan (up to 500 lines per code file): billing keywords, auth imports, security regex hits, TODO/FIXME/HACK/XXX, any/@ts-ignore, risky deps from package.json. No scores. No severity ranking. No hour estimates. |
What it will not claim
Not an audit, diagnosis, or analysis. The smell tool returns presence checks, not verdicts.
No /100 scores. No hour estimates on remediation.
No UI-layer claims. This reads code structure, not UX or conversion.
No AST, type-checker, or call-graph promises.
A determined engineer rebuilds the orientation core in an afternoon with
grepandtree. The differentiator is MCP wiring, task-string ranking, and prose-narrated read order, not capability you cannot have.
Stack
TypeScript · MCP SDK · Node.js · stdio transport
Run locally
npm install
npm run build
npm run startWire it into Cursor or Claude Code as a local MCP server (stdio). No API keys required.
Built by
AboJad, Full Stack AI Engineer, Marrakesh
Secrets & API keys
Standing rule: one named API key per project per environment, living in exactly one location, never copied between projects. Give each environment its own distinctly named key (e.g. contextops-dev, contextops-prod) so rotating means replacing a single copy with none left to go stale. The recurring Anthropic key "exposures" across these repos were one key hand-copied between consumers, not a leak.
Local secrets live only in
.env.local/.env(gitignored), never in a committed file.Deployed secrets live only in the host env store (Vercel / Railway / etc.).
A pre-commit secrets scan (
scripts/secrets_scan.py) blocks accidental commits; install it once per clone withpowershell -ExecutionPolicy Bypass -File scripts/install_hooks.ps1.
This server cannot be deployed
Maintenance
Related MCP Connectors
Code-map tools for AI agents: see a repo's structure first, then edit only what matters.
11Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Repo intel for AI coding agents: overview, PRs, contributors, hot files, CI, deps. Remote MCP.
Coding agents in multi-service codebases routinely rebuild existing helpers, trust stale type definitions, and modify API contracts without knowing who consumes them. Carrick solves this by indexing your entire TypeScript ecosystem across service and repository boundaries. By integrating deeply with the TypeScript compiler, Carrick traces every route, type, and cross-service call while recording function behaviour so agents search by intent rather than name. Delivered via MCP for AI agents and LSP for IDEs, Carrick ensures models see existing endpoints and utilities before generating new code. The scanner is source-available and runs from your CLI or CI pipeline.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAST-aware TypeScript/JavaScript codebase exploration for AI agents, providing high-precision symbol resolution, reference finding, and structural analysis via MCP tools.228 npmMIT
- AlicenseAqualityAmaintenanceProvides AI coding agents with five intelligence layers (dependency graph, git history, documentation, architectural decisions, code health) via nine MCP tools, enabling deep codebase understanding and reducing exploration cost.104,402 PyPI7,375AGPL 3.0
- AlicenseNot gradedqualityAmaintenanceStatic codebase analysis as MCP tools — give AI coding agents a map of your repo instead of letting them burn half their tokens rediscovering it file by file.46 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server providing 29 tools across 5 layers for semantic TypeScript/JavaScript code intelligence, enabling AI agents to find references, trace impacts, guard APIs, and explain errors without text-search false positives.7 npm1MIT