authorize_workspace
Issue a process-bound, reusable authorization that binds the current MCP conversation to one workspace for read-only or workspace-write operations.
Instructions
仅当用户在当前对话明确要求 Cursor Relay 读取或修改该工作区时调用。签发绑定当前 MCP 对话与精确工作区的可复用授权;read-only 与 workspace-write 均只传位置和范围,禁止传源码正文,由 Cursor 自行读取;不授予危险权限,进程结束即失效。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace": "<workspace>"
},
"name": "authorize_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | ||
| permission | No |