// editor
Cursor
Where you actually code.
Free tier available. See plans →
For Cursor users
Cursor is the editor. In a monorepo, the agent still needs a map of which file matters. Maguyva indexes your codebase and serves it back over MCP (semantic, AST, graph, and text), so “where does auth happen” returns the actual auth flow, not seven test stubs.
Public beta. Free tier: 3 repos, 50K indexed lines, no card.
Cursor edits what you point at. Maguyva tells the agent which file to point at. Four pieces. Each one has a job.
// editor
Where you actually code.
// manual context
Manual context wins, until the repo is big.
// codebase
Automatic codebase facts over MCP.
// who pays
Agents don’t pay seats. See pricing
The IDE is not the problem. Cursor’s tab completion, edit-with-AI, multi-file edits, and .cursor/rules are excellent, and you already use them for:
.cursor/rules for repo conventions and style guardrails.@-mentions to pull a specific file into context.Keep doing that. None of it goes away.
But in a real monorepo (TypeScript with workspace deps, Python services, mixed packages) agent context breaks the moment the relevant file isn’t already on your radar.
Four manual fixes paired with their failure mode. Left = what you do today. Right = where it breaks.
// the fix
You @-mention the three files you think matter. Cursor edits cleanly inside them.
// where it breaks
Pinning works when you already know which files are involved. The whole point of context tools is to surface the files you didn’t know to pin.
// the fix
You paste 200 lines from another package into the chat to give the agent enough context.
// where it breaks
The snippet you pasted at 9 a.m. doesn’t reflect the rebase your teammate landed at 11 a.m. The agent is editing against a phantom version of the package.
// the fix
You write a .cursor/rules file or an architecture markdown. It’s right today.
// where it breaks
Anything you write by hand drifts. The code is the source of truth. A doc explaining the queue layer is correct for a week, then wrong forever.
// the fix
You add .cursor/rules for naming, lint, build commands. Great for behavior.
// where it breaks
.cursor/rules is the right place for “always run pnpm tsc -b before commits.” It is not a queryable index of every symbol, file, and call-site in your monorepo.
Not a Cursor replacement. The repo-context layer that hangs off Cursor’s MCP support.
.cursor/rules keeps doing its job. @-mentions keep doing their job. Maguyva fills the gap they don’t fill. Cursor edits the file you point at.
Maguyva tells the agent which file to point at.
Cross-package, cross-language. Grounded against the actual call graph, not Cursor’s grep.
// workflow 01
cursor> where does authentication happen in this monorepo? graph::query("authentication flow") packages/web/src/auth/session.ts:42 middleware packages/api/src/auth/jwt.ts:88 token verify packages/shared/src/auth/types.ts:12 AuthContext packages/admin/src/auth/admin-only.ts:31 rbac gate → 4 entry points across 4 packages, ranked by call-site density. [exit 0]
You didn’t pin a file. You didn’t paste a snippet. The agent has the four files that matter, in the right ranking, and can make a grounded edit.
// workflow 02
cursor> how does normalizePhoneNumber handle E.164? semantic::query("normalize phone E.164") packages/shared/util/phone.ts:88 normalizePhoneNumber() ← real impl packages/api/test/phone.spec.ts:14 jest.mock(...) ← stub [exit 0]
Names lie. Mocks shadow real code. Maguyva ranks the real implementation above the test mock, across every package.
// workflow 03
cursor> what calls QueueDispatcher.publish across the monorepo? graph::callers(QueueDispatcher.publish) 3 in packages/billing/* 1 in packages/audit/* 1 in packages/notifications/* 1 in services/python-worker/* ← cross-language via gRPC stub [exit 0]
Cross-package, and cross-language when you have a polyglot repo, call-sites surface inline. The diff is grounded against real importers, not Cursor’s grep.
Three steps. Free tier: 3 repos, 50K indexed lines, no card.
// step 01
Pick the monorepo where you’ve felt the most context pain.
// step 02
// ~/.cursor/mcp.json
{
"mcpServers": {
"maguyva": {
"url": "https://maguyva.tools/mcp",
"headers": {
"Authorization": "Bearer <your-key>"
}
}
}
} // step 03
Don’t start with your whole company. Start with one repo and one verifiable question, like “what calls formatInvoice across packages?”