Portainer integration
Portainer manages container environments (Docker, Swarm, Kubernetes, Edge) from one place. This integration covers the Portainer control plane: environments and environment groups, stacks and their files and git sources, custom templates, edge groups, edge stacks and edge jobs, registries and their configuration, users, teams and memberships, roles and resource controls, webhooks, settings, backup and system status. The Kubernetes proxy routes are deliberately not included: they tunnel the Kubernetes API itself rather than Portainer's own surface. The host is part of the credential because every install is its own deployment. Authentication is an access token sent in the X-API-KEY header.
Say what should happen.
The workflow builds itself.
What you can do with Portainer
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Endpoint, 8 operations
delete_endpointDelete endpointDELETEAgents: ask firstRemove an environment.endpoint_createEndpoint createPOSTAgents: ask firstCreate a new environment(endpoint).endpoint_delete_batch_deprecatedEndpoint delete batch deprecatedDELETEAgents: ask firstRemove multiple environments.endpoint_group_add_endpointEndpoint group add endpointPUTAgents: ask firstAdd an environment(endpoint) to an environment(endpoint) group.endpoint_group_delete_endpointEndpoint group delete endpointDELETEAgents: ask firstRemoves environment(endpoint) from an environment(endpoint) group.endpoint_inspectEndpoint inspectGETAgents: ask firstInspect an environment(endpoint).endpoint_listEndpoint listGETAgents: ask firstList environments(endpoints).endpoint_updateEndpoint updatePUTAgents: ask firstUpdate an environment(endpoint).
File, 7 operations
create_fileCreate filePOSTAgents: ask firstDeploy a new compose stack from a file.custom_template_create_fileCustom template create filePOSTAgents: ask firstCreate a custom template.custom_template_fileCustom template fileGETAgents: ask firstGet Template stack file content.edge_job_create_fileEdge job create filePOSTAgents: ask firstCreate an EdgeJob from a file.edge_job_fileEdge job fileGETAgents: ask firstFetch a file of an EdgeJob.edge_stack_create_fileEdge stack create filePOSTAgents: ask firstCreate an EdgeStack from file.edge_stack_fileEdge stack fileGETAgents: ask firstFetches the stack file for an EdgeStack.
Registrie, 7 operations
delete_registryDelete registryDELETEAgents: ask firstRemove a registry.endpoint_registries_listEndpoint registries listGETAgents: ask firstList Registries on environment.endpoint_registry_accessEndpoint registry accessPUTAgents: ask firstupdate registry access for environment.registry_createRegistry createPOSTAgents: ask firstCreate a new registry.registry_inspectRegistry inspectGETAgents: ask firstInspect a registry.registry_listRegistry listGETAgents: ask firstList Registries.registry_updateRegistry updatePUTAgents: ask firstUpdate a registry.
Edge group, 5 operations
delete_edge_groupDelete edge groupDELETEAgents: ask firstDeletes an EdgeGroup.edge_group_createEdge group createPOSTAgents: ask firstCreate an EdgeGroup.edge_group_inspectEdge group inspectGETAgents: ask firstInspects an EdgeGroup.edge_group_listEdge group listGETAgents: ask firstlist EdgeGroups.edge_group_updateEdge group updatePUTAgents: ask firstUpdates an EdgeGroup.
Endpoint group, 5 operations
create_endpoint_groupCreate endpoint groupPOSTAgents: ask firstCreate an Environment(Endpoint) Group.delete_endpoint_groupDelete endpoint groupDELETEAgents: ask firstRemove an environment(endpoint) group.endpoint_group_listEndpoint group listGETAgents: ask firstList Environment(Endpoint) groups.endpoint_group_updateEndpoint group updatePUTAgents: ask firstUpdate an environment(endpoint) group.get_endpoint_groupGet endpoint groupGETAgents: ask firstInspect an Environment(Endpoint) group.
Helm, 5 operations
delete_helmDelete helmDELETEAgents: ask firstDelete Helm Release.get_helmGet helmGETAgents: ask firstGet a helm release.helm_installHelm installPOSTAgents: ask firstInstall Helm Chart.helm_listHelm listGETAgents: ask firstList Helm Releases.helm_repo_searchHelm repo searchGETAgents: ask firstSearch Helm Charts.
Custom template, 4 operations
custom_template_inspectCustom template inspectGETAgents: ask firstInspect a custom template.custom_template_listCustom template listGETAgents: ask firstList available custom templates.custom_template_updateCustom template updatePUTAgents: ask firstUpdate a template.delete_custom_templateDelete custom templateDELETEAgents: ask firstRemove a template.
Edge job, 4 operations
delete_edge_jobDelete edge jobDELETEAgents: ask firstDelete an EdgeJob.edge_job_inspectEdge job inspectGETAgents: ask firstInspect an EdgeJob.edge_job_listEdge job listGETAgents: ask firstFetch EdgeJobs list.edge_job_updateEdge job updatePUTAgents: ask firstUpdate an EdgeJob.
Edge stack, 4 operations
delete_edge_stackDelete edge stackDELETEAgents: ask firstDelete an EdgeStack.edge_stack_inspectEdge stack inspectGETAgents: ask firstInspect an EdgeStack.edge_stack_listEdge stack listGETAgents: ask firstFetches the list of EdgeStacks.edge_stack_updateEdge stack updatePUTAgents: ask firstUpdate an EdgeStack.
Log, 4 operations
create_logCreate logPOSTAgents: ask firstUpdate the logs collected from an Edge Job.edge_job_task_logs_inspectEdge job task logs inspectGETAgents: ask firstFetch the log for a specifc task on an EdgeJob.edge_job_tasks_clearEdge job tasks clearDELETEAgents: ask firstClear the log for a specifc task on an EdgeJob.edge_job_tasks_collectEdge job tasks collectPOSTAgents: ask firstCollect the log for a specifc task on an EdgeJob.
Repository, 4 operations
create_standalone_repositoryCreate standalone repositoryPOSTAgents: ask firstDeploy a new compose stack from repository.create_swarm_repositoryCreate swarm repositoryPOSTAgents: ask firstDeploy a new swarm stack from a git repository.custom_template_create_repositoryCustom template create repositoryPOSTAgents: ask firstCreate a custom template.edge_stack_create_repositoryEdge stack create repositoryPOSTAgents: ask firstCreate an EdgeStack from a git repository.
Source, 4 operations
delete_sourceDelete sourceDELETEAgents: ask firstDelete a source.get_sourceGet sourceGETAgents: ask firstGet a GitOps source by ID.git_ops_sources_listGit ops sources listGETAgents: ask firstList all GitOps sources.git_ops_sources_update_gitGit ops sources update gitPUTAgents: ask firstUpdate a Git source.
String, 4 operations
create_stringCreate stringPOSTAgents: ask firstDeploy a new compose stack from a text.custom_template_create_stringCustom template create stringPOSTAgents: ask firstCreate a custom template.edge_job_create_stringEdge job create stringPOSTAgents: ask firstCreate an EdgeJob from a text.edge_stack_create_stringEdge stack create stringPOSTAgents: ask firstCreate an EdgeStack from a text.
Webhook, 4 operations
create_webhookCreate webhookPOSTAgents: ask firstCreate a webhook.delete_webhookDelete webhookDELETEAgents: ask firstDelete a webhook.list_webhooksList webhooksGETAgents: ask firstList webhooks.replace_webhookReplace webhookPUTAgents: ask firstUpdate a webhook.
Repositorie, 3 operations
delete_repositoryDelete repositoryDELETEAgents: ask firstDelete a users helm repositoryies.helm_user_repositories_listHelm user repositories listGETAgents: ask firstList a users helm repositories.helm_user_repository_createHelm user repository createPOSTAgents: ask firstCreate a user helm repository.
Resource control, 3 operations
delete_resource_controlDelete resource controlDELETEAgents: ask firstRemove a resource control.resource_control_createResource control createPOSTAgents: ask firstCreate a new resource control.resource_control_updateResource control updatePUTAgents: ask firstUpdate a resource control.
Setting, 3 operations
endpoint_settings_updateEndpoint settings updatePUTAgents: ask firstUpdate settings for an environment(endpoint).settings_inspectSettings inspectGETAgents: ask firstRetrieve Portainer settings.settings_updateSettings updatePUTAgents: ask firstUpdate Portainer settings.
Summary, 3 operations
endpoint_summary_countsEndpoint summary countsGETAgents: ask firstGet environment summary counts.git_ops_sources_summaryGit ops sources summaryGETAgents: ask firstSummarize GitOps source status counts.git_ops_workflows_summaryGit ops workflows summaryGETAgents: ask firstSummarize GitOps workflow status counts.
Workflow, 3 operations
get_workflowGet workflowGETAgents: ask firstGet a GitOps workflow by ID.git_ops_source_workflows_listGit ops source workflows listGETAgents: ask firstList the workflows using a GitOps source.git_ops_workflows_listGit ops workflows listGETAgents: ask firstList all GitOps workflows.
Stack, 2 operations
delete_stackDelete stackDELETEAgents: ask firstRemove a stack.get_stackGet stackGETAgents: ask firstInspect an Edge Stack for an Environment.
Test, 2 operations
git_ops_sources_testGit ops sources testPOSTAgents: ask firstTest a Git source connection.git_ops_sources_test_by_idGit ops sources test by idPOSTAgents: ask firstTest the connection of a stored source.
Acces, 1 operation
git_ops_sources_update_accessGit ops sources update accessPUTAgents: ask firstUpdate a GitOps source's access control.
Auth, 1 operation
authenticate_userAuthenticate userPOSTAgents: ask firstAuthenticate.
Backup, 1 operation
backupBackupPOSTAgents: ask firstCreates an archive with a system data snapshot that could be used to restore the system.
Check, 1 operation
ldapcheckLdapcheckPOSTAgents: ask firstTest LDAP connectivity.
Configure, 1 operation
registry_configureRegistry configurePOSTAgents: ask firstConfigures a registry.
Dashboard, 1 operation
docker_dashboardDocker dashboardGETAgents: ask firstGet counters for the dashboard.
Delete, 1 operation
endpoint_delete_batchEndpoint delete batchPOSTAgents: ask firstRemove multiple environments.
Dockerhub, 1 operation
endpoint_dockerhub_statusEndpoint dockerhub statusGETAgents: ask firstfetch docker pull limits.
Forceupdateservice, 1 operation
endpoint_force_update_serviceEndpoint force update servicePUTAgents: ask firstforce update a docker service.
Git, 1 operation
git_ops_sources_create_gitGit ops sources create gitPOSTAgents: ask firstCreate a Git source.
Git fetch, 1 operation
custom_template_git_fetchCustom template git fetchPUTAgents: ask firstFetch the latest config file content based on custom template's git repository configuration.
Gpu, 1 operation
docker_container_gpus_inspectDocker container gpus inspectGETAgents: ask firstFetch container gpus data.
History, 1 operation
helm_get_historyHelm get historyGETAgents: ask firstGet a historical list of releases.
Image, 1 operation
docker_images_listDocker images listGETAgents: ask firstFetch images.
Me, 1 operation
current_user_inspectCurrent user inspectGETAgents: ask firstInspect the current user user.
Motd, 1 operation
motdMotdGETAgents: ask firstfetches the message of the day.
Ping, 1 operation
registry_pingRegistry pingPOSTAgents: ask firstTest registry connection.
Preview, 1 operation
git_operation_repo_file_previewGit operation repo file previewPOSTAgents: ask firstpreview the content of target file in the git repository.
Public, 1 operation
settings_publicSettings publicGETAgents: ask firstRetrieve Portainer public settings.
Put, 1 operation
create_putCreate putPOSTAgents: ask firstUpload a file under a specific path on the file system of an environment (endpoint).
Relation, 1 operation
endpoint_update_relationsEndpoint update relationsPUTAgents: ask firstUpdate relations for a list of environments.
Restore, 1 operation
restoreRestorePOSTAgents: ask firstTriggers a system restore using provided backup file.
Role, 1 operation
role_listRole listGETAgents: ask firstList roles.
Rollback, 1 operation
helm_rollbackHelm rollbackPOSTAgents: ask firstRollback a helm release.
Snapshot, 1 operation
endpoint_snapshotEndpoint snapshotPOSTAgents: ask firstSnapshots an environment(endpoint).
Ssl, 1 operation
sslinspectSslinspectGETAgents: ask firstInspect the ssl settings.
Statu, 1 operation
edge_stack_status_updateEdge stack status updatePUTAgents: ask firstUpdate an EdgeStack status.
Tag, 1 operation
delete_tagDelete tagDELETEAgents: ask firstRemove a tag.
Task, 1 operation
edge_job_tasks_listEdge job tasks listGETAgents: ask firstFetch the list of tasks on an EdgeJob.
Team, 1 operation
delete_teamDelete teamDELETEAgents: ask firstRemove a team.
Team membership, 1 operation
delete_team_membershipDelete team membershipDELETEAgents: ask firstRemove a team membership.
User, 1 operation
delete_userDelete userDELETEAgents: ask firstRemove a user.
Showing the first 120 of 168 endpoints. The rest are in the product, searchable from the workflow builder and from chat.
Use Portainer from Claude Code, Cursor or Codex
Connect Portainer in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Portainer operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Portainer
- Create your workspace
Sign up free. Nothing to install.
- Connect Portainer once
Add your Portainer connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Portainer integration FAQ
What can you do with the Portainer integration?
LiveContext exposes 168 operations on Portainer, covering endpoint, file, registrie and edge group.
