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.1.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.1-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mseep_splunkbase_mcp-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 05c0ce8f9d18ca96700cd5ac2cec3aad7ef9495566cb94b67eb16b3a7be546ba
MD5 c847383cd3f3e290e39cd51e727ceb26
BLAKE2b-256 4b0b2c6ee1f45f5ced2f98dd2bac28d4f2ebec47de0ff7bf551d8c0987df9c1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mseep_splunkbase_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 62dc6629c879943a7f1eb5fd32a8632415a884d4c3fe5244b3ade0f71f356eee
MD5 e7e29e0a4ac69ef5e28d67d487aec3e2
BLAKE2b-256 d855165f3e4a5f59c4e3d4117a6ad3ce218853767565a4824f1838e95e9cb5c3

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