Salta l'installazione. Attivo in meno di 2 minuti.
Avvia una prova gratuita su cloud.anythingmcp.com, aggiungi Buildkite con un clic, poi punta il tuo client AI (Claude, ChatGPT, Copilot o Cursor) all'endpoint MCP generato. Niente Docker, niente git clone, nessuna esperienza di sviluppo richiesta.
In breve
Controlla Buildkite dal tuo agente AI: pipeline, build e job, log dei job, artefatti e annotation, agent, cluster e code, e le suite di Test Engine con i test instabili e lenti; dopo la tua conferma avvia, ricostruisci e ripeti build, sblocca step e aggiungi annotation.
Prova a chiedere
Prompt di esempio per Buildkite
Clicca su un prompt per copiarlo. Incollalo in Claude, ChatGPT, Cursor, Gemini, Copilot o OpenClaw per eseguirlo contro questo connettore.
Claude è un'AI e può sbagliare. Verifica sempre le risposte.
💡 Niente installazione? Vai direttamente su cloud.anythingmcp.com. Accedi, clicca Connectors → Buildkite, inserisci le credenziali, genera una MCP API key e hai finito. Niente Docker, niente
git clone, niente server locale.
Buildkite + Cursor
Controlla Buildkite dal tuo agente AI: pipeline, build e job, log dei job, artefatti e annotation, agent, cluster e code, e le suite di Test Engine con i test instabili e lenti; dopo la tua conferma avvia, ricostruisci e ripeti build, sblocca step e aggiungi annotation.
Prerequisiti
Le istruzioni di setup complete sono incluse nel connettore stesso (visibili nello store quando lo selezioni). Le variabili d'ambiente richieste sono:
BUILDKITE_API_TOKEN
Step 1 — Ottieni le credenziali
La configurazione richiede circa 3 minuti. Ti serve un account Buildkite con accesso all'organizzazione.
- In Buildkite apri il tuo avatar, Personal Settings, API Access Tokens (https://buildkite.com/user/api-access-tokens) e fai clic su New API Access Token.
- Scegli le organizzazioni e questi scope:
read_builds,read_build_logs,read_pipelines,read_artifacts,read_agents,read_clusters,read_organizations,read_usere, per Test Engine,read_suites. Per le scritture aggiungiwrite_builds. Lascia fuori ciò che non vuoi far fare all'AI. - Incolla il token (di solito inizia con
bkua_) inBUILDKITE_API_TOKEN. Viene inviato comeAuthorization: Bearer <token>solo ad api.buildkite.com, e l'AI agisce come l'utente a cui appartiene. - Installa il connettore ed esegui
buildkite_get_access_token: mostra gli scope del token. Poibuildkite_list_organizationselenca gli slug delle organizzazioni.
Slug e numeri: i tool vogliono lo slug dell'organizzazione (org) e quello della pipeline (pipeline) come in buildkite.com/<org>/<pipeline>, e il numero della build (#123), non il suo UUID. Job, artefatti e agent usano UUID. buildkite_list_test_runs filtra per UUID della build (il suo id).
Cosa legge:
- Organizzazioni e pipeline:
buildkite_get_current_user,buildkite_list_organizations,buildkite_get_organization,buildkite_list_pipelines(filtro per parte del nome o dell'URL del repository) ebuildkite_get_pipelinecon repository, branch di default, filtri sui branch, cluster e step YAML. - Build:
buildkite_list_buildsper tutta l'organizzazione obuildkite_list_pipeline_buildsper una pipeline, dalla più recente, filtrate per branch, stato (failed,running,blockede altri), commit, autore o date. Di default omettono i job;buildkite_get_buildli mostra con stato, exit status, step key e agent. - Perché una build è fallita:
buildkite_list_jobsconstateimpostato su failed, poibuildkite_get_jobebuildkite_get_job_log, che restituisce la fine del log in testo semplice, di default gli ultimi 100.000 byte, dove di solito c'è l'errore (tail_bytesfino a 5.000.000).buildkite_list_annotationscontiene spesso il riepilogo dei test o della coverage. - Artefatti:
buildkite_list_build_artifacts,buildkite_list_job_artifacts(filtro per stato o glob del percorso) ebuildkite_get_artifactcon dimensione, tipo MIME, sha1 e URL di download; il file vero e proprio si apre nell'app Buildkite. - Agent e capacità:
buildkite_list_agents(hostname, versione, coda, tag, stato della connessione, job corrente),buildkite_get_agent,buildkite_list_clusters,buildkite_get_clusterebuildkite_list_cluster_queues(se il dispatch è in pausa). - Test Engine:
buildkite_list_test_suites,buildkite_list_testscon affidabilità, durate, numero di esecuzioni, etichette come flaky e owner (sort_by=reliabilityconorder=ascper i meno affidabili),buildkite_get_testcon i punteggi di instabilità,buildkite_list_test_runs,buildkite_get_test_runebuildkite_list_failed_executionscon il motivo del fallimento e, su richiesta, il backtrace.
Cosa modifica, dopo la tua conferma: buildkite_create_build (pipeline, commit, branch, messaggio, ambiente), buildkite_rebuild_build, buildkite_retry_failed_jobs, buildkite_retry_job, buildkite_unblock_job e buildkite_create_annotation. Le build eseguono step reali sui tuoi agent, deployment compresi, e consumano risorse di calcolo, quindi l'AI indica pipeline, build e branch e aspetta il tuo sì. buildkite_unblock_job approva un gate manuale, spesso quello prima della produzione: l'AI lo chiama solo quando lo dici esplicitamente.
Disattivato all'installazione: buildkite_cancel_build. Una build annullata ferma i job in corso, può lasciare un deployment a metà e non si può riprendere, solo ricostruire, quindi lo attiva un admin del workspace quando serve al team.
Formati dei dati: gli stati sono in minuscolo (passed, failed, running, blocked, canceled). Gli orari sono ISO 8601 in UTC. web_url apre la build o il job in Buildkite. Le righe di log possono contenere codici colore ANSI. Le durate dei test sono in secondi e l'affidabilità è una frazione (0,95 = 95%).
Paginazione: i tool di elenco accettano page e per_page (default 30, fino a 100). Se ci sono altri risultati la risposta contiene _pagination.nextUrl; l'AI chiede la page successiva (o passa after per buildkite_list_jobs) finché _pagination non manca. Gli elenchi di build molto profondi rispondono 400; l'AI li restringe allora con branch o created_from.
Limiti: Buildkite limita le chiamate REST per organizzazione e per utente al minuto e risponde 429 quando uno dei due è esaurito; aspetta i secondi indicati in RateLimit-Reset e riprova.
Errori comuni: 401 indica un token errato, scaduto o revocato. 403 indica che al token manca lo scope per la chiamata (verifica con buildkite_get_access_token) o che non ha accesso a quell'organizzazione. 404 indica uno slug, un numero o un id errato. 422 spiega perché una build o un job non può essere creato, ripetuto o sbloccato.
Il connettore non legge le variabili d'ambiente dei job (contengono segreti), non elimina log, artefatti, annotation o pipeline, non crea né modifica pipeline, cluster, code o token degli agent, non ferma né mette in pausa gli agent e non gestisce team, membri, eventi di audit, package registry né i cambi di stato dei test come mute e skip.
Step 2 — Installa l'adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Aggiungi il connettore in Cursor
L'URL del tuo server: in AnythingMCP apri MCP Servers → il server su cui si trova questo connettore e copia il suo URL (
https://cloud.anythingmcp.com/mcp/…). Usalo ovunque questa guida mostraYOUR_SERVER_ID.
Cursor legge i server MCP da ~/.cursor/mcp.json. Aggiungi questa voce:
{
"mcpServers": {
"anythingmcp": {
"url": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Crea una chiave API MCP in AnythingMCP da MCP Servers → il tuo server → API keys e incollala al posto di
YOUR_MCP_API_KEY. - Salva il file e riavvia Cursor.
- Apri Cursor → Settings → MCP e verifica che
anythingmcpsia elencato e connesso. - Inizia a chattare: l'agente ora può usare i tool di
Buildkite.
Tool disponibili
| Tool | What it does |
|---|---|
buildkite_get_access_token | Read the API access token in use: its scopes, description, expiry and owner |
buildkite_get_current_user | Read the Buildkite user the token belongs to: id, name, email and avatar |
buildkite_list_organizations | List the organizations the token can reach, with their slug, name and web URL |
buildkite_get_organization | Read one organization: name, slug, web URL and links to its pipelines and agents |
buildkite_list_pipelines | List the pipelines of an organization: slug, name, repository, default branch, cluster and running and scheduled build counts |
buildkite_get_pipeline | Read one pipeline: repository, default branch, branch filters, cluster, provider settings and its YAML steps configuration |
buildkite_list_builds | List the builds of a whole organization, newest first: number, state, branch, commit, message, creator, pipeline and times |
buildkite_list_pipeline_builds | List the builds of one pipeline, newest first, with the same filters as buildkite_list_builds |
buildkite_get_build | Read one build by its number: state, branch, commit, message, creator, times, job_state_counts and its jobs with state, exit status, step… |
buildkite_list_jobs | List the jobs of a build, optionally only some states or one step or group key: id, name, step key, state, exit status, agent and times |
buildkite_get_job | Read one job by id: name, command, state, exit status, signal, agent, retry information, times and web URL |
buildkite_get_job_log | Read the end of a job's log as plain text, by default the last 100,000 bytes, where the error usually is |
buildkite_list_build_artifacts | List the artifacts uploaded by all jobs of a build: id, job id, path, file size, mime type, state and sha1 |
buildkite_list_job_artifacts | List the artifacts of one job, with the same fields and filters as buildkite_list_build_artifacts |
buildkite_get_artifact | Read one artifact's metadata: path, size, mime type, state, sha1 and its download URL (the file itself opens in the Buildkite app) |
buildkite_list_annotations | List the annotations of a build: context, style (success, info, warning, error), priority and the rendered HTML body, often a test or… |
buildkite_list_agents | List the connected agents of an organization: id, name, hostname, version, queue, tags (meta_data), connection state and the job they run |
buildkite_get_agent | Read one agent by id, also a disconnected one: connection state, hostname, version, queue, tags, current job and times |
buildkite_list_clusters | List the clusters of an organization: id, name, description, default queue and maintainers |
buildkite_get_cluster | Read one cluster: name, description, default queue and maintainers |
buildkite_list_cluster_queues | List the queues of a cluster: id, key, description, hosted agent settings and whether dispatch is paused |
buildkite_list_test_suites | List the Test Engine suites of an organization: slug, name, default branch and web URL |
buildkite_list_tests | List the tests of a Test Engine suite with metrics over a time window: reliability, average and total duration, execution counts, labels… |
buildkite_get_test | Read one test of a suite with its duration, reliability and execution metrics and its flakiness scores over a time window |
buildkite_list_test_runs | List the test runs of a suite, newest first: id, branch, commit, result, execution counts by result and the build they belong to |
buildkite_get_test_run | Read one test run: state, result, branch, commit, execution counts and times |
buildkite_list_failed_executions | List the failed test executions of a run: test name and location, failure reason and, with include_failure_expanded, the expanded failure… |
buildkite_create_build | Start a new build of a pipeline for a commit and branch |
buildkite_rebuild_build | Run a finished build again as a new build with the same commit, branch and settings, including any deploy steps |
buildkite_retry_failed_jobs | Retry the failed jobs of a build in place, optionally only some failure kinds |
buildkite_retry_job | Retry one failed, timed out or canceled job; the retry runs as a new job in the same build |
buildkite_unblock_job | Unblock a block step (a manual approval, often before a deploy) so the build continues, optionally with values for the step's fields |
buildkite_create_annotation | Add an annotation (a Markdown or HTML note shown on the build page) to a build, or append to the one with the same context |
buildkite_cancel_build | Cancel a scheduled, running or failing build; its running jobs stop and the rest never run, which can leave a deployment half done |
Esempi di prompt
- "Perché è fallita l'ultima build della pipeline api su main? Mostrami l'errore dal log del job fallito."
- "Quali build sono bloccate in questo momento in attesa di un'approvazione?"
- "Elenca i 10 test meno affidabili della nostra suite di Test Engine negli ultimi 7 giorni."
- "Ripeti i job falliti della build #4821 nella pipeline web."
- "Quanti agent sono connessi nella coda default, e quali di questi sono occupati?"
FAQ
Cursor supporta server MCP personalizzati nel piano gratuito? Sì, MCP è disponibile nei piani Hobby, Pro e Business.
Prossimi passi
- Landing del connettore
- Collegare a Claude
- Collegare a ChatGPT
- Collegare a Gemini
- Collegare a Meta Muse
- Collegare a Microsoft Copilot
Questa guida ti è stata utile?