Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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 |