You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -167,14 +167,14 @@ This will create a virtual environment using `uv` and install the required depen
167
167
168
168
The following environment variables are **required** for configuring the Sysdig SDK:
169
169
170
-
- `SYSDIG_HOST`: The URL of your Sysdig Secure instance (e.g., `https://us2.app.sysdig.com`).
171
-
- `SYSDIG_SECURE_TOKEN`: Your Sysdig Secure API token.
170
+
- `SYSDIG_MCP_API_HOST`: The URL of your Sysdig Secure instance (e.g., `https://us2.app.sysdig.com`).
171
+
- `SYSDIG_MCP_API_SECURE_TOKEN`: Your Sysdig Secure API token.
172
172
173
173
You can also set the following variables to override the default configuration:
174
174
175
-
- `MCP_TRANSPORT`: The transport protocol for the MCP Server (`stdio`, `streamable-http`, `sse`). Defaults to: `stdio`.
176
-
- `MCP_MOUNT_PATH`: The URL prefix for the Streamable-http/sse deployment. Defaults to: `/sysdig-mcp-server`
177
-
- `LOGLEVEL`: Log Level of the application (`DEBUG`, `INFO`, `WARNING`, `ERROR`). Defaults to: `INFO`
175
+
- `SYSDIG_MCP_TRANSPORT`: The transport protocol for the MCP Server (`stdio`, `streamable-http`, `sse`). Defaults to: `stdio`.
176
+
- `SYSDIG_MCP_MOUNT_PATH`: The URL prefix for the Streamable-http/sse deployment. Defaults to: `/sysdig-mcp-server`
177
+
- `SYSDIG_MCP_LOGLEVEL`: Log Level of the application (`DEBUG`, `INFO`, `WARNING`, `ERROR`). Defaults to: `INFO`
178
178
- `SYSDIG_MCP_LISTENING_PORT`: The port for the server when it is deployed using remote protocols (`steamable-http`, `sse`). Defaults to: `8080`
179
179
- `SYSDIG_MCP_LISTENING_HOST`: The host for the server when it is deployed using remote protocols (`steamable-http`, `sse`). Defaults to: `localhost`
180
180
@@ -203,7 +203,7 @@ Then, you can run the container, making sure to pass the required environment va
203
203
docker run -e SYSDIG_HOST=<your_sysdig_host> -e SYSDIG_SECURE_TOKEN=<your_sysdig_secure_api_token> -p 8080:8080 sysdig-mcp-server
204
204
```
205
205
206
-
By default, the server will run using the `stdio` transport. To use the `streamable-http` or `sse` transports, set the `MCP_TRANSPORT` environment variable to `streamable-http` or `sse`:
206
+
By default, the server will run using the `stdio` transport. To use the `streamable-http` or `sse` transports, set the `SYSDIG_MCP_TRANSPORT` environment variable to `streamable-http` or `sse`:
@@ -267,7 +267,7 @@ To run the server using `uv`, first set up the environment as described in the [
267
267
uv run main.py
268
268
```
269
269
270
-
By default, the server will run using the `stdio` transport. To use the `streamable-http` or `sse` transports, set the `MCP_TRANSPORT` environment variable to `streamable-http` or `sse`:
270
+
By default, the server will run using the `stdio` transport. To use the `streamable-http` or `sse` transports, set the `SYSDIG_MCP_TRANSPORT` environment variable to `streamable-http` or `sse`:
271
271
272
272
```bash
273
273
MCP_TRANSPORT=streamable-http uv run main.py
@@ -279,9 +279,9 @@ To use the MCP server with a client like Claude or Cursor, you need to provide t
279
279
280
280
### Authentication
281
281
282
-
When using the `sse` or `streamable-http` transport, the server requires a Bearer token forauthentication. The token is passedin the `Authorization` header of the HTTP request.
282
+
When using the `sse` or `streamable-http` transport, the server requires a Bearer token forauthentication. The token is passedin the `X-Sysdig-Token` or default to `Authorization` header of the HTTP request (i.e `Bearer SYSDIG_SECURE_API_TOKEN`).
283
283
284
-
Additionally, you can specify the Sysdig Secure host by providing the `X-Sysdig-Host` header. If this header is not present, the server will use the value from the env variable.
284
+
Additionally, you can specify the Sysdig Secure host by providing the `X-Sysdig-Host` header. If this header is not present, the server will use the value from the env variable`SYSDIG_MCP_API_HOST`.
285
285
286
286
Example headers:
287
287
@@ -319,9 +319,9 @@ For the Claude Desktop app, you can manually configure the MCP server by editing
@@ -371,3 +371,32 @@ For the Claude Desktop app, you can manually configure the MCP server by editing
371
371
3. Pass the Authorization header if using "streamable-http" or the SYSDIG_SECURE_API_TOKEN env var if using "stdio"
372
372
373
373

374
+
375
+
376
+
### Goose Agent
377
+
378
+
1. In your terminal run `goose configure` and follow the steps to add the extension (more info on the [goose docs](https://block.github.io/goose/docs/getting-started/using-extensions/)), again could be using docker or uv as shown in the above examples.
379
+
2. Your `~/.config/goose/config.yaml` config file should have one config like this one, check out the env vars
0 commit comments