Arcframe
The engineering control plane for Cursor
Local-first repository intelligence for Cursor MCP and AI coding agents.
Arc Index, Arc Graph, blast-radius impact analysis, and evidence-backed context.
Analysis stays on your machine.
Repo
·
Site
·
Docs
·
Cursor Directory
·
Releases
·
Sponsors
What / Why
Arcframe is infrastructure for serious engineering work inside Cursor: a control plane over your repository, not a chat wrapper.
It answers operational questions with labeled evidence  Confirmed, Strongly inferred, Weakly inferred, Unknown  instead of unverifiable certainty. The same engines power the CLI, MCP server, Cursor UI, and workflow prompts so agents and humans share one source of truth.
| Principle |
Practice |
| Local-first |
Index and graph live under .arcframe/; core operation needs no Arcframe account |
| Evidence over assumptions |
Analytical claims carry confidence + sources |
| Incremental by default |
Content hashes + SQLite; full rescans are explicit (rebuild) |
| One engine |
No duplicate analyzers across CLI vs MCP vs plugin |
| Safe automation |
Reads are automatic; destructive ops need explicit intent; never auto-push |
Architecture
flowchart LR
subgraph Surfaces
CLI["CLI · arc / arcframe"]
MCP["MCP · servers/mcp"]
Plugin["Cursor plugin"]
end
subgraph Engine["Shared engine"]
Core["@arcframe/core"]
Analyzer["analyzer"]
Graph["graph"]
Context["context"]
Memory["memory"]
Eng["engineering"]
Store["storage · SQLite"]
end
CLI --> Core
MCP --> Core
Plugin --> Core
Core --> Analyzer & Graph & Context & Memory & Eng & Store
Thin surfaces, one engine. Local state lives under .arcframe/ (SQLite, cache, rules, mcp.json).
| Package / path |
Role |
@arcframe/core |
Config, paths, cache, events, DI, permissions, project identity |
@arcframe/storage |
SQLite (node:sqlite) |
@arcframe/analyzer |
Arc Index, language adapters, FS watcher |
@arcframe/graph |
Arc Graph + impact |
@arcframe/memory |
Memory, sessions, tasks, decisions |
@arcframe/context |
Budgeted context packs |
@arcframe/engineering |
Git inspect, health, doctor, test/build/validate/review/changes |
@arcframe/workflows |
Arc Flows |
cli |
arc / arcframe binaries → cli/dist/bin.js |
servers/mcp |
MCP tools, resources, prompts (@arcframe/mcp) |
apps/cursor-plugin |
Cursor/VS Code sidebar + commands |
apps/docs |
VitePress documentation site |
rules/, skills/, agents/, commands/ |
Open Plugins rule pack, skills, agents, commands (repo root) |
mcp.json / plugin.json / .cursor-plugin/ |
Open Plugins / Agent Plugins manifests + MCP |
adapters/ |
Language / framework / tool adapter layout |
native/ |
Optional Rust/Go accelerators (arcframe-hashwalk, arcframe-gitmeta)  see native/README.md |
TypeScript remains the control plane. Native binaries are optional: discovered via ARCFRAME_NATIVE_DIR, native/bin/, crate build outputs, or PATH, with graceful JS fallback when missing (pnpm native:build).
Features
- Arc Index  incremental file/symbol index with watch (native + polling fallback)
- Arc Graph â€â€
IMPORTS, DEPENDS_ON, CONTAINS, TESTS, ROUTES_TO, and related edges with confidence
- Budgeted context packs â€â€
tiny → unlimited token budgets with scored, reasoned items
- Arc Memory  notes, ADRs/decisions, sessions, and tasks in local SQLite
- Impact analysis  dependents/dependencies from the graph for a file or node
- Engineering ops  doctor, health, validate, test, build, review, changes, API compatibility, docs checks
- MCP server  136 precise tools, plus resources and prompts (not a single dump-everything tool)
- Rules + skills  repo rule pack and evidence-first skill prompts
- Language adapters  TypeScript, JavaScript, Rust, Python, Go, plus framework route heuristics
Install
Live site: https://theworker02.github.io/arcframe · Docs: https://theworker02.github.io/arcframe/docs/
Arcframe is GitHub-first  all workspace packages are "private": true and are never published to the npm registry. Do not use npm install -g @arcframe/….
| Surface |
Install path |
| CLI |
Clone → pnpm install && pnpm build → node ./cli/dist/bin.js |
| MCP |
Same build → point Cursor at servers/mcp/dist/index.js (or install as Open Plugin) |
| Cursor Open Plugin |
cursor.directory/u/theworker02 or add this GitHub repo in Cursor Plugins (discovers rules/, skills/, mcp.json, …) |
| Cursor VSIX plugin |
Download VSIX from Releases, or pnpm --filter ./apps/cursor-plugin package:vsix → Install from VSIX |
| Releases |
Tag v* artifacts (VSIX + node tarball)  see DISTRIBUTION.md |
Full distribution notes: DISTRIBUTION.md.
Quick start
Requires Node.js >= 22.5 (built-in node:sqlite) and pnpm 9 (packageManager: pnpm@9.15.9).
git clone https://github.com/theworker02/arcframe.git
cd arcframe
pnpm install
pnpm build
node ./cli/dist/bin.js init
node ./cli/dist/bin.js status
node ./cli/dist/bin.js health
Convenience aliases after build (from the monorepo root):
pnpm arc -- help
# or
node ./cli/dist/bin.js <command> [--json] [--cwd <path>]
Root package.json also exposes bin names arc and arcframe → ./cli/dist/bin.js.
Dogfood shortcut:
pnpm dogfood # init + status + health
Cursor integration
Official listing: cursor.directory/u/theworker02
Open Plugin (rules, skills, agents, commands, MCP)
This repository follows the Cursor Plugins / Agent Plugins layout at the repo root so Cursor can discover components when you add the GitHub repo as a plugin:
| Path |
Contents |
.cursor-plugin/plugin.json |
Cursor Plugin manifest |
plugin.json |
Agent Plugins 1.0 manifest |
rules/*.mdc |
Engineering rule pack (20 rules) |
skills/<name>/SKILL.md |
Bug Investigator, Feature Builder, Refactor Planner |
agents/*.md |
Investigator / Implementer / Reviewer personas |
commands/*.md |
Status, health, reindex, impact, context, investigate |
mcp.json / .mcp.json |
stdio MCP → servers/mcp/dist/index.js (${PLUGIN_ROOT}) |
Install
- Install from cursor.directory/u/theworker02, or clone / add from GitHub:
https://github.com/theworker02/arcframe.
- In the Arcframe checkout:
pnpm install && pnpm build (MCP requires servers/mcp/dist/index.js).
- Enable the plugin in Cursor. MCP starts with
ARCFRAME_ROOT=${PLUGIN_ROOT} (indexes the plugin/repo root by default).
- To analyze a different project, set
ARCFRAME_ROOT to that project path, or run node ./cli/dist/bin.js init there and use project MCP settings.
Validate discovery locally: pnpm sync:open-plugin (or node ./scripts/sync-open-plugin.mjs).
Root Open Plugin files are the canonical sources for rules/skills/agents/commands/MCP manifests. The activity-bar VSIX under apps/cursor-plugin is a separate UI surface.
Classic setup (clone + MCP / VSIX)
- Build the repo (
pnpm build).
- Run
node ./cli/dist/bin.js init in the target project (or this monorepo).
- Wire MCP using
.arcframe/mcp.json (written on init) or your Cursor MCP settings.
- Optionally build/load
apps/cursor-plugin for the activity-bar sidebar (Status, Health, Rebuild Index).
Cursor public APIs only  see docs/cursor-api-limitations.md.
MCP
Verified tool count: 136 distinct MCP tools (registry + handler coverage scripts; server process dogfood).
pnpm --filter @arcframe/mcp build
node ./servers/mcp/dist/index.js
# verify: node ./scripts/count-mcp-tools.mjs && node ./scripts/verify-mcp-tools.mjs
Or via the root script after build: pnpm dev:mcp.
Cursor MCP config (also written to .arcframe/mcp.json on arc init):
{
"mcpServers": {
"arcframe": {
"command": "node",
"args": ["<path-to-repo>/servers/mcp/dist/index.js"],
"env": { "ARCFRAME_ROOT": "<path-to-repo>" }
}
}
}
The tool surface is expansive and precise: repository, symbols, graph, impact, context, memory, decisions, sessions, tasks, git, tests, validate, review, changes, debug, deps, command intelligence, ownership, workspace/monorepo, adapters, flows, rules, env (names only, never values), db schema, CI/release helpers, unified search, security patterns, and performance signals. Agents call the right tool rather than a monolithic dump.
Resources use the arcframe://… URI scheme; prompts cover investigate / implement / refactor / review flows.
Details: docs/mcp.md · apps/docs/mcp.md
Arc Index
Incremental file/symbol index backed by SQLite content hashes.
node ./cli/dist/bin.js index # incremental
node ./cli/dist/bin.js index rebuild # full
node ./cli/dist/bin.js index explain <file>
node ./cli/dist/bin.js index watch # FS events → rebuild + graph
Watch uses native FS events where available, with a polling/hybrid fallback (Linux prefers poll/hybrid). See apps/docs/arc-index.md.
Arc Graph
Builds a directed graph from the index. Edge types include IMPORTS, DEPENDS_ON, CONTAINS, TESTS, ROUTES_TO. Confidence is attached per edge.
node ./cli/dist/bin.js graph build
node ./cli/dist/bin.js graph stats
node ./cli/dist/bin.js graph neighbors <node>
See apps/docs/arc-graph.md.
Arc Context
Budgeted packs for agent and human consumption: tiny · small · normal