{
  "info": {
    "name": "Docker Hub — mcp.ai",
    "description": "REST API for the Docker Hub MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/docker_hub",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "docker_hub_add_org_member",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/add/org/member",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "add",
            "org",
            "member"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"org\": \"\",\n  \"role\": \"\",\n  \"team\": \"\",\n  \"invitee\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_create_organization",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/organization",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "organization"
          ]
        },
        "description": "Create a new Docker Hub organization. Note: This endpoint requires JWT authentication obtained via /v2/users/login and may have restricted access.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"company\": \"\",\n  \"orgname\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_create_repository",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/repository",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "repository"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"namespace\": \"\",\n  \"is_private\": false,\n  \"description\": \"\",\n  \"full_description\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_create_webhook",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/webhook",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "webhook"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"hook_url\": \"\",\n  \"namespace\": \"\",\n  \"repository\": \"\",\n  \"webhook_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_delete_image",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/image",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "image"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"dry_run\": false,\n  \"manifests\": \"\",\n  \"namespace\": \"\",\n  \"ignore_warnings\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_delete_organization",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/organization",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "organization"
          ]
        },
        "description": "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)",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"organization\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_delete_repository",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/repository",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "repository"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"namespace\": \"\",\n  \"repository\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_delete_tag",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/tag",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "tag"
          ]
        },
        "description": "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 - ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tag\": \"\",\n  \"namespace\": \"\",\n  \"repository\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_delete_team",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/team",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "team"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"org_name\": \"\",\n  \"team_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_delete_webhook",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/webhook",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "webhook"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"namespace\": \"\",\n  \"repository\": \"\",\n  \"webhook_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_get_image",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/image",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "image"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"digest\": \"\",\n  \"namespace\": \"\",\n  \"repository\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_get_repository",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/repository",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "repository"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"namespace\": \"\",\n  \"repository\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_get_tag",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/tag",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "tag"
          ]
        },
        "description": "Tool to retrieve details of a specific Docker Hub repository tag. Use after confirming the namespace, repository, and tag name.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tag\": \"\",\n  \"namespace\": \"\",\n  \"repository\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_get_team",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/team",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "team"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"org_name\": \"\",\n  \"team_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_get_webhook",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/webhook",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "webhook"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"namespace\": \"\",\n  \"repository\": \"\",\n  \"webhook_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_list_org_access_tokens",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/org/access/tokens",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "org",
            "access",
            "tokens"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"page\": 0,\n  \"page_size\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_list_org_members",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/org/members",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "org",
            "members"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"org\": \"\",\n  \"page\": 0,\n  \"page_size\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_list_organizations",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/organizations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "organizations"
          ]
        },
        "description": "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 — ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"page_size\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_list_repositories",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/repositories",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "repositories"
          ]
        },
        "description": "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.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"ordering\": \"\",\n  \"namespace\": \"\",\n  \"page_size\": 0,\n  \"media_types\": \"\",\n  \"content_types\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_list_team_members",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/team/members",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "team",
            "members"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"search\": \"\",\n  \"org_name\": \"\",\n  \"page_size\": 0,\n  \"team_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_list_teams",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/teams",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "teams"
          ]
        },
        "description": "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.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"page_size\": 0,\n  \"organization\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_list_webhooks",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/webhooks",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "webhooks"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"namespace\": \"\",\n  \"page_size\": 0,\n  \"repository\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_remove_org_member",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/remove/org/member",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "remove",
            "org",
            "member"
          ]
        },
        "description": "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 ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"org_name\": \"\",\n  \"username\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docker_hub_remove_team_member",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/remove/team/member",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "remove",
            "team",
            "member"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"org_name\": \"\",\n  \"username\": \"\",\n  \"team_slug\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}