Neural network background

Cursor

Add Fabric MCP to Cursor so its agent shares the same code-graph and memory layer as Claude Code.

Prerequisites

Node.js 20+, Cursor 0.43+, and a repo you want indexed.

Configure

Add Fabric to ~/.cursor/mcp.json (global) or <repo>/.cursor/mcp.json (per project):

{
  "mcpServers": {
    "fabric": {
      "command": "npx",
      "args": ["-y", "@cognisos/fabric-mcp@beta"],
      "env": { "FABRIC_REPO_ROOT": "${workspaceFolder}" }
    }
  }
}

Verify

Restart Cursor. Open chat, click the tool icon, and confirm fabric.* tools are listed.

> @fabric find every reference to `useDocsToc`

See also