Skip to main content
Glama

splunk-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VERIFY_SSLNoEnable/disable SSL verificationtrue
SPLUNK_HOSTYesYour Splunk host address
SPLUNK_PORTNoSplunk management port8089
SPLUNK_SCHEMENoConnection schemehttps
SPLUNK_PASSWORDYesYour Splunk password
SPLUNK_USERNAMEYesYour Splunk username
FASTMCP_LOG_LEVELNoLogging levelINFO

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
search_splunk
Execute a Splunk search query and return the results. Args: search_query: The search query to execute earliest_time: Start time for the search (default: 24 hours ago) latest_time: End time for the search (default: now) max_results: Maximum number of results to return (default: 100) Returns: List of search results
list_indexes
Get a list of all available Splunk indexes. Returns: Dictionary containing list of indexes
get_index_info
Get metadata for a specific Splunk index. Args: index_name: Name of the index to get metadata for Returns: Dictionary containing index metadata
list_saved_searches
List all saved searches in Splunk Returns: List of saved searches with their names, descriptions, and search queries
current_user
Get information about the currently authenticated user. This endpoint retrieves: - Basic user information (username, real name, email) - Assigned roles - Default app settings - User type Returns: Dict[str, Any]: Dictionary containing user information
list_users

List all Splunk users (requires admin privileges)

list_kvstore_collections
List all KV store collections across apps. Returns: List of KV store collections with metadata including app, fields, and accelerated fields
health_check

Get basic Splunk connection information and list available apps

get_indexes_and_sourcetypes
Get a list of all indexes and their sourcetypes. This endpoint performs a search to gather: - All available indexes - All sourcetypes within each index - Event counts for each sourcetype - Time range information Returns: Dict[str, Any]: Dictionary containing: - indexes: List of all accessible indexes - sourcetypes: Dictionary mapping indexes to their sourcetypes - metadata: Additional information about the search
list_tools
List all available MCP tools. Returns: List of all available tools with their name, description, and parameters.
health

Get basic Splunk connection information and list available apps (same as health_check but for endpoint consistency)

ping
Simple ping endpoint to check server availability and get basic server information. This endpoint provides a lightweight way to: - Verify the server is running and responsive - Get basic server information including version and server time - Check connectivity without making complex API calls Returns: Dict[str, Any]: Dictionary containing status and basic server information

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/livehybrid/splunk-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server