splunkbase-mcp
Splunkbase 的 MCP 服务器
描述
这是一个机器控制协议 (MCP) 服务器,提供对 Splunkbase 功能的编程访问。它允许您通过标准化界面搜索、下载和管理 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 版本
可用工具
搜索
搜索(查询: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.