Docker Hub README MCP Server
Search for Docker images and retrieve their READMEs and metadata from Docker Hub.
Docker Hub README MCP Server
An MCP (Model Context Protocol) server that enables AI assistants to fetch comprehensive information about Docker images from Docker Hub, including README content, image metadata, and search functionality.
Features
- Package README Retrieval: Fetch formatted README content with usage examples from Docker images hosted on Docker Hub
- Package Information: Get comprehensive image metadata including available tags, download statistics, and configuration details
- Package Search: Search Docker Hub with filtering by official images, automated builds, and popularity
- Smart Caching: Intelligent caching system to optimize API usage and improve response times
- GitHub Integration: Seamless integration with GitHub API for enhanced README fetching from linked repositories
- Error Handling: Robust error handling with automatic retry logic and fallback strategies
MCP Client Configuration
Add this server to your MCP client configuration:
{
"mcpServers": {
"docker-hub-readme": {
"command": "npx",
"args": ["docker-hub-readme-mcp-server"],
"env": {
"GITHUB_TOKEN": "your_github_token_here"
}
}
}
}
Note: The
GITHUB_TOKENis optional but recommended for higher API rate limits when fetching README content from GitHub.
Available Tools
get_package_readme
Retrieves comprehensive README content and usage examples for Docker images.
Parameters:
{
"package_name": "nginx",
"version": "latest",
"include_examples": true
}
package_name(string, required): Docker image name (e.g., "nginx", "postgres", "microsoft/dotnet")version(string, optional): Specific image tag or "latest" (default: "latest")include_examples(boolean, optional): Include usage examples and Docker commands (default: true)
Returns: Formatted README content with Docker run commands, usage examples, and configuration documentation.
get_package_info
Fetches detailed image metadata, tags, and statistics from Docker Hub.
Parameters:
{
"package_name": "postgres",
"include_dependencies": true,
"include_tags": true
}
package_name(string, required): Docker image nameinclude_dependencies(boolean, optional): Include base image information (default: true)include_tags(boolean, optional): Include available tags (default: true)
Returns: Image metadata including available tags, maintainer info, download stats, and platform support.
search_packages
Searches Docker Hub for images with filtering capabilities.
Parameters:
{
"query": "web server",
"limit": 20,
"official_only": false
}
query(string, required): Search terms (image name, description, keywords)limit(number, optional): Maximum number of results to return (default: 20, max: 100)official_only(boolean, optional): Filter to official images only (default: false)
Returns: List of matching images with names, descriptions, star counts, and pull statistics.
Error Handling
The server handles common error scenarios gracefully:
- Image not found: Returns clear error messages with similar image suggestions
- Rate limiting: Implements automatic retry with exponential backoff
- Network timeouts: Configurable timeout with retry logic
- Invalid image names: Validates image name format and provides guidance
- Docker Hub API failures: Fallback strategies when API is unavailable
License
MIT
Servidores relacionados
Scout Monitoring MCP
patrocinadorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
patrocinadorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
SAME (Stateless Agent Memory Engine
Your AI's memory shouldn't live on someone else's server — 12 MCP tools that give it persistent context from your local markdown, no cloud, no API keys, single binary.
Azure DevOps
An MCP server for interacting with Azure DevOps agents and queues.
MCP Domain Availability Checker
Check domain availability directly from MCP clients using the Namecheap API.
XTQuantAI
Integrates the xtquant quantitative trading platform with an AI assistant, enabling AI to access and operate quantitative trading data and functions.
Dev.to MCP Server
An MCP server for the Dev.to API to search, browse, read, and create content on the platform.
Remote MCP Server on Cloudflare
An example of a remote MCP server deployable on Cloudflare Workers, featuring customizable tools and no authentication.
Lilith Shell
Execute terminal commands through a secure shell interface using an AI assistant.
Synth MCP
Access financial data like stock prices, currency info, and insider trading data using the Synth Finance API.
Cognitive Enhancement MCP Servers
A collection of MCP servers that provide cognitive enhancement tools for large language models.
XRPL MCP
An MCP server for the XRP Ledger blockchain, offering tools for wallet operations, token management, NFTs, and DEX trading.