# Docker Hub — MCP server on mcp.ai > Connect your Docker Hub account and use 24 tools for developer tools straight from your AI agent. Connect with your own API key. Docker Hub is a service provided by Docker for finding and sharing container images with your team. By: mcp.ai · official Page: https://mcp.ai/docker_hub ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_docker_hub?ms=1787293560000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/docker_hub/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/docker_hub/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/docker_hub/skill.md Postman collection (v2.1): https://mcp.ai/docker_hub/postman.json ## Tools - docker_hub_add_org_member(org: string, role?: string, team?: string, invitee: string) — Invite a user to join a Docker Hub organization. Sends an invitation email to the specified user (by Docker ID or email). The user must accept the invitation to become a member. Requires owner or admi - docker_hub_create_organization(company?: string, orgname: string) — Create a new Docker Hub organization. Note: This endpoint requires JWT authentication obtained via /v2/users/login and may have restricted access. - docker_hub_create_repository(name: string, namespace: string, is_private?: boolean, description?: string, full_description?: string) — Creates a new Docker Hub repository under the specified namespace. Use this to programmatically create public or private repositories for storing Docker images. Requires proper authentication with wri - docker_hub_create_webhook(hook_url: string, namespace: string, repository: string, webhook_name: string) — Create a webhook on a Docker Hub repository to receive notifications on image push events. This is a two-step process: 1. Create the webhook with a name 2. Add a hook URL to the webhook Requires admin - docker_hub_delete_image(dry_run?: boolean, manifests: object[], namespace: string, ignore_warnings?: string[]) — Delete one or more images from your Docker Hub namespace using the bulk delete API. IMPORTANT REQUIREMENTS: - You must own the namespace (your username or an organization you admin) - You cannot delet - docker_hub_delete_organization(organization: string) — Permanently deletes a Docker Hub organization. Requires owner permissions on the organization. This action is idempotent - deleting a non-existent organization returns success (404 treated as success) - docker_hub_delete_repository(namespace: string, repository: string) — Permanently deletes a Docker Hub repository and all its images/tags. WARNING: This action is irreversible. All images, tags, and metadata will be permanently removed. This operation is idempotent - de - docker_hub_delete_tag(tag: string, namespace: string, repository: string) — Permanently delete a specific tag from a Docker Hub repository. Requirements: - Must have write/admin access to the repository - The namespace must be your username or an organization you belong to - - docker_hub_delete_team(org_name: string, team_name: string) — Permanently deletes a team from a Docker Hub organization. This operation is idempotent - deleting a non-existent team will succeed silently. Requires organization admin permissions. Use DOCKER_HUB_LI - docker_hub_delete_webhook(namespace: string, repository: string, webhook_id: integer) — Deletes a specific webhook from a Docker Hub repository. Use this tool to remove webhook configurations from repositories you own or have admin access to. This is useful for cleaning up outdated, misc - docker_hub_get_image(digest: string, namespace: string, repository: string) — Retrieve details about a specific platform-specific image variant by its digest. This tool searches through repository tags to find and return metadata for an image matching the specified SHA256 diges - docker_hub_get_repository(namespace: string, repository: string) — Retrieves detailed information about a specific Docker Hub repository. Use this to get repository metadata including description, star/pull counts, permissions, and configuration. Works with both publ - docker_hub_get_tag(tag: string, namespace: string, repository: string) — Tool to retrieve details of a specific Docker Hub repository tag. Use after confirming the namespace, repository, and tag name. - docker_hub_get_team(org_name: string, team_name: string) — Retrieve details of a specific team (group) within a Docker Hub organization. Returns the team's ID, name, and description. Requires organization membership with appropriate permissions to view team d - docker_hub_get_webhook(namespace: string, repository: string, webhook_id: integer) — Retrieves details of a specific Docker Hub webhook by its ID. Use this tool when you need to inspect an existing webhook's configuration, including its target URL, configured events, and active status - docker_hub_list_org_access_tokens(name: string, page?: integer, page_size?: integer) — Tool to list all organization access tokens for a Docker Hub organization. Use when you need to view or audit access tokens associated with an organization. Requires appropriate organization permissio - docker_hub_list_org_members(org: string, page?: integer, page_size?: integer) — Lists members of a Docker Hub organization with their roles and details. Use this tool to: - Audit organization membership - View member roles (owner, member) - Check team assignments for members - Ex - docker_hub_list_organizations(page?: integer, page_size?: integer) — List Docker Hub organizations that the authenticated user belongs to. Returns a paginated list of organizations with details like name, company, and badge status; some metadata fields may be absent — - docker_hub_list_repositories(page?: integer, ordering?: string, namespace: string, page_size?: integer, media_types?: string, content_types?: string) — Tool to list repositories under a namespace. Use when you need to enumerate repositories within a specific Docker Hub namespace, with optional filtering and pagination. - docker_hub_list_team_members(page?: integer, search?: string, org_name: string, page_size?: integer, team_name: string) — List members of a Docker Hub team (group) within an organization. Returns a paginated list of team members with their user details. Requires organization membership with appropriate permissions to vie - docker_hub_list_teams(page?: integer, page_size?: integer, organization: string) — List all teams (groups) within a Docker Hub organization. Requires organization membership with appropriate permissions. Teams in Docker Hub are called 'groups' in the API. - docker_hub_list_webhooks(page?: integer, namespace: string, page_size?: integer, repository: string) — Lists all webhooks configured for a Docker Hub repository. Use this tool to retrieve webhook configurations for repositories you own or have admin access to. Webhooks are triggered when specific event - docker_hub_remove_org_member(org_name: string, username: string) — Remove a member from a Docker Hub organization. This action revokes the user's access to the organization and all its repositories. Requires organization admin privileges. The operation is idempotent - docker_hub_remove_team_member(org_name: string, username: string, team_slug: string) — Remove a user from a Docker Hub organization team (group). Use this action to revoke a user's membership from a specific team. The operation is idempotent - removing a user who is not a member will su ## Example prompts - "What can I do in Docker Hub?" - "Show me a summary of my Docker Hub account" ## Links Docs: https://mcp.ai/docs/mcps/docker_hub Website: https://mcp.ai/mcps/docker_hub