Can the Splunk MCP server be locked down for AI agents?
Yes, within limits. The official Splunk MCP Server (Splunkbase app 7931, built by Splunk LLC) includes role-based limits on tools, an SPL allowlist and rate limits, all built into the app on Splunk Enterprise and Splunk Cloud Platform. The controls depend on version: rate limits require MCP Server 1.2.1 or higher, local edits to the safe SPL command list arrived in 1.3, and the allowlist check on every client query plus explicit enablement for custom tools are described in the 2.0 release. Before approving a rollout, confirm which version your Splunk instance runs, because a control that exists in 2.0 may not be present in an older install.
For an approval decision, these controls are a starting point, not a finished security design. The role mappings are only as strict as the roles you build: saving a tool with no roles selected clears its policy, so any user with mcp_tool_execute can run it. Confirm which roles hold mcp_tool_execute and mcp_tool_admin, and review who can create tokens, since mcp_tool_admin also governs tool management. Rate limits are off by default, so an admin must set global and per-tool values deliberately. The SPL allowlist limits which commands run, but it does not decide which indexes a user can search, so index-level access in your Splunk roles still needs review.
Several gaps remain outside this set of controls. Identity and token handling, including how an AI client authenticates and how long tokens live, is covered in the sibling setup page. Audit logging, meaning what admins can see about queries an agent ran, and the path data takes from Splunk to the AI client are not settled by the tool controls alone. Ask Splunk and your own team to confirm how those are recorded in your version before you treat the server as contained. The Splunk MCP Server 2.0 blog post is the natural next read for the allowlist and custom tool behavior.
Which security controls exist in which MCP Server version
This table maps each access control in the official Splunk MCP Server to the server version whose Splunk documentation describes it, for Splunk Enterprise and Splunk Cloud Platform deployments. Read the version column as the earliest release that documents the control, and confirm which MCP Server version your search head or Splunk Cloud stack runs before you rely on any row. Controls tied to mcp_tool_admin, such as custom tools and rate limits, should be limited to a small, named admin group.
| Control | Built in or admin-configured | Version required | Notes |
|---|---|---|---|
| mcp_tool_execute capability | Built in as a Splunk capability, granted by admins to roles | Confirm for your installed version (2.1 setup documentation) | Must be added to every role that needs MCP tool access. Without it, users cannot use MCP tools. |
| mcp_tool_admin capability | Built in as a Splunk capability, granted by admins to roles | Confirm for your installed version (2.0 and 2.1 documentation) | Grants tool management and token creation. Required to register custom tools and set rate limits. |
| Per-tool role mapping | Admin-configured, one set of roles per MCP tool | 2.1 setup documentation | Users need an allowed role to view or run a restricted tool. Admins with mcp_tool_admin are exempt. Saving a tool with no roles clears the policy, so every user with mcp_tool_execute can run it. |
| Server-wide tool enable or disable | Admin-configured, applies to the whole server | 1.3 documentation | Lets admins switch individual tools off for all users. Confirm which tools are active after each upgrade. |
| SPL allowlist (default) | Built in, checks every MCP client query against a list of safe SPL commands | 2.0 announcement | Queries using commands outside the allowlist are checked against it before they run. Review the default list for your own risk tolerance. |
| SPL allowlist (local edits) | Admin-configured, commands can be added or removed locally | 1.3 documentation | Local changes leave the default list unchanged. Record every local edit, because it widens or narrows what agents can run. |
| Custom tool enablement | Admin-configured, custom tools are off until enabled | 2.0 announcement | Custom tools must be explicitly enabled before an AI assistant can see them. Registering one requires mcp_tool_admin. |
| Global and per-tool rate limits | Admin-configured by mcp_tool_admin users | 1.2.1 or higher | No rate limits are set by default. Set a global limit and per-tool limits deliberately, then test them against expected agent usage. |
What an AI agent can read and run through the server
The reach of an agent on the official Splunk MCP server is defined by two things: the MCP tools enabled for the user's roles and the SPL the server will accept. The server exposes Splunk functionality only as MCP tools, with built-in tools such as get_splunk_info and get_indexes. An agent has no separate Splunk console or API path through this app, so the tool list is the first boundary to review. The sources do not enumerate every built-in tool, so the reviewer must list the tools that are enabled in their own environment, record which ones are server wide and which are restricted by role, and confirm that list against the running server before approving the rollout.
The agent acts with the calling user's Splunk permissions. Search access therefore follows the existing index and role design: if a user's role cannot read an index, an agent running under that user's session should not see its events either. This makes role and index design the real data boundary, so reviewers should check which roles hold mcp_tool_execute, which indexes those roles can search, and whether any broad role is carrying access it does not need for analysts. Because the server checks each query from an MCP client against an allowlist of safe SPL commands, the accepted search language is a second limit on what the agent can run. Confirm the current command list in your environment rather than assuming the defaults match your policy.
Before approval, ask the Splunk team or your own test instance to show the enabled tool list, the roles mapped to each restricted tool, the effective safe SPL command list and whether any rate limits are set. These answers together describe what an agent can read and run, and they should be recorded with the date of the check, since tool sets and command lists change between releases. Where a control cannot be confirmed from the documentation, treat that gap as an open item for the security review rather than an assumed safeguard.
Decisions the admin team must make before enabling tools
Before any AI agent queries Splunk through the MCP server, the admin team has to settle who can execute tools, who can administer them, and which controls stay server wide. The cards below cover the access roles, tool policies, SPL allowlist changes, rate limits and custom tool registration, and each one changes what an agent can read or run.
Who receives mcp_tool_execute
This capability lets a user run MCP tools at all, and it must be added to each role that needs access. Grant it to a small set of named analyst roles rather than to every role that holds search access, because a role without it has no MCP path at all. Check the role list against your existing Splunk role inheritance, since inherited roles can pick up the capability without anyone deciding to grant it. Ask Splunk support or your own test instance to confirm how inheritance applies in your version.
Splunk setup docsHow few hold mcp_tool_admin
The mcp_tool_admin capability controls tool management and token creation, and it also bypasses role restrictions on restricted tools. Keep it to a short, named list of platform administrators, and keep those accounts separate from day-to-day analyst accounts. Anyone holding it can register custom tools, change tool policies and set rate limits, so each holder can widen what every other user's agent can do.
Restricting tools by role or leaving them open
Admins can map Splunk roles to individual MCP tools, and a user then needs an allowed role to view or run that tool. The risk is a silent default: saving a tool with no roles selected clears the policy, so the tool becomes available to every user with mcp_tool_execute. Decide which tools carry sensitive data, such as index listings or search results, and assign them roles explicitly. Record which tools stay server wide and why, and review that list after each app upgrade.
Tool role mappingAdding or removing SPL commands from the allowlist
Every query from an MCP client is checked against a list of safe SPL commands, and admins can add or remove commands at the local level without changing the default list. Adding a command such as a data-returning or write-oriented one widens what an agent can do with a single query, so each addition needs a named owner and a written reason. Removing a command is the lower-risk change but can break saved agent workflows. Keep a record of local changes so they can be reviewed against the default list.
MCP settings docsGlobal and per-tool rate limit values
Rate limits are a global setting plus a per-tool setting, and they are available in MCP Server 1.2.1 or higher. By default no rate limits are set, so a newly enabled agent can issue queries without a ceiling. Set a global value to cap total load on the search tier and a tighter per-tool value on tools that run searches. Choose the numbers from your own search capacity and the expected agent volume, and test them before go-live, since no default value is supplied for you to copy.
Rate limiting docsWhether to register custom tools
Custom tools must be explicitly enabled before an AI assistant can see them, and registering one requires mcp_tool_admin. Each custom tool is a new query path that an agent can call, so it needs the same role mapping, SPL review and rate limit as the built-in tools. Decide whether your team will register any custom tools at all. If the answer is no, record that decision and keep registration limited to the admin accounts so the tool list stays fixed.
- Custom tool gating
- 2.0
How the answer changes by deployment and team size
On Splunk Enterprise, the official app is installed from Splunkbase onto a search head or search head cluster, so your own administrators control the app, its configuration and the roles that reach it. The MCP Server runs inside your Splunk instance and is exposed over HTTP, which means network exposure and the account used by each client are part of your review. Start with the capability model and the per-tool role mappings, because those decide what each user's AI client can see and run.
- Capability assignment: Confirm that
mcp_tool_executeis granted only to the roles that need MCP access, since it must be added to each role that needs it. - Admin separation: Limit
mcp_tool_adminto a small group, because it controls tool management and token creation. - Cluster consistency: On a search head cluster, confirm that the app and its tool settings are deployed the same way on every member before you rely on them.
- HTTP exposure: Review which networks can reach the HTTP endpoint and whether it sits behind controls your team already operates.
- Version check: Confirm the installed app version, since the controls described for MCP Server 2.0 and 2.1 may not match an older install.
Ask your Splunk team to show the installed app version, the role list with MCP capabilities, and the tool-to-role mapping before approving any AI client.
On Splunk Cloud Platform, the MCP Server is supported as well, but the version you get and the admin path you use depend on your stack. The MCP Server 2.0 announcement says version 2.0 comes preinstalled with Splunk Cloud 10.6, so an older Cloud stack may run an earlier release with different controls. Confirm the version on your stack before you rely on any 2.0 control, and do not assume a preinstalled app is configured the way the blog describes.
- Version first: Check whether your stack runs Splunk Cloud 10.6, and record the MCP Server version shown in your instance.
- Role model: Map
mcp_tool_executeandmcp_tool_adminto Cloud roles through your Cloud admin process, and confirm which roles inherit them. - Tool policies: Ask whether per-tool role mappings and custom tool enablement exist in your version, since the 2.0 blog describes explicit enablement for custom tools.
- Rate limits: Confirm that global and per-tool limits are set, because the rate limiting documentation states that no limits are set by default.
- Change control: Ask how Splunk Cloud upgrades will change MCP settings and whether you will receive advance notice.
Confirm the MCP Server version on your exact Cloud stack and get the admin settings in writing before approving the tool.
A single team with a few roles usually has a small set of users who all need similar data, so the main risk is over-granting rather than complex policy conflicts. Because there are few roles, you can review each one directly and tie every MCP capability to a named owner. Illustrative example: a SOC team of ten analysts sharing one role can often be governed with one execute role, one admin role and an explicit tool list.
- Minimal execute role: Grant
mcp_tool_executeto the one analyst role, not to a broad default role. - Narrow admin group: Keep
mcp_tool_adminwith one or two named engineers. - Leave no open tools: Save each tool with at least one role selected, because saving with no roles clears the policy and opens the tool to every user with execute rights.
- Light rate limits: Set a global limit and a per-tool limit so a single misconfigured client cannot run heavy searches all day.
- Owner review: Record who approves changes to the tool list and the SPL allowlist.
Confirm that every enabled tool has a role mapping and that no tool was saved with an empty role list.
In a shared environment where several teams own different indexes, the MCP Server becomes a cross-team access path, and a role that is safe for one team can expose another team's data. The controls that matter most are role-to-tool mappings that match your index design, restricted SPL commands, and a clear owner for each tool. Your Splunk role and index permissions still govern what data a search can return, so the MCP layer should be treated as one more filter on top of them, not as a replacement for them. Illustrative example: a payments team and a marketing team sharing a deployment need separate tool sets and separate execute roles.
- Per-team tool sets: Map each custom or sensitive tool to only the roles of the team that owns its data.
- Index-aware review: Test each MCP role against the indexes it should and should not reach, using a non-production account.
- SPL allowlist governance: Review changes to the local safe command list, since adding a command can widen what any team's client can run.
- Central admin rota: Keep
mcp_tool_adminwith a central platform group, not with each team, so policy changes have one approver. - Per-team rate limits: Set per-tool limits for high-volume teams so one team's automation does not affect others.
Before onboarding a second team, confirm in writing which indexes each MCP role can search and who approves changes to tool and SPL settings.
Order of work to lock down the server before production
This sequence moves from confirming what is installed to proving that restricted tools stay hidden from ordinary users, so the approval record reflects the configuration a reviewer will see in production.
Confirm the installed version and edition
The platform team checks which MCP Server version is installed on the search head or search head cluster and whether the deployment is Splunk Enterprise or Splunk Cloud Platform. The Splunkbase listing for app ID 7931 and the Cisco Code Exchange mirror report version 1.0.1 dated February 7, 2026, with Splunk Supported and Beta status, while Splunk's 2.0 announcement says version 2.0 comes preinstalled with Splunk Cloud 10.6. Your reviewers need the exact version, because tool role mapping, the SPL allowlist and rate limits are documented for different releases. Done when the version, edition and the documentation set you will follow are written into the change record.
Map roles that need tool execution
The Splunk administrator lists every role that should reach MCP tools and grants mcp_tool_execute only to those roles. Splunk's setup documentation says this capability must be added to each role that needs access, so a role left out cannot use the server at all. Keep mcp_tool_admin with a short named list, because that capability manages tools and creates tokens. Confirm the result by reviewing the role list against the approved user population. Done when every role with either capability has a documented business owner and no service or shared account holds mcp_tool_admin without a reason on file.
Decide the tool set and role policies
Before saving any tool, the administrator reviews every built-in and custom tool the server exposes and decides which ones stay available to all execute-capable users and which need role restrictions. Splunk's 2.1 documentation lets admins map roles to individual tools, and users need an allowed role to view or run a restricted tool, except admins with mcp_tool_admin. Saving a tool with no roles selected clears the policy, so the tool becomes open to every user with mcp_tool_execute. Check the saved policy for each tool after saving. Done when each tool has a recorded decision and no sensitive tool shows an empty role field.
Review the SPL allowlist and local changes
Splunk's 2.0 announcement says every query from an MCP client is checked against an allowlist of safe SPL commands. The MCP Server 1.3 documentation says admins can add or remove commands from that safe list at the local level without changing the default. Review the default list for the version you installed, then compare it with the local settings file or admin view to identify any added or removed commands. Confirm that no command with write or external-reach behavior has been added without approval. Done when the reviewed list and each local change are recorded with an approver.
Set global and per-tool rate limits
Splunk's rate limiting documentation says admins with mcp_tool_admin can set a global limit and a per-tool limit in MCP Server 1.2.1 or higher, and that no rate limits are set by default. Set a global limit first, then add per-tool limits for tools that run expensive searches or return large result sets. Confirm the chosen values with the team that owns search capacity, and record which version supports each setting. Done when the global limit and every per-tool limit are saved, and the values are in the record rather than left at the default of no limit.
Test with a non-admin account
Sign in with a test account that has mcp_tool_execute but no mcp_tool_admin and no role that matches a restricted tool. Confirm the restricted tools are hidden from the tool list and refused when called directly, and that the permitted tools still run. Repeat the test with a role that matches one restricted tool to confirm access follows the mapping. Use a disabled custom tool to confirm it does not appear to the AI assistant until enabled. Done when each expected outcome is recorded with the account, role and tool tested, and any unexpected result is fixed and retested.
Record the configuration for review
Export or document the final configuration: installed version and edition, role assignments for both capabilities, tool enablement and role policies, the SPL allowlist with local changes, rate limits, and the test results. Store it with the change ticket so that security and compliance reviewers can compare it with the production state later. Note who can change each setting and how changes are approved. Done when a reviewer who did not perform the work can read the record and confirm each control without asking the platform team for further detail.
Evidence a security reviewer asks to see
This table maps each question a reviewer asks about the Splunk MCP Server to the evidence that answers it and the place in the app where that evidence lives. Read each row as a check you can run in your own instance before approval. The main takeaway is that several controls are opt-in or default to open, so a reviewer should confirm the setting rather than assume it.
| Question | Evidence to request | Where it comes from in the Splunk MCP Server |
|---|---|---|
| Who can use MCP tools | A list of roles that hold mcp_tool_execute, with each role's membership | Role settings in Splunk, where mcp_tool_execute must be added to every role that needs MCP access |
| Who can change tools and tokens | A list of users and roles holding mcp_tool_admin, plus the reason each needs it | Role settings in Splunk; mcp_tool_admin covers tool management and token creation |
| Tool-level restrictions | Each tool with its mapped roles, and confirmation that no tool is left with an empty role policy | Per-tool role mapping in the MCP Server settings; an empty role selection clears the policy and opens the tool to all mcp_tool_execute users |
| Server-wide enablement | A current export or screenshot showing which built-in and custom tools are enabled server wide | Server-wide tool enable and disable settings in the MCP Server configuration |
| SPL allowlist default and local edits | The default safe command list for the installed version and a diff of every local addition or removal | Safe command list in the MCP Server settings; local changes are kept apart from the default list |
| Rate limit settings | Global and per-tool limits, with confirmation that they are set, since none are set by default | Rate limiting settings, available to mcp_tool_admin in MCP Server 1.2.1 or higher |
| Custom tools registered and enabled | An inventory of custom tools, who registered each one, and its enabled state | Custom tool registration, which requires mcp_tool_admin; custom tools stay hidden from AI assistants until explicitly enabled |
Questions reviewers ask before approving Splunk MCP access
Is the Splunk MCP server an official Splunk product or a community project?
The official Splunk MCP Server is a Splunkbase app (app ID 7931) built by Splunk LLC, and the Cisco Code Exchange listing for it reports version 1.0.1 dated February 7, 2026, with Splunk Supported and Beta status. Other MCP servers for Splunk are built by other publishers and are separate community projects. This page covers only the Splunk-built app and its documentation, so confirm the app ID and publisher on Splunkbase before approval and check that any other server your teams find is not being used in its place. Because the listing is marked Beta, ask Splunk which parts of the app are production-supported in your version.
Does the Splunk MCP server work with Splunk Cloud Platform?
Yes, according to the Splunkbase listing as mirrored on Cisco Code Exchange, which says the app supports Splunk Enterprise and Splunk Cloud Platform. The server runs inside your Splunk instance and is exposed over HTTP. Splunk's setup documentation for MCP Server 2.1 describes installing the app on a search head or search head cluster from Splunkbase. Splunk's 2.0 announcement says version 2.0 comes preinstalled with Splunk Cloud 10.6. Confirm your Splunk Cloud version and the app version you will run, because the included app version and the available tools and controls can differ between releases.
Do the MCP access controls require a paid Splunk edition or license?
The sources supplied for this page do not state licensing, so confirm this with Splunk before budgeting. Ask Splunk whether the MCP Server app and its role, tool, SPL allowlist and rate limit settings are included with your current Splunk Enterprise or Splunk Cloud Platform entitlement, and whether any add-on or additional entitlement applies to your deployment. Ask for the answer in writing and tie it to the exact product and version in your environment.
What drives the cost and effort of locking down Splunk MCP access?
Your internal costs come from the people who design roles, approve tools, set rate limits, test them and keep them current after upgrades. The main cost drivers are how many roles and users need MCP access, how many tools you need to restrict, how many custom tools you plan to register, and how much SPL logging and testing you do before enabling access. Those effort drivers are internal, so estimate them from your own environment. If you hire outside help, the cost depends on a written scope that lists the environments, roles, tools and retest steps covered, so ask for a quote built from that scope. DeployOpen does not publish a price list.
Can our own Splunk admins configure the MCP controls without outside help?
Yes, the controls are documented as settings that Splunk admins manage. Splunk's 2.1 setup documentation says admins can map Splunk roles to individual MCP tools, and users need an allowed role to view or run a restricted tool, except admins with mcp_tool_admin. The app adds mcp_tool_execute, which must be added to every role that needs MCP tool access, and mcp_tool_admin, which covers tool management and token creation. Admins can enable or disable tools server wide, adjust the safe SPL command list locally, and set global and per-tool rate limits with mcp_tool_admin in version 1.2.1 or higher. Test each change in a non-production instance first, and note that saving a tool with no roles selected clears its policy, which opens it to every user with mcp_tool_execute.
What should we confirm in our Splunk environment before approving access?
Confirm the following items before you approve access:
- The app ID, publisher and version installed on each search head, and whether your Splunk Cloud version includes it.
- Which roles hold mcp_tool_execute and mcp_tool_admin, and who can create tokens.
- A role-to-tool map for every tool, with no tool left without a policy that you intend.
- The safe SPL command list and any local changes to it.
- Global and per-tool rate limits, since none are set by default.
- Whether any custom tools exist and whether each one is explicitly enabled.
- Where your Splunk audit and internal logs for MCP activity are retained.
- The licensing terms for your edition, as confirmed by Splunk in writing.
If you want an independent check of these settings, DeployOpen can test them as part of a fixed-scope AI agent rollout security review.
How DeployOpen reviews Splunk MCP access before rollout
DeployOpen plans, implements, tests and documents self-hosted platforms inside the client's own infrastructure, and runs AI agent rollout security reviews. For Splunk MCP security, we start from the roles, tool policies and SPL controls your Splunk instance actually enforces, then test them against the access your reviewers need to approve.
How we scope
- Written scope fixes which Splunk Enterprise or Splunk Cloud Platform instances, search heads and MCP Server versions are in review
- We map which roles hold mcp_tool_execute and which hold mcp_tool_admin, and who can register custom tools
- Scope also records which tools carry role mappings, SPL allowlist changes and rate limit settings to be checked
How we build
- We configure a test search head with the official app and document each tool's role policy and enablement state
- Testing covers whether a user without an allowed role can view or run a restricted tool, and whether an empty role list exposes it
- We check SPL allowlist behavior and rate limits, including the default state where no limits are set
How we hand over
- A findings report lists each control tested, the observed result and the fix recommended for your Splunk environment
- Runbook-style documentation describes the approved tool list, role mappings, allowlist and rate limit values to keep
- Retest confirms fixes are in place before the report is closed out with your security team
How we support
- Fixed-scope engagements are agreed in writing before work starts, with deliverables and timelines set in that scope
- Ongoing support is available as a retainer for upgrades, re-review after MCP Server version changes and continuous testing
- Quotes follow from the written scope, so the reviewer can match effort to the tools and roles in use

