(loc: Location)
| 54 | } from '../instructions-template'; |
| 55 | |
| 56 | function mcpJsonPath(loc: Location): string { |
| 57 | return loc === 'global' |
| 58 | ? path.join(os.homedir(), '.cursor', 'mcp.json') |
| 59 | : path.join(process.cwd(), '.cursor', 'mcp.json'); |
| 60 | } |
| 61 | /** |
| 62 | * Cursor "rules" file. Only meaningful for the project-local |
| 63 | * location — Cursor reads `.cursor/rules/*.mdc` from the workspace |
no test coverage detected