{
  "info": {
    "name": "Buildkite — mcp.ai",
    "description": "REST API for the Buildkite 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/buildkite",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "buildkite_get_current_access_token",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/current/access/token",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "current",
            "access",
            "token"
          ]
        },
        "description": "Tool to retrieve the authenticated API access token details. Use when you need to confirm the validity and scopes of the current API token.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "buildkite_get_meta",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/meta",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "meta"
          ]
        },
        "description": "Tool to retrieve metadata about the Buildkite API. Use when you need to fetch webhook IP addresses for firewall or security configurations.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "buildkite_get_user",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/user",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "user"
          ]
        },
        "description": "Tool to retrieve details about the current authenticated user. Use when you need to get information about the user account that owns the API token.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "buildkite_list_organizations",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/organizations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "organizations"
          ]
        },
        "description": "Tool to list all organizations the current user is a member of. Use when you need to discover available organizations or get organization slugs for other operations.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"per_page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "buildkite_list_pipeline_agents",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/pipeline/agents",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "pipeline",
            "agents"
          ]
        },
        "description": "Tool to list connected agents for an organization. Use after confirming the organization slug. Supports optional filtering and pagination.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"page\": 0,\n  \"version\": \"\",\n  \"hostname\": \"\",\n  \"org_slug\": \"\",\n  \"per_page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}