project_init
Register the server root directory as an Istok project to record its tasks, runs, and context in Istok's local database without writing files there. Use only when unregistered.
Instructions
Register the directory this MCP server was started in (the server root) as an Istok project, so tasks, runs and context can be recorded for it. Nothing is written into the directory itself; the project lives in Istok's local database. If the directory is already registered, the existing project is returned with created=false and nothing changes. Call project_current first and use this only when the directory is not registered and the user asked to register it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "project_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name of a new project. Defaults to the name of the directory. Ignored when the directory is already registered. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| created | Yes | ||
| project | No | ||
| schema_version | Yes |