Splunk MCP 服务器

通过 Docker 部署的本地 Splunk Enterprise MCP 服务,将 Splunk 数据查询与管理工作开放给 Cursor、Claude Desktop 和 Claude Code 等 AI 客户端,支持可选示例数据与工作坊工具,用于本地环境下的 Splunk 管理与数据探索。

  • by dd-Splunk
  • HTML
  • 本地部署
  • 3 星标
  • 更新于
在 GitHub 查看 dd-Splunk/splunk-mcp

使用说明

splunk-mcp

Local proof-of-concept: Splunk Enterprise in Docker, Splunk MCP Server, and optional Splunk4Rookies sample data (SA-S4R). Clients (Cursor, Claude Desktop, Claude Code) connect via npx mcp-remote to https://localhost:8089/services/mcp.

Scope: on-prem local Enterprise only. Splunk Cloud MCP (OAuth, *.splunkcloud.com, staging stacks) is out of scope — not tested or supported in this repo. See docs/poc/README.md.

cp .env.example .env          # fill values; never commit .env
make up
make verify-mcp-remote

make up registers workshop tools SA-S4R_* on the MCP endpoint (prefer those over ad-hoc SPL). In Cursor: /usage (tool routing) · /demo-prep (go/no-go: Splunkbase pins, S4R smoke) · /splunk-enterprise-administration-advisor (read-only Enterprise admin guidance). Details: AGENTS.md · docs/s4r/MCP-TOOLS.md.

URL Use
https://localhost:8000 Splunk Web
https://localhost:8089/services/mcp MCP (bearer token in a mode-600 header file outside the repo)

Documentation: docs/README.md · PoC stack: docs/poc/README.md · Workshop: docs/s4r/README.md · Contributors / AI: AGENTS.md

Community PoC—not an official Splunk product. MIT LICENSE.