attach_test_client
Attach to an existing /TESTCLIENT endpoint without owning its process, for clients launched out-of-band. Sets it as the active context for replay-backed tools.
Instructions
Attach to an already-listening /TESTCLIENT endpoint without owning its process.
This is for clients started out-of-band, for example with a custom environment or by a host-side launcher.
The returned handle status records attached=true and owns_process=false. The MCP server also records
the endpoint as the active attached context for replay-backed tools that are called with default host/port.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "attach_test_client"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | 127.0.0.1 | |
| port | No | ||
| connect_timeout_sec | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||