Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORTAINER_URL | Yes | The URL of your Portainer instance | |
| PORTAINER_API_KEY | Yes | Your Portainer API key |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| set_portainer_config | Configure Portainer connection settings (URL, API Key, Endpoint ID). The settings are saved to the .env file. |
| get_portainer_config | Get current Portainer configuration (API key is masked for security) |
| test_portainer_connection | Test the connection to Portainer API with current configuration |
| list_endpoints | List available Portainer endpoints to find the correct Endpoint ID. Use this when you get an "Object not found" error during connection test. |
| list_containers | List all Docker containers |
| get_container | Get detailed information about a specific container |
| start_container | Start a stopped container |
| stop_container | Stop a running container |
| restart_container | Restart a container |
| remove_container | Remove a container |
| create_container | Create a new container |
| list_images | List all Docker images |
| get_image | Get detailed information about a specific image |
| pull_image | Pull an image from a registry |
| remove_image | Remove an image |
| list_networks | List all Docker networks |
| create_network | Create a new Docker network |
| remove_network | Remove a Docker network |
| list_volumes | List all Docker volumes |
| create_volume | Create a new Docker volume |
| remove_volume | Remove a Docker volume |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |