Skip to main content

MCP server for Splunkbase

Project description

splunkbase-mcp

An MCP server for Splunkbase

Description

This is a Machine Control Protocol (MCP) server that provides programmatic access to Splunkbase functionality. It allows you to search, download, and manage Splunkbase apps through a standardized interface.

Installation

Warning: this will store your password on-disk in plaintext. Better methods may come about eventually.

uv run mcp install -v "SPLUNKBASE_USERNAME=my_username" -v "SPLUNKBASE_PASSWORD=my_password" splunkbase-mcp.py

Usage

Sample prompt for Claude:

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/

Resources

  • app://{app}/info - Get detailed information about a Splunkbase app
  • app://{app}/splunk_versions - Get supported Splunk versions for an app

Available Tools

Search

  • search(query: str) - Search Splunkbase for apps
    • Returns a list of search results

Version Management

  • get_app_latest_version(app: str | int, splunk_version: str, is_cloud: bool = False) - Get the latest compatible version of an app
    • Parameters:
      • app: App name or numeric ID
      • splunk_version: Target Splunk version
      • is_cloud: Whether to check Splunk Cloud compatibility
    • Returns version information dictionary

Download

  • download_app(app: str | int, output_dir: str, version: Optional[str] = None) - Download a specific app version
    • Parameters:
      • app: App name or numeric ID
      • output_dir: Directory to save the downloaded app
      • version: Optional specific version to download (latest if not specified)
    • Returns success message with download details

Dependencies

  • aiosplunkbase >= 0.1.3
  • mcp[cli]
  • aiofiles
  • Python >= 3.11

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseep_splunkbase_mcp-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_splunkbase_mcp-0.1.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file mseep_splunkbase_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: mseep_splunkbase_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mseep_splunkbase_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8ffe31bfa2ee4b1ec44089fb92a490323bb69308c0e04c5f7aaac99986f21413
MD5 d958a16d18c32adf1eec26667f581ba0
BLAKE2b-256 aa42d33a7168db33c4528bb25739f25125609fb66c0e86dcd6d5f5eab0f3dd9a

See more details on using hashes here.

File details

Details for the file mseep_splunkbase_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_splunkbase_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3fafbcbf245ccd6f014b1843eaae6edf2cee472f0887c14d43c7251418b951b
MD5 6e216a661b747f1fe9a6289587094943
BLAKE2b-256 209febf225a24f0a724944fb044c7695d86a889132328baef176b160cd43feec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page