MCP Splunk
Provides capabilities to integrate with Elastic log providers for fetching security event data and performing automated threat detection and log analysis.
Enables AI agents to fetch and analyze enterprise security logs from Splunk to identify threats like SSH brute force attempts and perform runbook-based security reasoning.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP SplunkAnalyze the last hour of logs for any SSH brute force attempts."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Splunk — Full Setup & Architecture Guide
This guide explains:
• utilities & frameworks used
• how each component fits in the architecture
• step‑by‑step Windows local setup
• how MCP, RAG, LangGraph, Guardrails & LLM integrate
• basic → advanced usage flow
🧩 Architecture & Technology Flow
User → Streamlit UI → LangGraph Agent
│
▼
┌────────────────────────────┐
│ AGENT ORCHESTRATION │
│ LangGraph │
└────────────┬───────────────┘
│
┌────────────┼─────────────┐
▼ ▼ ▼
Log Fetch Runbook RAG Detection Engine
(MCP API) (Vector DB) (Pattern Logic)
│ │ │
└────────────┴─────────────┘
▼
LLM Reasoning Layer
(OpenRouter / Llama3)
▼
Guardrails Validation
(Pydantic)
▼
Structured Response🧰 Utilities & Frameworks Used
Core Runtime
Python 3.10+
Primary runtime for orchestration and services.
Related MCP server: Cyberbro MCP Server
LLM Layer
OpenRouter + Llama‑3
Used for reasoning over logs and generating security findings.
LangChain Ecosystem
LangChain
Provides embedding and vector search integration.
LangGraph
Used for deterministic agent orchestration.
✔ stateful workflows
✔ branching logic
✔ production reliability
LangSmith (Optional)
Observability & debugging for agent flows.
RAG Stack
SentenceTransformers
Creates semantic embeddings.
Model:
all-MiniLM-L6-v2ChromaDB
Local vector database storing runbook embeddings.
MCP Service Layer
FastAPI
Provides log access endpoints.
Simulates enterprise log providers like Splunk or Elastic.
Guardrails
Pydantic
Validates LLM output structure.
Prevents malformed responses.
Detection Engine
Custom Python detection for:
✔ SSH brute force attempts
✔ suspicious IP activity
🖥️ Windows Local Setup
1️⃣ Install Python
Verify:
python --version2️⃣ Clone Repo
git clone https://github.com/vforvishal12/mcp-splunk.git
cd mcp-splunk3️⃣ Virtual Environment
python -m venv venv
venv\Scripts\activate4️⃣ Install Dependencies
pip install -r requirements.txtIf needed:
pip install streamlit fastapi uvicorn requests python-dotenv
pip install langchain langgraph chromadb sentence-transformers
pip install openai pydantic5️⃣ Environment Variables
Create .env
OPENAI_API_KEY=your_key6️⃣ Build Vector DB
Run once:
pythonfrom agent.rag import build_vector_db
build_vector_db()
exit()7️⃣ Start MCP Server
uvicorn mcp_server:app --port 9000Verify:
http://localhost:9000/service_health
8️⃣ Launch App
streamlit run app.pyOpen:
🔄 Execution Flow
User submits query
Agent fetches logs via MCP
Logs parsed & categorized
Threat detection executed
Runbook context retrieved (RAG)
LLM generates security analysis
Guardrails validate output
Structured results displayed
🧠 Basic vs Advanced Usage
Basic
✔ run locally
✔ detect suspicious activity
Advanced
✔ integrate Splunk/Elastic
✔ stream logs via Kafka
✔ enable LangSmith tracing
✔ deploy via Docker & Kubernetes
🚀 Production Upgrade Path
Replace file logs → streaming ingestion
deploy vector DB remotely
enable SIEM alerting
multi-host correlation
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that connects AI agents to the CrowdStrike Falcon platform for intelligent security analysis and automation across various security modules. It provides programmatic access to detections, incidents, host management, and threat intelligence to enhance security operations within agentic workflows.Last updatedMIT
- AlicenseAqualityBmaintenanceAn MCP server that extracts Indicators of Compromise (IoCs) from unstructured text and checks their reputation across multiple threat intelligence services. It enables real-time analysis of IPs, domains, hashes, and URLs, providing enriched context for security workflows within LLMs.Last updated519MIT
- AlicenseAqualityAmaintenanceAn MCP server for the Cortex observable analysis and active response engine. It enables LLMs to automate security investigations by running analyzers on observables like IPs and URLs and executing automated response actions.Last updated311681MIT
- Flicense-qualityDmaintenanceAn automated security operations center MCP server that uses LLMs and network analysis tools like Tshark to detect threats in traffic data. It enables users to automatically ingest PCAP files, query specific packets, and generate intelligent security analysis reports.Last updated
Related MCP Connectors
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server teaching AI agents to implement TideCloak: auth, E2EE, IGA, security analysis
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vforvishal12/mcp-splunk'
If you have feedback or need assistance with the MCP directory API, please join our Discord server