Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTAINER_URLYesThe URL of your Portainer instance
PORTAINER_API_KEYYesYour Portainer API key

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/onlitec/VPS-MCP-SERVER'

If you have feedback or need assistance with the MCP directory API, please join our Discord server