splunkbase-mcp
Splunkbase用のMCPサーバー
説明
これは、Splunkbaseの機能へのプログラム的なアクセスを提供するマシン制御プロトコル(MCP)サーバーです。標準化されたインターフェースを通じて、Splunkbaseアプリの検索、ダウンロード、管理が可能になります。
Related MCP server: PocketBase MCP Server
インストール
警告: この方法ではパスワードが平文でディスクに保存されます。今後、より優れた方法が開発される可能性があります。
uv run mcp install -v "SPLUNKBASE_USERNAME=my_username" -v "SPLUNKBASE_PASSWORD=my_password" splunkbase-mcp.py使用法
クロードへのサンプルプロンプト:
Please do the following.
1. Search the web to find what Splunk app is responsible for providing field extractions for the WinEventLog sourcetype
2. Find the app on Splunkbase and grab its numerical app ID
3. Use the download_app tool to grab the latest version of the app from Splunkbase and place it in /tmp/apps/リソース
app://{app}/info- Splunkbase アプリの詳細情報を取得しますapp://{app}/splunk_versions- アプリでサポートされている Splunk のバージョンを取得します
利用可能なツール
検索
search(query: str) - Splunkbaseでアプリを検索
検索結果のリストを返します
バージョン管理
get_app_latest_version(app: str | int, splunk_version: str, is_cloud: bool = False) - アプリの最新の互換性バージョンを取得します
パラメータ:
app: アプリ名または数値IDsplunk_version: ターゲットSplunkバージョンis_cloud: Splunk Cloud の互換性をチェックするかどうか
バージョン情報辞書を返します
ダウンロード
download_app(app: str | int, output_dir: str, version: Optional[str] = None) - 特定のアプリバージョンをダウンロードする
パラメータ:
app: アプリ名または数値IDoutput_dir: ダウンロードしたアプリを保存するディレクトリversion: ダウンロードするオプションの特定のバージョン(指定されていない場合は最新)
ダウンロードの詳細を含む成功メッセージを返します
依存関係
aiosplunkbase >= 0.1.3
mcp[cli]
aioファイル
Python >= 3.11
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.