set_project_dir
Set the project root directory for the MCP session to resolve incorrect working directory problems without modifying configuration files.
Instructions
Pin the project root for this MCP session.
Useful when the MCP process was spawned with the wrong working
directory — typical symptom: unbound_report shows a project
path like C:\Users\<you> instead of the workspace you
actually opened in Cursor. Calling this tool once re-binds every
subsequent tool call to the given directory, without editing
mcp.json or restarting Cursor.
Safe to call while UNBOUND — re-pointing at a directory is not a role-claim and writes nothing. It only mutates in-process state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | absolute path to the project root (the directory that should contain ``docs/agents/`` and ``.cursor/rules/``). The directory must exist; it does not need to be an already-initialized FCoP project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |