Attach Backend
attach_backendAttach to an existing gr4cp_server or switch back to a private managed backend to share sessions with external clients while leaving their server running.
Instructions
Attach to an already running gr4cp_server (e.g. the one gr4-studio started), or go back to a private one.
url: "http://127.0.0.1:37945" (the http:// is optional); "studio" to find a running backend announced in the GR4 install's var/logs (gr4-studio writes gr4cp_server.log there); or omit it to return to a backend managed by gr4-mcp. Attaching stops the managed backend (its sessions are lost). gr4-mcp never stops an attached backend, and its sessions are shared with other clients: list_sessions shows gr4-studio's too. The URL is not saved, because backend ports change on every launch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||