write_crossproject
Writes or overwrites files in a configured workspace repository, enabling cross-project edits from a single agent session. Respects write allowlists and logs all writes.
Instructions
Create or overwrite a file in a configured workspace root, typically another repo exposed through this MCP rather than the current project. Prefer built-in IDE editing/refactoring tools for current-workspace files. If a writeAllowlist is configured, only matching paths are writable. All writes are logged.
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>",
"path": "<path>",
"content": "<content>"
},
"name": "write_crossproject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path relative to workspace root | |
| content | Yes | File contents to write | |
| workspace | Yes | Workspace name (none configured — create a workspace-config.json) |