add_network
Add a custom Qubic network by specifying a name and RPC URL, optionally an API endpoint, to save it for later connection.
Instructions
Save a custom Qubic network (e.g., a local lite node). Stored in ~/.qubic-mcp/networks.json. Use switch_network to activate it.
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>",
"rpcUrl": "<rpcUrl>"
},
"name": "add_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A friendly name for this network (e.g., "local", "dev-node", "my-lite") | |
| apiUrl | No | Optional separate API/query endpoint. Defaults to the RPC URL if not provided. | |
| rpcUrl | Yes | The RPC endpoint URL (e.g., "http://192.168.1.50:21841") |