@@ -144,18 +144,16 @@ The server will start on `http://0.0.0.0:8080` by default (configurable via `ser
144144Add the MCP server to Claude Code using HTTP transport:
145145
146146``` bash
147- claude mcp add stackrox \
148- --name " StackRox MCP Server" \
149- --transport http \
150- --url http://localhost:8080
147+ claude mcp add --transport http stackrox-mcp http://localhost:8080/mcp \
148+ --header " Authorization: Bearer <YOUR_STACKROX_API_TOKEN>"
151149```
152150
153151#### Stdio Transport
154152
155153Add the MCP server to Claude Code using stdio transport with static authentication:
156154
157155``` bash
158- claude mcp add --transport stdio stackrox \
156+ claude mcp add --transport stdio stackrox-mcp \
159157 --env STACKROX_MCP__SERVER__TYPE=stdio \
160158 --env STACKROX_MCP__CENTRAL__AUTH_TYPE=static \
161159 --env STACKROX_MCP__CENTRAL__API_TOKEN=" ${ROX_TOKEN} " \
@@ -177,7 +175,7 @@ claude mcp list
177175Get details for a specific server:
178176
179177``` bash
180- claude mcp get stackrox
178+ claude mcp get stackrox-mcp
181179```
182180
183181Within a Claude Code session, use the ` /mcp ` command to view available tools from connected servers.
@@ -186,10 +184,24 @@ Within a Claude Code session, use the `/mcp` command to view available tools fro
186184
187185Once connected, interact with the tools using natural language:
188186
189- ** List all clusters: **
187+ #### List all clusters
190188```
191- You: "Can you list all the clusters from StackRox?"
192- Claude: [Uses list_clusters tool to retrieve cluster information]
189+ Can you list all the clusters secured by StackRox?
190+ ```
191+
192+ #### Check for a specific CVE
193+ ```
194+ Is CVE-2021-44228 detected in any of my clusters?
195+ ```
196+
197+ #### CVE analysis in specific namespace
198+ ```
199+ Check if CVE-2021-44228 is present in deployments in namespace "backend"
200+ ```
201+
202+ #### Filter by cluster
203+ ```
204+ Show me all deployments affected by CVE-2021-44228 in the dev-cluster
193205```
194206
195207## Container Images
0 commit comments