インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Splunk をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
Splunk 公式の MCP Server を通じて、Claude、ChatGPT、Copilot から Splunk のログとメトリクスを検索。SPL と保存済みサーチの実行、インデックス・ホスト・ソースの一覧、ナレッジオブジェクトの参照、Splunk AI Assistant による SPL の作成に対応。
こう聞いてみよう
Splunk のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Splunk をクリック、認証情報を貼り付け、MCP API キーを発行 — 完了です。Docker も
git cloneもローカルサーバーも不要。
Splunk + ChatGPT
Splunk 公式の MCP Server を通じて、Claude、ChatGPT、Copilot から Splunk のログとメトリクスを検索。SPL と保存済みサーチの実行、インデックス・ホスト・ソースの一覧、ナレッジオブジェクトの参照、Splunk AI Assistant による SPL の作成に対応。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
SPLUNK_HOST, SPLUNK_MCP_TOKEN
ステップ 1 — 認証情報を取得
AnythingMCP は Splunk 公式アプリ Splunk MCP Server(Splunkbase 7931)に接続します。ツールはお使いの Splunk から提供され、AnythingMCP は Claude と ChatGPT 向けの OAuth、ツール単位のロール、監査ログを追加します。
- Splunk 管理者がサーチヘッドに Splunk MCP Server をインストールし、トークン認証を有効にします。
- AI が使うロールに
mcp_tool_executeケイパビリティと、読み取りを許可するインデックスだけを付与します。インデックスやルックアップに書き込めないロールを選んでください。Splunk 自身がsplunk_run_queryをデータを変更しうるツールとしてマークしています。 - Splunk MCP Server アプリで、そのユーザー用の暗号化された MCP トークンを生成します。通常の Splunk ユーザートークンは "invalid token audience" で拒否されます。
- Splunk Cloud Platform では、AnythingMCP の接続元アドレスをポート 8089 で許可します(Admin Config Service の search API 用 IP 許可リスト)。AnythingMCP Cloud の場合は、送信元 IP をサポートにお問い合わせください。
- AnythingMCP のカタログから Splunk を、
SPLUNK_HOST(例:yourstack.splunkcloud.com、https://は不要)とSPLUNK_MCP_TOKENを指定してインストールします。インストール時にサーバーが提供するツールが取り込まれ、ダッシュボード用の 2 つのツールは無効の状態で始まります。
ステップ 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 — ChatGPT にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
ChatGPT は開発者モード(Developer mode)で MCP サーバーをカスタムアプリとして接続します。有料プランで利用でき、無料プランでは使えません。Business・Enterprise のワークスペースでは、先に管理者が許可する必要がある場合があります。
- ChatGPT で Settings → Security and login を開き、Developer mode をオンにします。
- chatgpt.com/plugins を開き、+ をクリックします。
- 名前と短い説明を入力します(例: Name:
Splunk)。 - Connection に MCP サーバー URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力し、接続を作成します。 - ChatGPT に求められたら AnythingMCP にサインイン(OAuth)し、アクセスを許可します。
利用可能なツール
| Tool | What it does |
|---|---|
saia_ask_splunk_question | Ask natural language questions about Splunk using Splunk AI Assistant |
saia_explain_spl | Explain SPL queries in natural language using Splunk AI Assistant |
saia_generate_spl | Generate SPL from natural language queries using Splunk AI Assistant |
saia_optimize_spl | Optimize SPL (Search Processing Language) queries using Splunk AI Assistant |
splunk_create_dashboard | Creates a new Splunk dashboard using Dashboard Studio JSON in the specified app namespace |
splunk_get_index_info | Get detailed information about a specific Splunk index |
splunk_get_indexes | Get a list of indexes from Splunk |
splunk_get_info | Get comprehensive information about the Splunk instance |
splunk_get_knowledge_objects | Retrieve Splunk knowledge objects by type |
splunk_get_kv_store_collections | Get KV Store collection statistics including size, count, and storage information |
splunk_get_metadata | Retrieve metadata about hosts or sources across one or more indexes in the selected time window |
splunk_get_user_info | Retrieves detailed information about the currently authenticated user including roles and permissions |
splunk_get_user_list | Get a list of users from Splunk |
splunk_run_query | Execute a Splunk search query and return the results |
splunk_run_saved_search | Execute a Splunk saved search by name and return its results |
splunk_update_dashboard | Updates an existing Splunk dashboard's definition using Dashboard Studio JSON |
FAQ
ChatGPT の無料プランでカスタム MCP コネクタは使えますか? いいえ。カスタム MCP 接続には開発者モードが必要で、有料プランでのみ利用できます。
次のステップ
このガイドは役に立ちましたか?