
How to add FileScopeMCP to Cursor
Ranks every file by importance, maps dependencies, and keeps AI summaries fresh in the background. Paste the config into ~/.cursor/mcp.json and restart Cursor.
Last updated June 14, 2026 · 293★ · stdio · no auth
Cursor config for FileScopeMCP
git clone https://github.com/admica/FileScopeMCP.git && cd FileScopeMCP && ./build.sh{
"mcpServers": {
"filescopemcp": {
"command": "node",
"args": [
"/path/to/FileScopeMCP/dist/mcp-server.js"
]
}
}
}Setup steps
- 1Open Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
- 2Paste the FileScopeMCP config below into the "mcpServers" object.
- 3Fill in placeholder secrets, then save.
- 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
- 5Ask Cursor to use one of FileScopeMCP's tools to confirm it's connected.
Before you start
- Node.js >= 22 and npm
- Build tools for native modules (better-sqlite3, tree-sitter): build-essential + python3 on Linux, xcode-select on macOS, Visual Studio Build Tools (C++ workload) on Windows
- Optional: llama.cpp's llama-server (or any OpenAI-compatible HTTP API) for LLM-generated summaries
What FileScopeMCP can do in Cursor
statusBroker connection, queue depth, LLM progress, watcher state.
find_important_filesTop files by importance score with dependency counts.
get_file_summaryEverything about a file: summary, concepts, change impact, exports, deps, staleness.
list_filesFull file tree (no args) or flat top-N by importance (with maxItems).
find_symbolResolve a symbol name to file + line range; supports prefix match via trailing *.
find_callersFind all symbols that call a named symbol (TS/JS call graph).
find_calleesFind all symbols that a named symbol calls (TS/JS call graph).
searchSearch file metadata across symbols, summaries, purpose, and paths.
Security
Proprietary license — Copyright (c) 2026 admica, All rights reserved. Built from source (no npm package); requires native build tools to compile better-sqlite3 and tree-sitter. The optional LLM broker and Nexus dashboard run local HTTP/Unix-socket services; the multi-repo systemd watchers are Linux-only. The `exclude_and_remove` tool is destructive.
FileScopeMCP + Cursor FAQ
Where is the Cursor config file?
Cursor reads MCP servers from ~/.cursor/mcp.json. Paste the FileScopeMCP config there under the "mcpServers" key and restart the client.
Is FileScopeMCP safe to use with Cursor?
Proprietary license — Copyright (c) 2026 admica, All rights reserved. Built from source (no npm package); requires native build tools to compile better-sqlite3 and tree-sitter. The optional LLM broker and Nexus dashboard run local HTTP/Unix-socket services; the multi-repo systemd watchers are Linux-only. The `exclude_and_remove` tool is destructive.
Do I need a local LLM to use it?
No. LLM summaries are optional and require llama.cpp's llama-server (or any OpenAI-compatible HTTP API). Without it, file tracking, dependency mapping, symbol extraction, and call graphs all still work — you just don't get LLM-generated summaries.
Which languages and analysis levels are supported?
TypeScript, JavaScript, Python, C, C++, Rust, Go, Ruby, Lua, Zig, PHP, C#, and Java. AST-level extraction (tree-sitter) is used for TS/JS, Python, C, C++, and Rust; regex-based detection for the rest. Symbol intelligence uses tree-sitter for TS/JS, Python, Go, and Ruby; the call graph (find_callers/find_callees) is TS/JS only.
Which clients does it work with?
Claude Code (auto-registered via ./build.sh using claude mcp add --scope user), plus Hermes Agent, Codex, OpenClaw, Cursor AI, or as a standalone daemon. Agent runtimes discover it via the repo's AGENTS.md.