Get started free
All integrations

Drone CI integration

Drone CI is a self-hosted continuous integration and delivery platform. The REST API exposes user, repository, build, secret, and cron management - used to trigger pipelines, monitor build status, manage signing/encrypted secrets, and schedule recurring builds. Authentication uses a personal token issued from the Drone user account page.

24 toolsTokenAPI docs

Common Drone CI use cases

  • Show a schedule UI
  • Cancel a stuck build
  • Retry a transient failure
  • Verify Drone token is valid
  • Build a repository picker UI
  • Render a build history table
  • Promote a build to production
  • Reject a production promotion
  • Add a Docker registry password
  • Off-board a repository from Drone

What you can do with Drone CI

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Build, 8 operations

  • POSTapprove_build_stage

    Approves a blocked build stage.

  • DELETEcancel_build

    Cancels a running build.

  • POSTcreate_build

    Triggers a new build via the API.

  • POSTdecline_build_stage

    Declines a blocked build stage.

  • GETget_build

    Returns a single build with its stages and steps.

  • GETlist_builds

    Lists recent builds for a repository.

  • POSTpromote_build

    Promotes a build to a deployment target.

  • POSTrestart_build

    Re-runs a previous build with the same commit.

Repository, 8 operations

  • POSTchown_repo

    Reassigns repository ownership to the authenticated user.

  • DELETEdisable_repo

    Disables (or removes) a Drone repository.

  • POSTenable_repo

    Activates a repository in Drone.

  • GETget_repo

    Returns metadata for a single Drone repository.

  • GETlist_user_repos

    Lists all repositories visible to the authenticated user.

  • POSTrepair_repo

    Recreates the SCM webhook for a repository.

  • POSTsync_user_repos

    Forces a refresh of the repositories visible to the user.

  • PATCHupdate_repo

    Updates configurable fields of a Drone repository.

Cron, 4 operations

  • POSTcreate_cron

    Creates a recurring cron-triggered build.

  • DELETEdelete_cron

    Deletes a cron entry.

  • POSTexec_cron

    Triggers a cron entry on demand.

  • GETlist_crons

    Lists cron jobs registered on a repository.

Secret, 3 operations

  • POSTcreate_repo_secret

    Creates a new repository secret.

  • DELETEdelete_repo_secret

    Deletes a repository secret.

  • GETlist_repo_secrets

    Lists secrets registered on a repository.

User, 1 operation

  • GETget_current_user

    Retrieves the authenticated Drone CI user's profile.

Use Drone CI from Claude Code, Cursor or Codex

Connect Drone CI in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Drone CI operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Drone CI

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Drone CI once

    Add your Drone CI connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Drone CI integration FAQ

What can you do with the Drone CI integration?
LiveContext exposes 24 operations on Drone CI, covering build, repository, cron and secret. Common uses include Show a schedule UI, Cancel a stuck build and Retry a transient failure.

Popular integrations

Browse the whole catalog