Skip to content

Commit be6598b

Browse files
author
jkosik
committed
readme
1 parent cd4142b commit be6598b

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed

README.md

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,6 @@ Supports STDIO and SSE (Server-Sent Events HTTP API). Uses github.com/mark3labs/
3434
- `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.
3535

3636
## 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-
4537
### STDIO mode (default)
4638
```bash
4739
export SPLUNK_URL=https://your-splunk-instance
@@ -71,6 +63,26 @@ curl -X POST "http://localhost:3001/message?sessionId=YOUR_SESSION_ID" \
7163
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | jq
7264
```
7365

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+
7486
## Cursor integration
7587
By configuring MCP Settings in Cursor, you can include remote data directly into the LLM context.
7688

@@ -133,16 +145,3 @@ Update `~/.cursor/mcp.json`
133145
}
134146
```
135147

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

Comments
 (0)