Docker MCP Server — Hosted Devops Integration
MCP Server language Hosted language PublicSearch Docker Hub images, inspect tags, view manifests, and manage repositories — AI-native container registry access.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"docker": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-docker",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the _ping tool to verify docker hub connectivity by fetching the authenticated user profile. used internally by aerostack to validate credentials”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
description Overview
mcp-docker — Docker Hub MCP Server
Search Docker Hub images, inspect tags, view manifests, and manage repositories — AI-native container registry access.
Give your AI agents access to Docker Hub. Search millions of container images, compare tags and architectures, inspect vulnerability reports, view Dockerfiles, and manage your repositories — all through natural language.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-docker
What You Can Do
- Search Docker Hub for container images by keyword
- Get repository details with description, stars, and pull counts
- List and inspect tags with architecture variants and compressed sizes
- View Dockerfiles for automated build images
- Check vulnerability scan summaries (Docker Scout)
- List all repositories for a user or organization
Available Tools
| Tool | Description |
|---|---|
_ping |
Verify Docker Hub connectivity |
search_images |
Search images by keyword with official/community filter |
get_repository |
Get repo details — description, stars, pulls, last updated |
list_tags |
List tags with digest, size, architecture, and OS info |
get_tag |
Get tag details — multi-arch images, digests, timestamps |
list_repos |
List repos for a user/org with pull counts |
get_dockerfile |
View the Dockerfile for an image tag |
get_vulnerabilities |
Vulnerability scan summary (critical/high/medium/low) |
Configuration
| Variable | Required | Description | How to Get |
|---|---|---|---|
DOCKER_USERNAME |
Yes | Docker Hub username | hub.docker.com → your username |
DOCKER_PASSWORD |
Yes | Docker Hub password or Personal Access Token | hub.docker.com → Account Settings → Security → New Access Token (recommended over password) |
Best practice: Use a Personal Access Token instead of your password. Tokens can be scoped to read-only access.
Quick Start
Add to Aerostack Workspace
- Go to aerostack.dev → Your Project → MCPs
- Search for "Docker" and click Add to Workspace
- Add
DOCKER_USERNAMEandDOCKER_PASSWORDunder Project → Secrets
Example Prompts
"Search Docker Hub for the most popular Node.js images"
"Show me all tags for the official postgres image"
"What architectures are available for nginx:alpine?"
"List my Docker Hub repositories sorted by most pulled"
"Check vulnerabilities for python:3.12-slim"
"Show me the Dockerfile for node:22-alpine"
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-docker \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-DOCKER-USERNAME: myuser' \
-H 'X-Mcp-Secret-DOCKER-PASSWORD: dckr_pat_xxxx' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_images","arguments":{"query":"nginx","is_official":true}}}'
Security Notes
- Docker Hub credentials are injected at the Aerostack gateway layer — never stored in the worker
- Use Personal Access Tokens instead of passwords for better security
- Vulnerability data requires Docker Scout to be enabled on the repository
- Dockerfile retrieval only works for images built via Docker Hub automated builds
License
MIT
terminal Tools (8)
Available tools on this MCP server. Each tool can be called directly from any AI agent.
_ping #1 Verify Docker Hub connectivity by fetching the authenticated user profile. Used internally by Aerostack to validate credentials.
search_images #2 Search Docker Hub for container images by keyword — returns name, description, star count, pull count, and official status
get_repository #3 Get detailed information about a Docker Hub repository — description, star count, pull count, last updated, and Dockerfile
list_tags #4 List all tags for a Docker Hub repository with digest, size, architecture, OS, and last pushed date
get_tag #5 Get detailed information about a specific tag — digest, compressed size, architecture variants, and layer count
list_repos #6 List all repositories for a Docker Hub user or organization with pull counts and last updated
get_dockerfile #7 Retrieve the Dockerfile used to build a specific tag of an image (if available from build metadata)
get_vulnerabilities #8 Get vulnerability scan summary for a Docker Hub image tag — critical, high, medium, low counts (requires Docker Scout)
Details
language Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-docker
Sub-50ms globally · Zero cold start
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
More in Devops
Browse Devops MCPs →Asana Project Management
by @aerostack
Tasks, projects, sections, comments, teams, custom fields via Asana's official MCP
Atlassian Cloud
by @aerostack
Jira issues, sprints, Confluence pages via Atlassian's official MCP
Cloudflare Platform
by @aerostack
Cloudflare Workers, KV, R2, D1, Pages, DNS via Cloudflare's official MCP
Datadog Observability
by @aerostack
Dashboards, monitors, logs, metrics, incidents, SLOs, APM traces via Datadog's official MCP
Figma Design
by @aerostack
Files, frames, components, comments, variables via Figma's official MCP
GitHub API
by @aerostack
GitHub repos, PRs, issues, branches, code search via GitHub's official hosted MCP
Frequently asked questions
What is the Docker MCP server and what can it do? +
The Docker MCP server is hosted on Aerostack and exposes these tools to your AI agent: `_ping`, `search_images`, `get_repository`, `list_tags`, `get_tag`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.
Is the Docker MCP server hosted, or do I have to run it myself? +
It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.
Which AI agents and editors can use the Docker MCP server? +
Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Docker MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.
How do I install the Docker MCP server in Claude Desktop? +
Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-docker": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-docker"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.
How do I use the Docker MCP server in Cursor? +
In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-docker", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-docker"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.
Does Docker MCP require authentication? +
Yes. Docker requires authentication. Check the MCP's documentation for the required credentials.