GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者による説明(英語の原文)
MCP server for Drone CI/CD: 45 tools for builds, repos, secrets, users and templates
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"drone": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/yusiwen/drone-mcp-server:2.0.0"
]
}
}
}ターミナルでこれを実行します
claude mcp add drone -- docker run -i --rm ghcr.io/yusiwen/drone-mcp-server:2.0.0プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"drone": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/yusiwen/drone-mcp-server:2.0.0"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"drone": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/yusiwen/drone-mcp-server:2.0.0"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント yusiwen で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(2.0.0)がレジストリに届いたのは2 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。
同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
A Model Context Protocol (MCP) server for interacting with Drone CI/CD. This server provides tools and resources to query build information, repositories, and more from your Drone instance.
--enable-write-toolsdrone://builds/{owner}/{repo}/{build}go mod tidy
go build -o drone-mcp-server .
| Variable | Required | Description |
|---|---|---|
DRONE_SERVER | yes | Base URL of the Drone instance, e.g. https://drone.example.com |
DRONE_TOKEN | yes | Drone personal access token, sent as Authorization: Bearer on every Drone API call |
MCP_AUTH_TOKEN | HTTP mode | Bearer token that clients must present. HTTP mode refuses to start without it |
MCP_AUTH_TOKEN_FILE | no | File containing the bearer token (Docker/Kubernetes secrets). Takes precedence over MCP_AUTH_TOKEN |
MCP_ENABLE_WRITE_TOOLS | no | true registers the write and destructive tools, equivalent to --enable-write-tools |
export DRONE_SERVER=https://drone.example.com
export DRONE_TOKEN=your_drone_token export MCP_AUTH_TOKEN="$(openssl rand -base64 32)" # HTTP mode only
Grant the smallest Drone permission set that covers the tools you expose. The read-only tool set only needs read access to repositories and builds, while write tools such as delete_user, create_org_secret or chown_repo require administrator permissions.
This server is a privileged proxy: whatever it can reach, anyone who can talk to it can reach too. The defaults reflect that.
MCP_AUTH_TOKEN (or MCP_AUTH_TOKEN_FILE) the server refuses to start in HTTP mode. --insecure-allow-anonymous overrides this and logs a warning.readOnlyHint, destructiveHint and idempotentHint so clients can gate writes themselves.StreamableHTTPHandler, which rejects requests that arrive on a loopback address with a non-loopback Host header and rejects cross-site browser requests.--allowed-hosts and --allowed-origins add explicit Host and Origin allowlists on top of the transport defaults.429).X-Forwarded-For / X-Real-IP are ignored unless --trust-proxy is set, and control characters are stripped from logged values so request data cannot forge log lines.MCP_AUTH_TOKEN (32+ random bytes) and inject it as a platform secret rather than on the command line.--trust-proxy only when a proxy you control rewrites X-Forwarded-For / X-Real-IP; otherwise the logged client address is attacker controlled.Add the server to your MCP client configuration (e.g., Claude Desktop):
{
"mcpServers": { "drone": { "command": "/path/to/drone-mcp-server", "env": { "DRONE_SERVER": "https://drone.example.com", "DRONE_TOKEN": "your_token" } } } }
You can run the server directly for testing:
# Stdio mode (default) - for local MCP clients
./drone-mcp-server
export MCP_AUTH_TOKEN="$(openssl rand -base64 32)" ./drone-mcp-server --http --host localhost --port 8080
--http): A single endpoint that accepts POST (client to server), GET (server to client stream) and DELETE (session teardown).Upgrading from earlier releases: the old
--sseflag and the SSE transport are gone. Use--httpand a client that speaks Streamable HTTP.
# Local only, read-only tools
MCP_AUTH_TOKEN=... ./drone-mcp-server --http
MCP_AUTH_TOKEN=... ./drone-mcp-server --http --host 127.0.0.1 --port 8080 \ --enable-write-tools --allowed-hosts mcp.example.com
Clients connect to http://localhost:8080/ by default and must send the header:
Authorization: Bearer <MCP_AUTH_TOKEN>
Behind a reverse proxy: the transport rejects a public Host header on a loopback connection with 403 as part of its DNS rebinding protection. Either keep the loopback Host header (proxy_set_header Host 127.0.0.1:8080;), or hand Host validation to the allowlist with a single flag:
./drone-mcp-server --http --allowed-hosts mcp.example.com
Setting --allowed-hosts replaces the loopback heuristic, so you do not need --localhost-protection=false. If you pass --localhost-protection=true explicitly, both checks are applied and the public Host is rejected again.
| Flag | Default | Description |
|---|---|---|
--http | false | Use the Streamable HTTP transport |
--host / --port | localhost / 8080 | Listen address (HTTP mode only) |
--path | / | Path of the MCP endpoint (HTTP mode only) |
--enable-write-tools | false | Register the 27 write and destructive tools |
--insecure-allow-anonymous | false | Allow HTTP mode without MCP_AUTH_TOKEN |
--trust-proxy | false | Trust X-Forwarded-For / X-Real-IP from a reverse proxy |
--allowed-hosts | *(empty)* | Comma-separated Host allowlist; replaces the loopback heuristic |
--allowed-origins | *(empty)* | Comma-separated browser Origin allowlist |
--localhost-protection | true | Reject loopback connections carrying a non-loopback Host header; set explicitly together with --allowed-hosts to stack both checks |
--session-timeout | 30m | Idle MCP session timeout (HTTP mode only) |
--max-request-bytes | 1048576 | Maximum MCP request body size |
--version | Print version information and exit |
The server implements 45 tools. In the default read-only mode only the 18 read-only tools are registered; the remaining 27 are write or destructive tools and require --enable-write-tools (or MCP_ENABLE_WRITE_TOOLS=true).
Write and destructive tools: enable_repo, disable_repo, repair_repo, chown_repo, sync_repos, create_cron, delete_cron, execute_cron, create_secret, update_secret, delete_secret, create_org_secret, update_org_secret, delete_org_secret, create_user, update_user, delete_user, create_template, update_template, delete_template, restart_build, cancel_build, promote_build, rollback_build, approve_build, decline_build, create_build.
The destructive ones (deletions, disables, cancellations, promotions, rollbacks, ownership changes) are advertised with destructiveHint: true; the rest of the write tools with destructiveHint: false. All 18 read-only tools are advertised with readOnlyHint: true.
list_reposLists all repositories in your Drone instance.
get_repoGet repository details.
Arguments:
owner (string): Repository ownerrepo (string): Repository nameenable_repoEnable a repository.
Arguments:
owner (string): Repository ownerrepo (string): Repository namedisable_repoDisable a repository.
Arguments:
owner (string): Repository ownerrepo (string): Repository namerepair_repoRepair a repository.
Arguments:
owner (string): Repository ownerrepo (string): Repository namechown_repoChange repository ownership.
Arguments:
owner (string): Repository ownerrepo (string): Repository namesync_reposSynchronize repository list.
list_incompleteList repositories with incomplete builds.
list_buildsLists builds for a specific repository.
Arguments:
owner (string): Repository ownerrepo (string): Repository nameget_buildGet detailed information about a specific build.
Arguments:
owner (string): Repository ownerrepo (string): Repository namebuild (number): Build numberget_build_lastGet the last build for a repository (optionally by branch).
Arguments:
owner (string): Repository ownerrepo (string): Repository namebranch (string, optional): Branch nameget_build_logsGet logs for a specific build stage and step.
Arguments:
owner (string): Repository ownerrepo (string): Repository namebuild (number): Build numberstage (number): Stage numberstep (number): Step numberrestart_buildRestart a build (optionally with parameters).
Arguments:
owner (string): Repository ownerrepo (string): Repository namebuild (number): Build numberparams (object, optional): Build parameterscancel_buildCancel a running build.
Arguments:
owner (string): Repository ownerrepo (string): Repository namebuild (number): Build numberpromote_buildPromote a build to a target environment.
Arguments:
owner (string): Repository ownerrepo (string): Repository namebuild (number): Build numbertarget (string): Target environmentparams (object, optional): Promotion parametersrollback_buildRollback a deployment to a previous build.
Arguments:
owner (string): Repository ownerrepo (string): Repository namebuild (number): Build numbertarget (string): Target environmentparams (object, optional): Rollback parametersapprove_buildApprove a build stage (for gated deployments).
Arguments:
owner (string): Repository ownerrepo (string): Repository namebuild (number): Build numberstage (number): Stage numberdecline_buildDecline a build stage (for gated deployments).
Arguments:
owner (string): Repository ownerrepo (string): Repository namebuild (number): Build numberstage (number): Stage numbercreate_buildCreate a new build from a commit or branch.
Arguments:
owner (string): Repository ownerrepo (s冒頭だけを表示しています。続きはリポジトリで読めます