register_target
Registers a stdio or Streamable HTTP target after validating allowed boundaries, enabling secure test connections without storing secrets.
Instructions
Register a secret-free stdio or Streamable HTTP target after boundary validation.
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": {
"name": "<name>",
"transport": "<transport>"
},
"name": "register_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Existing stdio working directory inside MCP_QA_ALLOWED_ROOTS. | |
| url | No | Streamable HTTP MCP endpoint; remote hosts require explicit opt-in. | |
| args | No | Argument vector for the stdio executable, without shell expansion. | |
| name | Yes | Human-readable name used to identify the target in reports. | |
| command | No | Executable for a stdio target; passed directly without a shell. | |
| env_names | No | Environment variable names to inherit; values are never stored. | |
| transport | Yes | Connection transport: stdio or streamable-http. | |
| header_env | No | Map HTTP header names to inherited environment variable names. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||