Portainer MCP Server for CursorGive Cursor instant access to 6 tools to Add Endpoint, Authenticate, Create Docker Container, and more
Cursor is an AI-first code editor built on VS Code that integrates LLM-powered coding assistance directly into the development workflow. Its Agent mode enables autonomous multi-step coding tasks, and MCP support lets agents access external data sources and APIs during code generation.
Ask AI about this MCP Server for Cursor
The Portainer MCP Server for Cursor is a standout in the Ship It category — giving your AI agent 6 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
{
"mcpServers": {
"portainer": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
}Vinkius Desktop App
The modern way to manage MCP Servers — no config files, no terminal commands. Install Portainer and 4,000+ MCP Servers from a single visual interface.





* 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
About Portainer MCP Server
Connect your Portainer instance to any AI agent and orchestrate your containerized infrastructure through natural conversation.
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.
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.
The Portainer MCP Server exposes 6 tools through the Vinkius. Connect it to Cursor in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 6 Portainer tools available for Cursor
When Cursor connects to Portainer through Vinkius, your AI agent gets direct access to every tool listed below — spanning docker, kubernetes, container-management, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Add endpoint on Portainer
Add a new environment (endpoint) to Portainer
Authenticate on Portainer
Authenticate to receive a JWT token
Create docker container on Portainer
Create a new Docker container
Init admin on Portainer
Initialize Portainer admin password
List docker containers on Portainer
List Docker containers in an environment
Start docker container on Portainer
Start a Docker container
Connect Portainer to Cursor via MCP
Follow these steps to wire Portainer into Cursor. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Open MCP Settings
Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"Add the server config
mcp.json file that opensSave the file
Start using Portainer
Why Use Cursor with the Portainer MCP Server
Cursor AI Code Editor provides unique advantages when paired with Portainer through the Model Context Protocol.
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 + Cursor Use Cases
Practical scenarios where Cursor combined with the Portainer MCP Server delivers measurable value.
Code generation with live data: ask Cursor to generate a security report module using live DNS and subdomain data fetched through MCP
Automated documentation: have Cursor query your API's tool schemas and generate TypeScript interfaces or OpenAPI specs automatically
Infrastructure-as-code: Cursor can fetch domain configurations and generate corresponding Terraform or CloudFormation templates
Test scaffolding: ask Cursor to pull real API responses via MCP and generate unit test fixtures from actual data
Example Prompts for Portainer in Cursor
Ready-to-use prompts you can give your Cursor agent to start working with Portainer immediately.
"List all containers in Portainer endpoint 1."
"Create a new container named 'web-server' using the 'nginx:latest' image in endpoint 2."
"Start the container 'redis-cache' in endpoint 1."
Troubleshooting Portainer MCP Server with Cursor
Common issues when connecting Portainer to Cursor through Vinkius, and how to resolve them.
Tools not appearing in Cursor
Server shows as disconnected
Portainer + Cursor FAQ
Common questions about integrating Portainer MCP Server with Cursor.
What is Agent mode and why does it matter for MCP?
Where does Cursor store MCP configuration?
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?
How do I verify MCP tools are loaded?
Explore More MCP Servers
View all →
Range
11 toolsKeep distributed teams in sync with async check-ins, team updates, and meeting tools that reduce unnecessary status meetings.

Anyscale
7 toolsOrchestrate your Anyscale infrastructure — manage LLM queries, vectors, services, and cluster batch jobs directly from your AI agent.

Strapi
9 toolsConnect your AI to Strapi. Fully orchestrate your headless CMS — create entries, manage content types, and upload media assets naturally.

Runn
12 toolsConnect your AI to Runn for complete visibility into project pipelines, capacity planning, resource allocations, and timesheet actuals directly via chat.
