インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、LaunchDarkly をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
AnythingMCP は Claude のコネクタディレクトリに掲載されています。ワンクリックで Claude に追加 (新しいタブで開きます)し、サインインして Claude が使える MCP サーバーを選んでください。
概要
あらゆる AI エージェントから LaunchDarkly のフィーチャー管理:プロジェクトと環境、状態と評価ステータス付きのフラグ、セグメント、メトリクスと実験、監査ログ、メンバーとチーム。フラグとセグメントの作成、フラグのオンとオフ、セマンティックパッチによるターゲティングの変更ができます。
こう聞いてみよう
LaunchDarkly のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → LaunchDarkly をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
LaunchDarkly + Claude
あらゆる AI エージェントから LaunchDarkly のフィーチャー管理:プロジェクトと環境、状態と評価ステータス付きのフラグ、セグメント、メトリクスと実験、監査ログ、メンバーとチーム。フラグとセグメントの作成、フラグのオンとオフ、セマンティックパッチによるターゲティングの変更ができます。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
LAUNCHDARKLY_API_TOKEN
ステップ 1 — 認証情報を取得
設定は約 2 分です。LaunchDarkly アカウントが必要です。
- LaunchDarkly で Organization settings、Authorization(https://app.launchdarkly.com/settings/authorization)を開き、アクセストークンを作成します。読み取りだけなら Reader ロール、フラグの切り替えや変更には Writer、または AI に変更させるプロジェクトと環境に限定したカスタムロールを選びます。サービストークンは個人に結びつきません。
- トークン(
api-...、一度だけ表示)をLAUNCHDARKLY_API_TOKENにコピーし、launchdarkly_get_caller_identityを実行します。アカウント、トークンの名前と種類、所属するメンバー、スコープが表示されます。SDK キー(sdk-...)とモバイルキー(mob-...)はここでは使えません。 - EU インスタンスまたは連邦政府向けインスタンスでは、コネクタのベース URL を
https://app.eu.launchdarkly.comまたはhttps://app.launchdarkly.usに変更します。
フラグを探す: launchdarkly_list_projects、launchdarkly_get_project、launchdarkly_list_environments、launchdarkly_get_environment で構成がわかります。launchdarkly_list_flags に env: production と filter: query:checkout のようなフィルターを指定すると、各フラグがオンかどうかと何を返しているかが表示されます。env がないとオンとオフの状態は含まれません。launchdarkly_get_flag は環境ごとのバリエーション、ターゲット、ルール、フォールスルー、オフ時のバリエーション、前提条件を返します。
整理: launchdarkly_list_flag_statuses と launchdarkly_get_flag_status は、フラグが new、active、inactive(7 日間評価されていない)、launched(全員に同じバリエーションを返している)のどれか、そして最後にリクエストされた時刻を示します。inactive と launched のフラグはコードから外す候補です。
リリース: launchdarkly_create_flag はフラグを作成します。既定ではすべての環境でオフのブール型フラグです。launchdarkly_toggle_flag は 1 つの環境でオンまたはオフにします。launchdarkly_update_flag はターゲティング、ロールアウト、設定、ライフサイクル(deprecate、archive、restore)を変更し、dry_run: true を指定すると保存せずに変更後のフラグを返します。セグメントは launchdarkly_list_segments、launchdarkly_get_segment、launchdarkly_create_segment(空のセグメントを作成)、ターゲットとルール用の launchdarkly_update_segment です。
実験、監査、メンバー: launchdarkly_list_metrics、launchdarkly_get_metric、launchdarkly_list_experiments、launchdarkly_get_experiment は、メトリクスと、トリートメント、トラフィック配分、ステータス付きの実験のイテレーションを読み取ります。launchdarkly_list_audit_log(例: spec: proj/default:env/production:flag/new-checkout)と launchdarkly_get_audit_log_entry は、誰が何を変更したかを、変更の全内容とコメント付きで示します。launchdarkly_list_members、launchdarkly_get_member、launchdarkly_list_teams、launchdarkly_get_team はメンバー、ロール、チームを読み取ります。
書き込みの前に: 本番でフラグを切り替えたりターゲティングを変えたりすると、実際のユーザーに届く内容が数秒で変わります。AI はまずプロジェクト、環境、フラグをあなたと確認し、comment を付けます。環境によってはコメントが必須です。承認が必要な環境は 405 を返し、その場合は LaunchDarkly アプリで承認リクエストが必要です。
インストール時はオフ: launchdarkly_delete_flag。削除するとプロジェクトのすべての環境からフラグが消え、元に戻せません。一方 launchdarkly_update_flag の archiveFlag によるアーカイブは復元できます。チームに必要なときにワークスペース管理者がオンにします。
セマンティックパッチ: launchdarkly_toggle_flag、launchdarkly_update_flag、launchdarkly_update_segment は {"kind": "addTargets", "contextKind": "user", "values": ["key-1"], "variationId": "<_id>"} のような命令を送ります。バリエーション、ルール、句の ID は launchdarkly_get_flag または launchdarkly_get_segment の _id フィールドです。ロールアウトの重みは 1000 分の 1 パーセント単位です(100000 = 100%)。
データ形式: プロジェクト、環境、フラグ、セグメントのキーは AI がそのまま次の呼び出しに渡す値です。メンバーと監査ログの ID は 24 文字の 16 進文字列です。日付は Unix ミリ秒です(creationDate、lastModified、date)。フラグでは environments.<key>.on がターゲティングがオンかどうかを、_summary.variations が何を返しているかを示します。環境の SDK キーとモバイルキーはどの応答にも含まれません。
ページング: 一覧は limit と offset(フラグは 1 ページ最大 100 件)を受け取り、続きがある間は totalCount と _links.next を返します。監査ログは 1 回最大 20 件で、AI は before に最後のエントリの date を指定してさかのぼります。
よくあるエラー: 401 はトークンが間違っているか削除されたこと、403 はトークンのロールでその呼び出しが許されないこと、404 は不明なキー、400 または 409 は無効なパッチか競合する変更(メッセージに問題が示されます)、405 は承認が必要な変更、429 はレート制限です(X-Ratelimit-Reset の時刻まで待ちます)。
このコネクタはプロジェクトや環境の作成と変更、メンバー、チーム、ロールの管理、セグメントの削除、実験の作成、承認リクエストの送信を行いません。
ステップ 2 — アダプターをインストール
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
ステップ 3 — Claude にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
推奨ルート:設定ファイルを触らずに claude.ai web で動作します。
- Claude で Customize → Connectors を開きます。
- + をクリックし、Add custom connector を選びます。
- 名前(例:
LaunchDarkly)とリモート MCP サーバー URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力し、Add をクリックします。 - Connect をクリックし、AnythingMCP にサインイン(OAuth)してアクセスを許可します。
下記のすべてのツールがチャットに表示されます。プロンプトを入力し始めてください。
利用可能なツール
| Tool | What it does |
|---|---|
launchdarkly_get_caller_identity | Show what the access token is: account, token name and kind (personal or service), the member it belongs to and its scopes |
launchdarkly_list_projects | List the projects with key, name, tags and default client-side settings |
launchdarkly_get_project | Get one project with its settings; add expand: environments for its environments (SDK keys are left out) |
launchdarkly_list_environments | List the environments of a project (e.g |
launchdarkly_get_environment | Get one environment with its settings: client-side id, default TTL, secure mode, whether changes need comments, confirmation or approval… |
launchdarkly_list_flags | List the feature flags of a project: key, name, description, kind (boolean or multivariate), variations, tags, temporary flag, maintainer… |
launchdarkly_get_flag | Get one feature flag with its variations (with their _id), defaults and, per environment, whether it is on, its targets, rules (with… |
launchdarkly_list_flag_statuses | List the evaluation status of every flag in one environment: new, active, inactive (not evaluated for 7 days) or launched (serving one… |
launchdarkly_get_flag_status | Get the evaluation status of one flag in one environment (new, active, inactive, launched) and when it was last requested |
launchdarkly_create_flag | Create a feature flag in a project, by default a boolean flag (variations true and false) that is off in every environment |
launchdarkly_toggle_flag | Turn a feature flag on or off in one environment |
launchdarkly_update_flag | Change a feature flag with semantic patch instructions: targeting (addRule, removeRule, addClauses, addTargets, removeTargets… |
launchdarkly_delete_flag | Delete a feature flag from every environment of the project |
launchdarkly_list_segments | List the segments of an environment: key, name, description, tags, whether it is a big segment, and when it changed |
launchdarkly_get_segment | Get one segment with its included and excluded targets, rules (with _id) and version |
launchdarkly_create_segment | Create an empty segment in one environment; add targets and rules afterwards with launchdarkly_update_segment |
launchdarkly_update_segment | Change a segment with semantic patch instructions: addIncludedTargets, removeIncludedTargets, addExcludedTargets, removeExcludedTargets… |
launchdarkly_list_metrics | List the metrics of a project (conversions, clicks, page views, numeric custom events) with key, name, kind, event key, unit, success… |
launchdarkly_get_metric | Get one metric with its definition and, with expand, the experiments and metric groups that use it |
launchdarkly_list_experiments | List the experiments of a project across environments: key, name, hypothesis, environment, current iteration status (not started, running… |
launchdarkly_get_experiment | Get one experiment with its hypothesis, current iteration (status, start date, treatments and traffic allocation, primary and secondary… |
launchdarkly_list_audit_log | List audit log entries, newest first: who changed what (flags, segments, environments, members) and when, with the title, description and… |
launchdarkly_get_audit_log_entry | Get one audit log entry with the full change: the JSON patch or semantic instructions applied, the previous and current version of the… |
launchdarkly_list_members | List the account members: id, email, name, role (reader, writer, admin, owner, no_access) or custom roles, teams, last seen and whether… |
launchdarkly_get_member | Get one account member with role, custom roles, teams and permission grants |
launchdarkly_list_teams | List the teams: key, name, description, member count and the roles they hold |
launchdarkly_get_team | Get one team with its description and, with expand, members, roles, projects and maintainers |
プロンプトの例
- 「new-checkout フラグは本番でオンになっていますか?誰に何を返していますか?」
- 「default プロジェクトで、本番で 7 日以上 inactive のフラグはどれですか?」
- 「test 環境で dark-mode をコメント『QA 実施』付きでオンにしてください。先にドライランをして結果を見せてください。」
- 「ユーザーキー beta-tester-17 を本番の beta-users セグメントに追加してください。」
- 「今週、本番の new-checkout のターゲティングを変更したのは誰で、具体的に何が変わりましたか?」
FAQ
Claude Code は Claude Desktop と同じように動作しますか? はい。両方を https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID に向けてください。
次のステップ
このガイドは役に立ちましたか?