CuratedMCP
OpenAI Agents SDK
Free

How to Install Splunk MCP in OpenAI Agents SDK

Official Splunk integration — query observability data, alerts, and incident context through AI

What Splunk MCP does

The official Splunk MCP server gives AI agents access to observability and security data stored in Splunk. It can search logs, inspect alerts, and correlate incidents with operational data. Features: - Run Splunk queries and retrieve event results - Inspect logs, metrics, and traces across services - Access alert and incident timelines - Search dashboards and saved searches - Manage Splunk apps and data inputs - Correlate security and operational events Splunk MCP is ideal for SRE and SecOps teams that need AI to triage incidents and surface root causes from large datasets.

splunk
observability
logs
security
alerts

Installation steps

  1. 1Install: pip install openai-agents
  2. 2Copy the snippet below into your agent code
  3. 3Replace placeholder env values with your real keys
  4. 4Pass mcp_servers=[mcp_server] to your Agent()

Python snippet

Python snippetpython
from agents import Agent
from agents.mcp import MCPServerStdio

mcp_server = MCPServerStdio(
    command="npx",
    args=["-y", "@splunk/mcp"],
    env={
        "SPLUNK_HEC_URL": "https://instance.splunkcloud.com",
        "SPLUNK_TOKEN": "...",
    },
)

agent = Agent(
    name="My Agent",
    model="gpt-4o",
    mcp_servers=[mcp_server],
)
Full server details Open Config Editor

Install in other clients

For maintainers

If you maintain Splunk MCP, add this badge to your README to show it's verified on CuratedMCP:

CuratedMCP Verified
[![CuratedMCP Verified](https://curatedmcp.com/api/badge/splunk-mcp)](https://curatedmcp.com/marketplace/splunk-mcp)

Related servers