Get a connection block
get_connectionMinimal connection block for the preferred remote (or package) with ${SECRET} placeholders, formatted for a target client. Secrets are never accepted or returned.
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>"
},
"name": "get_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Official reverse-DNS name | |
| target | No | Output format (default mcpServers) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Suggested name for the server in the client configuration | |
| kind | Yes | ||
| class | Yes | R0 remote no auth, R1 static secret, R2 OAuth, L0 local package | |
| server | Yes | ||
| target | Yes | ||
| secrets | Yes | Placeholders to replace with values you hold | |
| autonomous | Yes | ||
| connection | Yes | The block for the target client: an object for JSON targets, a string for text ones | |
| human_steps | Yes | ||
| content_type | Yes | ||
| next_actions | Yes | Follow-up calls: action is the tool, arguments are ready to pass ({placeholders} are yours to fill) | |
| placeholders | Yes |