splunk-sdk-python
splunk-sdk-python copied to clipboard
Splunk Software Development Kit for Python
## Summary `mcp 2.0.0` (released on PyPI 2026-07-28) is a major rework of the MCP Python SDK that removes the `list_tools` / `call_tool` decorator API from `mcp.server.lowlevel.Server` (replaced by `add_request_handler`;...
**Describe the bug** When the [sslConfig] enableSplunkdSSL is set to false in server.conf, then export of search results fails, giving the following on-screen error: Service Unavailable This was working in...
**Describe the bug** `_splunk_home()` in `splunklib/ai/tools.py` validates that `SPLUNK_HOME` is an absolute path via `splunk_home.startswith("/")`. This check is POSIX-only. On Windows, `SPLUNK_HOME` is a drive-letter path (e.g. `C:\Program Files\Splunk`), which...
# Summary `splunklib/binding.py` `connect()` (the `verify=False` path — the splunklib default) configures an explicit TLS key-exchange group list that includes ML-KEM hybrid groups: ```python if hasattr(ctx, "set_groups"): ctx.set_groups( # pyright:...
# Roadmap question: mcp 2.x compatibility for `splunklib.ai` (ToolRegistry still relies on the 1.x `Server.list_tools` / `Server.call_tool` decorators) > **Disclosure**: this issue was researched and drafted with AI assistance (Claude...
Hello Splunk SDK maintainers, I noticed that the README's connection examples show `client.connect(...)` without mentioning TLS certificate verification. In the current implementation, the connection context reads `verify` with a default...