You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: unison-src/transcripts/idempotent/mcp.md
+2-41Lines changed: 2 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -424,47 +424,8 @@ RESPONSE:
424
424
425
425
## update-definitions
426
426
427
-
MCP can't edit branches unless they are marked as editable.
428
-
429
-
```api
430
-
POST /mcp
431
-
BODY:
432
-
{
433
-
"jsonrpc": "2.0",
434
-
"id": 1,
435
-
"method": "tools/call",
436
-
"params": {
437
-
"name": "update-definitions",
438
-
"arguments": {
439
-
"projectContext": {
440
-
"projectName": "scratch",
441
-
"branchName": "uneditable"
442
-
}, "code": {"text": "myTerm = 100"}
443
-
}
444
-
}
445
-
}
446
-
447
-
RESPONSE:
448
-
{
449
-
"id": 1,
450
-
"jsonrpc": "2.0",
451
-
"result": {
452
-
"content": [
453
-
{
454
-
"text": "The provided project-branch is not editable.\nPlease ask the user to allow edits to this project in their MCP configuration by adding `--mcp-editable-branches=scratch/uneditable` to the invocation of the Unison mcp within their agent's mcp configuration.",
455
-
"type": "text"
456
-
}
457
-
],
458
-
"isError": true
459
-
}
460
-
}
461
-
462
-
```
463
-
464
-
Transcripts allow mcp-editing on `agent-*` branches.
0 commit comments