/splunk-platform:splunk-mcp-server-setupfrom Splunk Platform
Installs, configures, validates, and uninstalls the Splunk MCP Server app for Cisco Data Fabric agentic/tool access. Configures mcp.conf, rate limits, encrypted token issuance, and renders a client bridge bundle for Cursor, Codex, and Claude Code.
Ships in Splunk Platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Tool or access | Purpose | Verify |
|---|---|---|
| Bash and Python 3 | Run bundled setup and validation helpers | bash --version && python3 --version |
| Required product/platform access | Inspect or configure the selected target | Complete the documented preflight |
| Credential files for live modes | Keep secrets out of chat | Verify paths only |
┌───────────┐ ┌───────────────┐ ┌───────────────┐ ┌─────────────────┐
│ Preflight │ → │ Render/review │ → │ Apply/handoff │ → │ Validate evidence │
└───────────┘ └───────────────┘ └───────────────┘ └─────────────────┘
Follow the documented read-only or render-first path whenever it is available. This skill does not imply permission to mutate live systems. Require explicit apply flags, protected credentials, and operator review for state changes.
Inspect the supported setup modes before selecting one:
bash source-repository automation (not bundled) --help
Expected output: usage, supported modes, and required arguments are displayed without changing the target environment.
Inspect validation modes before running completion checks:
bash source-repository automation (not bundled) --help
Expected output: offline, live, and completion options are displayed when the skill supports them; help exits without mutation.
| Issue | Cause | Resolution |
|---|---|---|
| Preflight fails | A required tool or access path is missing | Resolve it before rendering or applying |
| Rendered assets are incomplete | Required non-secret inputs are absent | Complete intake and render again |
| Apply is blocked | Review, credentials, or explicit acceptance is missing | Use the documented handoff |
| Validation is incomplete | Live evidence is unavailable | Record the gap and keep completion open |
The current official package, 1.3.1, is not production-approved by this
repository's security and protocol review. Installation fails closed by
default while vendor fixes are pending. Do not deploy it to production or
expose it to untrusted clients. --accept-nonproduction-package exists only
for isolated evaluation and does not make the package production-safe.
Version 1.3.1 is the supported evaluation baseline. It includes the 1.3
SPL2 @spl2 query path, custom-tool UI, find_data_source preview, rest
command support, role-to-tool mappings, allowed-command administration, and
workload-pool selection. Treat those as vendor features: this skill validates
their shipped administration surfaces but does not silently enable tools,
expand allowed SPL commands, or assign roles.
Whenever this workflow installs, configures, or hands off the packaged MCP app, follow the shared completion gate. Package delivery alone is not success; validate the configured endpoint and its data access, plus any shipped views, or record explicit package evidence that no dashboards ship.
Automates setup of the Splunk MCP Server app (Splunk_MCP_Server).
For newer Cisco Data Fabric wording, this is the MCP/tool-access route for agentic workflows. Federated search, data pipelines, and AI Toolkit workflows remain in their dedicated skills.
This skill handles five operator tasks:
splunk-ta/ cachemcp.conf/services/mcp or the hosted SCS MCP GatewayThe bridge bundle uses the same mcp-remote wrapper pattern for all three tools, so
one rendered directory can be opened in Cursor, registered with Codex, and auto-wired
into Claude Code's .mcp.json. The wrapper passes header placeholders such as
${SPLUNK_MCP_HEADER_X_SF_TOKEN} to mcp-remote, keeping token values in the
local env file instead of command argv.
mcp-remote is an experimental compatibility proxy. Prefer a client's native
Streamable HTTP transport when it can supply the required headers; the pinned
bridge is not itself a production trust boundary.
Use the repo-local package in splunk-ta/ as the default install source.
The packaged app currently lives in:
splunk-ta/splunk-mcp-server_131.tgz
The setup workflow is the required install path because it enforces package provenance and the production-review gate. For isolated evaluation only:
bash source-repository automation (not bundled) \
--install \
--accept-nonproduction-package
To remove the app again:
bash source-repository automation (not bundled) --uninstall
The agent must NEVER ask for passwords, bearer tokens, or other secrets in chat.
Splunk credentials come from the project-root credentials file (falls back to
~/.splunk/credentials):
bash portable local helper
MCP bearer tokens are secrets. Always write them to a local-only file:
bash source-repository automation (not bundled) \
--accept-nonproduction-package \
--token-user "${SPLUNK_USER}" \
--write-token-file /tmp/splunk_mcp.token
The agent may freely ask for non-secret values such as:
Use an existing Splunk user that has the mcp_tool_admin capability. In most
lab setups that should be the same account already configured in
SPLUNK_USER.
For prerequisite collection, use
skills/splunk-mcp-server-setup/template.example as the intake worksheet and
keep any filled copy local as template.local.
| Item | Value |
|---|---|
| Search-tier API | SPLUNK_SEARCH_API_URI env var (legacy alias: SPLUNK_URI) |
| Cloud stack | SPLUNK_CLOUD_STACK for Splunk Cloud |
| App name | Splunk_MCP_Server |
| Local package | splunk-ta/splunk-mcp-server_131.tgz (version 1.3.1; SHA-256 verified before install) |
| Credentials | Project-root credentials file (falls back to ~/.splunk/credentials) |
| Skill source-repository automation (not bundled) | source-repository automation (not bundled)/ |
bash source-repository automation (not bundled) --install
For an isolated Enterprise lab where service interruption should be deferred:
bash source-repository automation (not bundled) \
--install \
--no-restart \
--accept-nonproduction-package
--no-restart only defers the shared installer restart; it does not guarantee
that updated Python handlers are active. Run validation afterward. If the live
endpoint still exposes the prior app behavior, restart Splunk before relying
on the upgrade.
This command intentionally refuses the current review-blocked release. After a
fixed vendor release is reviewed and marked production-approved in
package-manifest.json, the setup script will detect install versus update
mode automatically. Use --accept-nonproduction-package only in an isolated
lab.
bash source-repository automation (not bundled) --uninstall
This delegates to the shared app uninstaller for Splunk_MCP_Server and
restarts Splunk automatically on Enterprise targets unless the shared workflow
is changed to skip restart. Run --uninstall by itself; do not combine it with
render, token, or configuration flags.
bash source-repository automation (not bundled) \
--accept-nonproduction-package \
--timeout 90 \
--max-row-limit 2000 \
--default-row-limit 250 \
--ssl-verify true \
--require-encrypted-token true \
--legacy-token-grace-days 0 \
--token-default-lifetime-seconds 43200 \
--token-max-lifetime-seconds 86400 \
--token-key-reload-interval-seconds 300 \
--global-rate-limit 600 \
--admission-global 60 \
--tenant-authenticated 240 \
--tenant-unauthenticated 10 \
--circuit-breaker-failure-threshold 5 \
--circuit-breaker-cooldown-seconds 60
This updates supported fields in mcp.conf:
[server] timeout[server] max_row_limit[server] default_row_limit[server] ssl_verify (configuration intent only; vendor 1.3.1 does not
enforce it for internal HTTP calls)[server] require_encrypted_token[server] legacy_token_grace_days[server] mcp_token_default_lifetime_seconds[server] mcp_token_max_lifetime_seconds[server] token_key_reload_interval_seconds[rate_limits] admission and circuit-breaker valuesThe script also fixes visible=true on the app if ACS or local installs left it
hidden in Splunk Web.
bash source-repository automation (not bundled) \
--accept-nonproduction-package \
--rotate-keys \
--rotate-key-size 4096
bash source-repository automation (not bundled) \
--accept-nonproduction-package \
--token-user "${SPLUNK_USER}" \
--token-expires-on +12h \
--write-token-file /tmp/splunk_mcp.token
The script writes the encrypted token to the target file with 0600
permissions. It does not print the token to stdout.
Release 1.3.1 mints tokens with an authenticated GET /mcp_token request;
POST /mcp_token is reserved for action=rotate. The helper URL-encodes the
username and lifetime fields required by that vendor contract. Those non-secret
fields can appear in Splunk or intermediary access logs, but the returned token
is kept out of URLs and written only to the requested mode-0600 file.
If you disable require_encrypted_token, the app intentionally fails closed on
/mcp_token minting and key rotation. Do not combine
--require-encrypted-token false with --write-token-file or --rotate-keys
in the same run.
Choose one gateway mode:
| Mode | Endpoint | Required secret files |
|---|---|---|
platform | Splunk Platform app endpoint, usually /services/mcp on port 8089 | encrypted MCP bearer token file when writing a live .env.splunk-mcp |
o11y | hosted SCS MCP Gateway | --o11y-token-file |
combined | hosted SCS MCP Gateway with Splunk Platform + Observability headers | --o11y-token-file and --splunk-jwt-file |
Default platform mode preserves the existing local app workflow:
bash source-repository automation (not bundled) \
--accept-nonproduction-package \
--render-clients \
--bearer-token-file /tmp/splunk_mcp.token \
--cursor-workspace ~/Projects/my-cursor-workspace
O11y-only hosted gateway:
bash source-repository automation (not bundled) \
--render-clients \
--gateway-mode o11y \
--scs-region pdx10 \
--o11y-realm us1 \
--o11y-token-file /tmp/splunk_o11y_api_token
Combined Splunk Platform + Observability gateway:
bash source-repository automation (not bundled) \
--render-clients \
--gateway-mode combined \
--scs-region pdx10 \
--o11y-realm us1 \
--o11y-token-file /tmp/splunk_o11y_api_token \
--splunk-tenant mytenant \
--splunk-jwt-file /tmp/splunk_mcp_jwt
The SCS gateway URL is derived as:
https://region-<REGION>.api.scs.splunk.com/system/mcp-gateway/v1/
Current documented realm-to-SCS-region mappings:
| O11y realm | SCS region |
|---|---|
eu0 | dub10 |
eu1 | fra10 |
eu2 | lon10 |
us0 | iad10 |
us1 | pdx10 |
us3 | pdx10 |
jp0 | tyo10 |
au0 | syd10 |
sg0 | sin10 |
Google Cloud Platform realms and GovCloud realms are not supported by the
hosted MCP Gateway; the renderer rejects known unsupported values such as
us2 and gov*. Use --gateway-url only when Splunk provides an explicit
gateway endpoint.
Default render target:
./splunk-mcp-rendered
The rendered bundle contains:
.cursor/mcp.json for Cursorrun-splunk-mcp.sh as a shell stdio-to-HTTP bridgerun-splunk-mcp.js as the Node bridge used by Cursor, Codex, and Claude Code registrations.env.splunk-mcp.example.env.splunk-mcp when a token file is suppliedregister-codex-mcp.sh to sync a portable Codex launcher bundle under ~/.codex/mcp-bridges/When --render-clients runs, the skill also applies client setup by default:
CLIENT_NAME with Codex using a stable home-local launcher copy so repo moves do not break startup<cursor-workspace>/.cursor/mcp.json<workspace>/.mcp.json for Claude Code--cursor-workspace is omittedUse --no-register-codex, --no-configure-cursor, or --no-configure-claude to opt
out of any client update while still rendering the bundle.
Both wrappers require an operator-installed [email protected] on PATH,
verify that exact package version, and fail closed rather than downloading code
at startup.
For o11y and combined gateway modes, the wrapper also passes
--transport http-only --allow-http to match Splunk's hosted gateway examples.
Do not add hosted Observability AI Assistant MCP tools to local
Splunk_MCP_Server custom tool manifests. Gateway mode only configures client
headers and endpoint selection.
bash source-repository automation (not bundled) \
--completion \
--mcp-bearer-token-file /tmp/splunk_mcp.token
Checks:
/services/mcp completes authenticated initialize, notifications/initialized, tools/list, and a safe splunk_get_info tool call/services/mcp rejects an untrusted Origin["splunk_get_info"]; use --allowed-tools-file for a reviewed expansion)ssl_verify is reported as configuration-only and release 1.3.1 fails because the vendor does not enforce it/services/mcp URL is sanedashboard, monitoring, tools, and tool_settings views are visibleThe package still ships these baseline policy files with local-over-default precedence:
local/safe_spl.jsonlocal/generating_commands.jsonVersion 1.3.1 also ships authenticated administration endpoints for allowed SPL
commands, tool-role mappings, and guardrails. This skill validates that those
surfaces exist but does not mutate them. Review proposed commands and role
assignments separately, use the Splunk UI or documented app endpoint, and then
pass the exact enabled-tool policy to validation with --allowed-tools-file.
On self-managed targets, app-local overlays remain available when filesystem
ownership is explicit. On Splunk Cloud, treat direct file changes as package
content and use supported administration surfaces.
See reference.md for the exact implications.
safe_spl.json remains the local baseline: the app loads it from the
app directory; the 1.3 allowed-command endpoint manages a separate
REST-backed command layer rather than rewriting that JSON file.run-splunk-mcp.js bridge via mcp-remote.mcp.conf is the supported remote configuration surface: use it for
row limits and token policy. Release 1.3.1 does not enforce its documented
ssl_verify value, so that field cannot satisfy a TLS control./services/mcp and
depends on custom REST handlers plus KV Store-backed tool metadata.--gateway-mode o11y or combined and does not install hosted
Observability tools into the local Splunk Platform app.exclude_tools to
disable a tool; use mcp_tools_enabled, and keep query tools away from
untrusted callers pending a vendor fix._internal. Never embed literal credentials in custom tool headers or bodies.For Cursor and Claude Code activation details, including the local-only token file and reload requirements, read the client activation notes.
This Cisco DevNet package preserves the source skill's operational guidance, references, templates, and assets. Source-repository agents/openai.yaml files and repository-coupled scripts/shared helpers are intentionally not bundled. Any omitted automation must be recreated with the target product's supported tools after read-only discovery, exact-target review, explicit approval, rollback preparation, and post-change validation. Keep secrets in local mode-0600 files and never paste them into chat, commands, or logs.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ciscodevnet/skills --plugin splunk-platform87 skills in this plugin
/cisco-appdynamics-setupUse when the user asks about AppDynamics setup, Splunk_TA_AppDynamics, controller connections, analytics connections, or AppDynamics dashboards in Splunk. Automate Cisco Splunk Add-on for AppDynamics (Splunk_TA_AppDynamics) setup and configuration. Creates the AppDynamics index, sets add-on defaults, configures controller and optional analytics connections, enables common input groups, and validates the deployment.
/cisco-asa-ta-setupUse when onboarding or validating Cisco ASA or FTD syslog with Splunk_TA_cisco-asa and SC4S.
/cisco-catalyst-enhanced-netflow-setupOther plugins' skills for the same job