What dependencies are required to run Portainer MCP Server?
The server requires Deno, a running Portainer instance with API access, and Docker installed and running on the host.
@BirajMainali
Basic information
A Model Context Protocol (MCP) server implementation for Portainer, enabling AI assistants to interact with Docker containers and services through Portainer's API.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"poratiner-ce-mcp-server": {
"command": "deno",
"args": [
"compile",
"--allow-env",
"--allow-read",
"--allow-net",
"--env-file=.env",
"src/main.ts"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Portainer MCP Server is a Model Context Protocol (MCP) server that enables AI assistants to interact with Docker containers and services through the Portainer API. It is intended for developers and operators who manage Docker environments via Portainer and want to automate or assist those tasks using AI.
Installation requires Deno and a running Portainer instance with API access. After cloning the repository, set the environment variables PORTAINER_URL, PORTAINER_API_KEY, and PORTAINER_ENV_ID. The server can be run with deno run or compiled into an executable. In an MCP client (e.g., Claude Desktop), configure the tool to use the compiled executable and pass the appropriate arguments.
The server requires Deno, a running Portainer instance with API access, and Docker installed and running on the host.
Set the environment variables `PORTAINER_URL` (Portainer instance URL), `PORTAINER_API_KEY` (API key), and `PORTAINER_ENV_ID` (environment ID). These are read at startup.
The server provides tools for listing, creating, starting, and deleting containers; fetching container logs; updating container resource limits; listing and deleting unused images; clearing the image build cache; fetching networks and inspecting a specific network; and listing services and fetching service logs.
Authentication is handled via a Portainer API key provided in the `PORTAINER_API_KEY` environment variable. No additional transport or OAuth is used.
It works with a single environment specified by `PORTAINER_ENV_ID`. The user must provide the correct environment ID for their Portainer setup.
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Yuppsy MCP: build and publish real estate websites from your AI assistant. Yuppsy lets your AI assistant create live websites for real estate agents and individual property listings. You don't need a designer or any code

Model Context Protocol Servers
A search tool helps dev to solve the naming things problem.
Hindsight: Agent Memory That Learns
Comments