SS

splunk/splunk-mcp-server2

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

39 stars 14 forks 品質 46 トレンド 0

splunk/splunk-mcp-server2 は [https://github.com/splunk/splunk-mcp-server2.] からインポートされた MCP サーバーの候補です

概要

splunk/splunk-mcp-server2 は [https://github.com/splunk/splunk-mcp-server2.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

AIアシスタントが安全に検索、分析、検証できるモデルコンテキストプロトコル(MCP)サーバーです。

概要

Splunk MCP Server は、Splunk Enterprise や Splunk Cloud とやり取りするために、AI アシスタント (Claude、GitHub Copilot など) の標準化インターフェイスを提供します。 モデルコンテキストプロトコルを実装し、AI ツールと Splunk データのシームレスな統合を実現します。

主な特長

-スマート検索統合: 複数の出力フォーマット(JSON、Markdown、CSV、サマリー)でSPLクエリを実行

  • ビルトインの安全ガードレール: 破壊的またはリソース集中的なクエリを防ぐ自動検証 -データ保護:機密データの自動サニタイズ化(クレジットカード、SSN) -Dual Transport Support:SSE(Server-Sent Events)とstdioトランスポートの両方
  • リッチスプランク機能: インデックスにアクセスし、検索を保存し、複雑なクエリを実行
  • Docker Ready: 両方の実装のためのコンテナ化されたデプロイオプション

MCPとは?

モデルコンテキストプロトコル(MCP)は、AIアシスタントと外部データソース間のシームレスな統合を可能にするオープンスタンダードです。 それは提供します:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Splunk MCP Server

A Model Context Protocol (MCP) server that enables AI assistants to securely search, analyze, and validate Splunk queries with built-in safety guardrails.

Overview

The Splunk MCP Server provides a standardized interface for AI assistants (like Claude, GitHub Copilot, etc.) to interact with Splunk Enterprise or Splunk Cloud. It implements the Model Context Protocol, allowing seamless integration between AI tools and your Splunk data.

Key Features

  • Smart Search Integration: Execute SPL queries with multiple output formats (JSON, Markdown, CSV, Summary)
  • Built-in Safety Guardrails: Automatic validation to prevent destructive or resource-intensive queries
  • Data Protection: Automatic sanitization of sensitive data (credit cards, SSNs)
  • Dual Transport Support: Both SSE (Server-Sent Events) and stdio transports
  • Rich Splunk Features: Access indexes, saved searches, and execute complex queries
  • Docker Ready: Containerized deployment options for both implementations

What is MCP?

The Model Context Protocol (MCP) is an open standard that enables seamless integration between AI assistants and external data sources. It provides:

  • Standardized Communication: A common protocol for AI assistants to interact with external tools
  • Security: Built-in authentication and authorization mechanisms
  • Flexibility: Support for various transport mechanisms (stdio, SSE, WebSocket)
  • Tool Discovery: Assistants can discover available tools and their capabilities

Available Implementations

This project provides two feature-complete implementations:

Python Implementation

  • Built with FastMCP framework for simplified development
  • Async/await architecture for efficient performance
  • Includes comprehensive test suite and interactive tools
  • Docker support with management scripts

View Python Documentation

TypeScript Implementation

  • Full type safety with TypeScript
  • Built on the official MCP SDK
  • Compatible with Node.js 18+
  • Production-ready with compiled JavaScript output

View TypeScript Documentation

Quick Start

Choose your preferred implementation:

Python Quick Start

cd python
cp .env.example .env
# Edit .env with your Splunk credentials
pip install -e .
python server.py

TypeScript Quick Start

cd typescript
cp .env.example .env
# Edit .env with your Splunk credentials
npm install
npm start

Core Capabilities

Available Tools

  1. validate_spl - Validate SPL queries for risks before execution
  2. search_oneshot - Execute blocking searches with immediate results
  3. search_export - Stream large result sets efficiently
  4. get_indexes - List available Splunk indexes with metadata
  5. get_saved_searches - Access saved search configurations
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →