Compatible with every major AI agent and IDE
What is the Portainer MCP Server?
Connect your Portainer instance to any AI agent and orchestrate your containerized infrastructure through natural conversation.
What you can do
- Container Management — List all Docker containers in any environment, create new ones from images, and start existing containers.
- Environment Orchestration — Add and manage new local or remote Docker/Kubernetes environments (endpoints) to your Portainer setup.
- Admin Control — Initialize admin accounts on fresh installations and authenticate to receive secure JWT tokens.
- Configuration Control — Deploy containers with custom configurations, including exposed ports and host settings via JSON.
How it works
- Subscribe to this server
- Enter your Portainer URL and API Key
- Start managing your devops infrastructure from Claude, Cursor, or any MCP-compatible client
Who is this for?
- DevOps Engineers — quickly check container statuses and restart services without leaving the terminal or chat.
- Developers — deploy new testing environments or images directly from the code editor.
- System Administrators — manage multiple remote environments and endpoints through a unified AI interface.
Built-in capabilities (6)
Add a new environment (endpoint) to Portainer
Authenticate to receive a JWT token
Create a new Docker container
Initialize Portainer admin password
List Docker containers in an environment
Start a Docker container
Why Cursor?
Cursor's Agent mode turns Portainer into an in-editor superpower. Ask Cursor to generate code using live data from Portainer and it fetches, processes, and writes. all in a single agentic loop. 6 tools appear alongside file editing and terminal access, creating a unified development environment grounded in real-time information.
- —
Agent mode turns Cursor into an autonomous coding assistant that can read files, run commands, and call MCP tools without switching context
- —
Cursor's Composer feature can generate entire files using real-time data fetched through MCP. no copy-pasting from external dashboards
- —
MCP tools appear alongside built-in tools like file reading and terminal access, creating a unified agentic environment
- —
VS Code extension compatibility means your existing workflow, keybindings, and extensions all work alongside MCP tools
Portainer in Cursor
Portainer and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Portainer to Cursor through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Portainer in Cursor
The Portainer MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 6 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Cursor only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Portainer for Cursor
Every tool call from Cursor to the Portainer MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
How do I see all containers running in a specific environment?
Use the list_docker_containers tool by providing the specific endpoint_id. The agent will return a list of all containers managed within that Portainer environment.
Can I add a new remote Docker endpoint through the AI?
Yes! Use the add_endpoint action. You can specify the name, set the type to 2 (Remote), and provide the URL (e.g., tcp://10.0.0.1:2375) to connect a new environment.
Is it possible to deploy a container with specific port mappings?
Yes. When using create_docker_container, you can provide a config_json string containing standard Docker API parameters like ExposedPorts or HostConfig to define your network and port requirements.
What is Agent mode and why does it matter for MCP?
Agent mode is Cursor's autonomous execution mode where the AI can perform multi-step tasks: reading files, editing code, running terminal commands, and calling MCP tools. Without Agent mode, Cursor operates in a simpler ask-and-answer mode that doesn't support tool calling. Always ensure you're in Agent mode when working with MCP servers.
Where does Cursor store MCP configuration?
Cursor looks for MCP server configurations in a mcp.json file. You can configure servers at the project level (.cursor/mcp.json in your project root) or globally (~/.cursor/mcp.json). Project-level configs take precedence.
Can Cursor use MCP tools in inline edits?
No. MCP tools are only available in Agent mode through the chat panel. Inline completions and Tab suggestions do not trigger MCP tool calls. This is by design. tool calls require user visibility and approval.
How do I verify MCP tools are loaded?
Open Settings → Features → MCP and look for your server name. A green indicator means the server is connected. You can also check Agent mode's available tools by clicking the tools dropdown in the chat panel.
Tools not appearing in Cursor
Ensure you are in Agent mode (not Ask mode). MCP tools only work in Agent mode.
Server shows as disconnected
Check Settings → Features → MCP and verify the server status. Try clicking the refresh button.
Explore More MCP Servers
View all →
Asaas
8 toolsManage payments, customers, and subscriptions with Asaas — the complete digital account for Brazilian businesses via AI.

Xero
9 toolsManage invoices, bank transactions, and financial reports on Xero — the beautiful accounting software for small business.

Lemon Squeezy
12 toolsSell software, subscriptions, and digital products globally with built-in tax compliance, billing, and licensing as your merchant of record.

FCC Broadcaster
2 toolsDiscover radio and television broadcast licensing records and operations across the United States without authentication.
