
splunk/splunk-mcp-server2
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
splunk/splunk-mcp-server2 - кандидат на сервер MCP, импортированный из https://github.com/splunk/splunk-mcp-server2.
Обзор
splunk/splunk-mcp-server2 - кандидат на сервер MCP, импортированный из https://github.com/splunk/splunk-mcp-server2.
Обзор (машинный перевод)
Сервер Model Context Protocol (MCP), который позволяет помощникам ИИ безопасно искать, анализировать и проверять запросы Splunk со встроенными защитными ограждениями.
Обзор
Splunk MCP Server предоставляет стандартизированный интерфейс для ИИ-ассистентов (таких как Claude, GitHub Copilot и др.) для взаимодействия с Splunk Enterprise или Splunk Cloud. В нем реализован протокол Model Context Protocol, позволяющий беспрепятственно интегрировать инструменты ИИ и данные Splunk.
Ключевые особенности
Умная интеграция поиска: Выполнять запросы SPL с несколькими выходными форматами (JSON, Markdown, CSV, Summary)
- Встроенные в предохранители: Автоматическая проверка для предотвращения деструктивных или ресурсоемких запросов Защита данных: Автоматическая санация конфиденциальных данных (кредитные карты, SSN) Двойная транспортная поддержка: как SSE (Server-Sent Events), так и стио-транспорт ** Богатые спланк-функции**: Индексы доступа, сохраненные поиски и выполнение сложных запросов Docker Ready: Контейнеризованные варианты развертывания для обеих реализаций
Что такое MCP?
Model Context Protocol (MCP) - это открытый стандарт, который обеспечивает бесшовную интеграцию между помощниками ИИ и внешними источниками данных. Он предусматривает:
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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
TypeScript Implementation
- Full type safety with TypeScript
- Built on the official MCP SDK
- Compatible with Node.js 18+
- Production-ready with compiled JavaScript output
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
validate_spl- Validate SPL queries for risks before executionsearch_oneshot- Execute blocking searches with immediate resultssearch_export- Stream large result sets efficientlyget_indexes- List available Splunk indexes with metadataget_saved_searches- Access saved search configurations
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →