sync_protocols
Synchronize protocols with peer MCP instances via push, pull, or bidirectional sync, targeting specific instances and resolving pull conflicts with configurable strategies.
Instructions
Synchronize protocols with peer MCP instances. Supports push, pull, or bidirectional sync.
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>"
},
"name": "sync_protocols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | No | Sync direction (default: bidirectional) | |
| projectDir | Yes | Absolute path to the project directory | |
| protocolIds | No | Specific protocols to sync (default: all active) | |
| targetInstance | No | Specific instance ID to sync with (omit for broadcast) | |
| includeInactive | No | Include inactive protocols in push (default: false) | |
| conflictStrategy | No | How to handle conflicts on pull (default: skip) |