swiss_set_api_key
Store API keys or credentials locally so Swiss API tools that require authentication become fully operational. Keys take effect immediately, with no server restart needed.
Instructions
Store an optional API key so Swiss API tools that require it become fully operational. Keys are saved in ~/.swiss-apis-mcp/keys and take effect immediately — no server restart needed. Ask the user for the value before calling this tool.
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": {
"key_name": "<key_name>",
"value": "<value>"
},
"name": "swiss_set_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The API key / credential value provided by the user | |
| key_name | Yes | Name of the key to set |