Loading...
brew install cloc{
"mcpServers": {
"portainer": {
"command": "/path/to/portainer-mcp",
"args": [
"-server",
"[IP]:[PORT]",
"-token",
"[TOKEN]",
"-tools",
"/tmp/tools.yaml"
]
}
}
}ListEnvironmentsLists all available Portainer environments.
Read-only operation; no modifications.
UpdateEnvironmentTagsUpdates tags associated with a Portainer environment.
Modifies environment metadata, but not critical settings.
CreateEnvironmentGroupCreates a new environment group in Portainer.
Adds a new resource, but doesn't directly impact existing environments.
UpdateEnvironmentGroupNameUpdates the name of an environment group.
Modifies the name of a resource.
ListStacksLists all available stacks in Portainer.
Read-only operation; no modifications.
GetStackFileRetrieves the compose file for a specific stack.
Read-only operation; no modifications.
CreateStackCreates a new Docker stack in Portainer.
Creates a new stack based on a compose file.
UpdateStackUpdates an existing Docker stack in Portainer.
Modifies the configuration of an existing stack.
ListUsersLists all available users in Portainer.
Read-only operation; no modifications.
UpdateUserUpdates an existing user in Portainer.
Modifies user attributes, potentially affecting access control.
DockerProxyProxies arbitrary Docker API requests to the Portainer environment.
Allows execution of any Docker command, including potentially destructive ones.
KubernetesProxyProxies arbitrary Kubernetes API requests to the Portainer environment.
Allows execution of any Kubernetes command, including potentially destructive ones.
getKubernetesResourceStrippedProxies GET Kubernetes API requests and strips verbose metadata.
Read-only operation, retrieves data and removes verbose metadata.
Portainer MCP offers a read-only mode for safe exploration, but its ability to execute Docker and Kubernetes commands poses risks. Exercise caution when granting write access, especially in production environments.