{
  "info": {
    "name": "Cloudsmith — mcp.ai",
    "description": "REST API for the Cloudsmith 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/cloudsmith",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "cloudsmith_get_current_user",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/current/user",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "current",
            "user"
          ]
        },
        "description": "Return the identity authenticated by the connected Cloudsmith API key. Fails if Cloudsmith reports authenticated=false, even when the HTTP response is 200.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudsmith_get_package",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/package",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "package"
          ]
        },
        "description": "Get metadata, status, checksums, licensing, and security state for one package in a Cloudsmith repository.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"repo\": \"\",\n  \"owner\": \"\",\n  \"identifier\": \"\",\n  \"include_connected_repositories\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudsmith_get_quota",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/quota",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "quota"
          ]
        },
        "description": "Return current storage and bandwidth usage and allowances for a Cloudsmith namespace without inferring a billing plan name.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"owner\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudsmith_get_rate_limits",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/rate/limits",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "rate",
            "limits"
          ]
        },
        "description": "Return Cloudsmith's current per-resource request limits, remaining counts, intervals, and throttling state for the authenticated principal.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudsmith_get_repository",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/repository",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "repository"
          ]
        },
        "description": "Get configuration, visibility, usage, and capability details for one Cloudsmith repository without returning repository signing keys or certificates.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"owner\": \"\",\n  \"identifier\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudsmith_list_organizations",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/organizations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "organizations"
          ]
        },
        "description": "List Cloudsmith organizations associated with the authenticated principal so an agent can discover namespace slugs for later calls.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"sort\": \"\",\n  \"page_size\": 0,\n  \"next_cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudsmith_list_repository_vulnerabilities",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/repository/vulnerabilities",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "repository",
            "vulnerabilities"
          ]
        },
        "description": "List vulnerability scan summaries for packages in a Cloudsmith repository.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"repo\": \"\",\n  \"owner\": \"\",\n  \"page_size\": 0,\n  \"next_cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudsmith_search_audit_log",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/search/audit/log",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "search",
            "audit",
            "log"
          ]
        },
        "description": "Search paginated audit events for a Cloudsmith namespace by event, actor, or timestamp text.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"owner\": \"\",\n  \"query\": \"\",\n  \"page_size\": 0,\n  \"next_cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudsmith_search_packages",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/search/packages",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "search",
            "packages"
          ]
        },
        "description": "Search packages in a Cloudsmith repository by name, filename, version, distribution, architecture, format, or status.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"repo\": \"\",\n  \"sort\": \"\",\n  \"owner\": \"\",\n  \"query\": \"\",\n  \"page_size\": 0,\n  \"next_cursor\": \"\",\n  \"include_connected_repositories\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cloudsmith_search_repositories",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/search/repositories",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "search",
            "repositories"
          ]
        },
        "description": "Search and list repositories within a Cloudsmith namespace, returning identifiers and summary state without repository signing keys.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"sort\": \"\",\n  \"owner\": \"\",\n  \"query\": \"\",\n  \"page_size\": 0,\n  \"next_cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}