ctx_doctor
Returns system health, index status, and permission diagnostics
How to use it
ctx_doctor is exposed by the Cortex MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the ctx_doctor tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL CORTEX LISTINGOther tools in Cortex (9)
Flags platform scope leaks (browser globals in server code)
Audits API route contracts and flags missing params & duplicate paths
Extracts feature AST, 2-hop import DAG, & code snippets into a markdown file
Resolves feature context, services, controllers, models, components, & routes
Computes blast radius (affected files, routes, tests) before edits
Returns high-level architecture, language breakdown, and module layouts
Sub-5ms FTS5 search for symbols, files, and code snippets
Suggests refactoring & file splitting recommendations
Inspects symbol AST definition, file location, and line numbers