set_portainer_config
Configure Portainer connection settings including URL, API key, and endpoint ID to enable Docker container management through the VPS MCP Server.
Instructions
Configure Portainer connection settings (URL, API Key, Endpoint ID). The settings are saved to the .env file.
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": "set_portainer_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Portainer URL (e.g., http://localhost:9000) | |
| api_key | No | Portainer API Key (starts with ptr_) | |
| endpoint_id | No | Docker endpoint ID (usually 1 for local) |