Execute a command over a websocket
One step with Portainer. We can help you get access.
Look something up
Execute a command over a websocket
with Portainer
Works with AI assistants
Use Portainer: its PortainerCE WebSocket API lets you execute a command over a websocket in a single step (GET /websocket/exec). Portainer also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I run a command on an environment over a websocket?
- Can I exec a command on a specific node?
Say it to your AI assistant
- Execute a command on environment {endpointId}.
- Run a command on node {nodeName} in environment {endpointId} with token {token}.
For your developer
GET /websocket/exec in PortainerCE WebSocket API. Full spec on APIs.io.