@@ -34,14 +34,6 @@ Supports STDIO and SSE (Server-Sent Events HTTP API). Uses github.com/mark3labs/
34
34
- ` cmd/mcp/server/main.go ` implements MCP Resource in the form of local CSV file with Splunk related content, providing further context to the chat.
35
35
36
36
## Usage
37
- ### Installing via Smithery
38
-
39
- To install mcp-server-splunk for Claude Desktop automatically via [ Smithery] ( https://smithery.ai/server/@jkosik/mcp-server-splunk ) :
40
-
41
- ``` bash
42
- npx -y @smithery/cli install @jkosik/mcp-server-splunk --client claude
43
- ```
44
-
45
37
### STDIO mode (default)
46
38
``` bash
47
39
export SPLUNK_URL=https://your-splunk-instance
@@ -71,6 +63,26 @@ curl -X POST "http://localhost:3001/message?sessionId=YOUR_SESSION_ID" \
71
63
-d ' {"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | jq
72
64
```
73
65
66
+ ### Installing via Smithery
67
+ ` Dockerfile ` and ` smithery.yaml ` are used to host this MCP implementation at https://smithery.ai
68
+
69
+ To install mcp-server-splunk for Claude Desktop automatically via [ Smithery] ( https://smithery.ai/server/@jkosik/mcp-server-splunk ) :
70
+
71
+ ``` bash
72
+ npx -y @smithery/cli install @jkosik/mcp-server-splunk --client claude
73
+ ```
74
+
75
+ ### Local Docker build and run
76
+ ```
77
+ docker build -t mcp-server-splunk .
78
+
79
+ echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | \
80
+ docker run --rm -i \
81
+ -e SPLUNK_URL=https://your-splunk-instance \
82
+ -e SPLUNK_TOKEN=your-splunk-token \
83
+ mcp-server-splunk | jq
84
+ ```
85
+
74
86
## Cursor integration
75
87
By configuring MCP Settings in Cursor, you can include remote data directly into the LLM context.
76
88
@@ -133,16 +145,3 @@ Update `~/.cursor/mcp.json`
133
145
}
134
146
```
135
147
136
- ## Smithery
137
- ` Dockerfile ` and ` smithery.yaml ` are used to host this MCP implementation at https://smithery.ai
138
-
139
- ### Local build and run
140
- ```
141
- docker build -t mcp-server-splunk .
142
-
143
- echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | \
144
- docker run --rm -i \
145
- -e SPLUNK_URL=https://your-splunk-instance \
146
- -e SPLUNK_TOKEN=your-splunk-token \
147
- mcp-server-splunk | jq
148
- ```
0 commit comments