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

orange_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.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: orange_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 orange_splunkbase_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 984b3b5f03170245f651e219ea82e0d743c0c5ed51007b97185f2b8b6f12e9e1
MD5 4683384b9baa8413322a2e24d0b8c12b
BLAKE2b-256 1b2e2774026b889b34526db5ba59ce6e0b02114f30645bf5e4ea7bba729821dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for orange_splunkbase_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4780f68bb766f154d65c1a5090df40a88af63385bc67df867b84b83e0219ab3
MD5 0ef8da61e0af5adc363c03e16bbda250
BLAKE2b-256 7f34936d0c08f8419f4ffb1951e14c29720a6f55716ea0c2d7615dcea58c59ca

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