@@ -60,9 +60,17 @@ task start-mcp-bg # Start MCP Server
6060task start-inspector-bg # Start MCP Inspector
6161
6262# Opens http://localhost:6274 for interactive testing
63- # When done: task stop-all
63+ # When done, run ` task stop-all`
6464```
6565
66+ ### 📊 Sample Data
67+ The repository includes real Spark event logs for testing:
68+ - ` spark-bcec39f6201b42b9925124595baad260 ` - ✅ Successful ETL job
69+ - ` spark-110be3a8424d4a2789cb88134418217b ` - 🔄 Data processing job
70+ - ` spark-cc4d115f011443d787f03a71a476a745 ` - 📈 Multi-stage analytics job
71+
72+ See ** [ TESTING.md] ( TESTING.md ) ** for using them.
73+
6674### ⚙️ Configuration
6775Edit ` config.yaml ` for your Spark History Server:
6876``` yaml
@@ -73,6 +81,11 @@ servers:
7381 auth : # optional
7482 username : " user"
7583 password : " pass"
84+ mcp :
85+ transports :
86+ - streamable-http # streamable-http or stdio.
87+ port : " 18888"
88+ debug : true
7689` ` `
7790
7891## 📸 Screenshots
@@ -131,14 +144,6 @@ helm install spark-history-mcp ./deploy/kubernetes/helm/spark-history-mcp/ \
131144
132145📚 See [`deploy/kubernetes/helm/`](deploy/kubernetes/helm/) for complete deployment manifests and configuration options.
133146
134- # # 📊 Sample Data
135- The repository includes real Spark event logs for testing :
136- - ` spark-bcec39f6201b42b9925124595baad260` - ✅ Successful ETL job
137- - ` spark-110be3a8424d4a2789cb88134418217b` - 🔄 Data processing job
138- - ` spark-cc4d115f011443d787f03a71a476a745` - 📈 Multi-stage analytics job
139-
140- 📖 **Advanced testing** : **[TESTING.md](TESTING.md)**
141-
142147# # ⚙️ Configuration
143148
144149# ## 🌐 Multi-server Setup
@@ -156,26 +161,24 @@ servers:
156161
157162# ## 🔐 Environment Variables
158163` ` ` bash
159- SPARK_USERNAME =your_username
160- SPARK_PASSWORD =your_password
161- SPARK_TOKEN =your_jwt_token
162- MCP_PORT =18888
163- MCP_DEBUG =false
164+ SHS_SPARK_USERNAME =your_username
165+ SHS_SPARK_PASSWORD =your_password
166+ SHS_SPARK_TOKEN =your_jwt_token
167+ SHS_MCP_PORT =18888
168+ SHS_MCP_DEBUG =false
164169` ` `
165170
166171# # 🤖 AI Agent Integration
167172
168173# ## Quick Start Options
169174
170- | Integration | Transport | Entry Point | Best For |
171- |-------------|-----------|-------------|----------|
172- | **[Local Testing](TESTING.md)** | HTTP | `main.py` | Development, testing tools |
173- | **[Claude Desktop](examples/integrations/claude-desktop/)** | STDIO | `main_stdio.py` | Interactive analysis |
174- | **[Amazon Q CLI](examples/integrations/amazon-q-cli/)** | STDIO | `main_stdio.py` | Command-line automation |
175- | **[LlamaIndex](examples/integrations/llamaindex.md)** | HTTP | `main.py` | Knowledge systems, RAG |
176- | **[LangGraph](examples/integrations/langgraph.md)** | HTTP | `main.py` | Multi-agent workflows |
177-
178- **Note**: Claude Desktop and Amazon Q CLI use STDIO transport with 6 core tools. LlamaIndex/LangGraph use HTTP transport with 18 comprehensive tools.
175+ | Integration | Transport | Best For |
176+ |-------------|-----------|----------|
177+ | **[Local Testing](TESTING.md)** | HTTP | Development, testing tools |
178+ | **[Claude Desktop](examples/integrations/claude-desktop/)** | STDIO | Interactive analysis |
179+ | **[Amazon Q CLI](examples/integrations/amazon-q-cli/)** | STDIO | Command-line automation |
180+ | **[LlamaIndex](examples/integrations/llamaindex.md)** | HTTP | Knowledge systems, RAG |
181+ | **[LangGraph](examples/integrations/langgraph.md)** | HTTP | Multi-agent workflows |
179182
180183# # 🎯 Example Use Cases
181184
0 commit comments