register_workspace
Register a local workspace folder as a Hub project and persist its mapping in one step, optionally creating a default open thread for tracking unfinished work.
Instructions
Register a local folder as a Hub project in one operation.
Side effect: this persists the workspace/project mapping and, when
create_open_thread=true, also creates a default open thread. Use
resolve_project when you only need to resolve an already-known workspace
or want optional lookup-with-create behavior.
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_path": "<workspace_path>"
},
"name": "register_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional title for a new project; defaults to the workspace basename. Does not rename an existing project. | |
| summary | No | Optional title for the default new thread; defaults to Continue <project title>, truncated to 500 characters. | |
| source_tool | No | Originating client/tool name for the default thread; defaults to mcp (also used when null). | mcp |
| workspace_path | Yes | Nonblank client workspace folder path (1–4000 characters) to resolve or register; the Hub need not access that folder. | |
| create_open_thread | No | Defaults to true: create a default thread only if the project has no unfinished threads; never adopts an arbitrary existing thread. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||