Splunkbase MCP Server

Integrations

  • Provides programmatic access to Splunkbase functionality, allowing users to search for apps, retrieve app information, check compatibility with Splunk versions, and download apps from Splunkbase.

splunkbase-mcp

Splunkbase 的 MCP 服务器

描述

这是一个机器控制协议 (MCP) 服务器,提供对 Splunkbase 功能的编程访问。它允许您通过标准化界面搜索、下载和管理 Splunkbase 应用程序。

安装

警告:此操作会将您的密码以明文形式存储在磁盘上。最终可能会有更好的方法。

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 :应用名称或数字 ID
      • splunk_version :目标 Splunk 版本
      • is_cloud :是否检查 Splunk Cloud 兼容性
    • 返回版本信息字典

下载

  • download_app(app: str | int, output_dir: str, version: Optional[str] = None) - 下载特定应用程序版本
    • 参数:
      • app :应用名称或数字 ID
      • output_dir :保存下载的应用程序的目录
      • version :可选下载特定版本(如果未指定,则为最新版本)
    • 返回包含下载详细信息的成功消息

依赖项

  • aiosplunkbase >= 0.1.3
  • mcp[cli]
  • aio文件
  • Python >= 3.11
-
security - not tested
F
license - not found
-
quality - not tested

机器控制协议服务器提供对 Splunkbase 功能的编程访问,允许用户通过标准化界面搜索、下载和管理 Splunkbase 应用程序。

  1. Description
    1. Installation
      1. Usage
        1. Resources
          1. Available Tools
            1. Search
            2. Version Management
            3. Download
          2. Dependencies
            ID: njjxli7cji