init_project
Sets up a trace project with .trace-mcp config directory, enabling watch mode and caching for schema mismatch detection between data producers and consumers.
Instructions
Initialize a trace project with .trace-mcp config directory. Creates project structure for watch mode and caching.
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": {
"projectDir": "<projectDir>",
"producerPath": "<producerPath>",
"consumerPath": "<consumerPath>"
},
"name": "init_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectDir | Yes | Root directory for the trace project | |
| producerPath | Yes | Relative path to producer/server code | |
| consumerPath | Yes | Relative path to consumer/client code | |
| producerLanguage | No | Producer language (default: typescript) | |
| consumerLanguage | No | Consumer language (default: typescript) |