Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,19 @@ When the server is running, MCP-compatible clients can connect to it to:
- Execute resource commands (start, stop, restart)
- Query integration information

You can also run the MCP server in dashboard-only mode by providing `--dashboard-url`. In this mode, only telemetry tools (structured logs, traces) are available — resource management tools that require an AppHost are not registered.
You can also connect directly to a standalone Aspire Dashboard (one not managed by an AppHost) by providing `--dashboard-url`. In this dashboard-only mode, only the three telemetry tools (`list_structured_logs`, `list_traces`, `list_trace_structured_logs`) are exposed; AppHost-specific tools are not available.

## Options

The following options are available:

- **`--apphost <apphost>`**

The path to the Aspire AppHost project file. Mutually exclusive with `--dashboard-url`.

- **`--dashboard-url <url>`**

The URL of a standalone Aspire Dashboard to connect to instead of discovering one from an AppHost. Accepts a base URL (for example, `http://localhost:18888`) or a full login URL including a browser token (for example, `http://localhost:18888/login?t=<token>`). When a login URL is provided, the token is automatically exchanged for an API key. When this option is specified, the server runs in dashboard-only mode with only telemetry tools available.
The URL of a standalone Aspire Dashboard to connect to instead of discovering one from an AppHost. Accepts a base URL (for example, `http://localhost:18888`) or a full login URL including a browser token (for example, `http://localhost:18888/login?t=<token>`). When a login URL is provided, the token is automatically exchanged for an API key. Mutually exclusive with `--apphost`.

- **`--api-key <key>`**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ The following options are available:

- **`--apphost <apphost>`**

The path to the Aspire AppHost project file.
The path to the Aspire AppHost project file. Mutually exclusive with `--dashboard-url`.

- **`--dashboard-url <url>`**

The URL of a standalone Aspire Dashboard to query instead of discovering one from an AppHost. Accepts a base URL (for example, `http://localhost:18888`) or a full login URL including a browser token (for example, `http://localhost:18888/login?t=<token>`). When a login URL is provided, the token is automatically exchanged for an API key.
The URL of a standalone Aspire Dashboard to query instead of discovering one from an AppHost. Accepts a base URL (for example, `http://localhost:18888`) or a full login URL including a browser token (for example, `http://localhost:18888/login?t=<token>`). When a login URL is provided, the token is automatically exchanged for an API key. Mutually exclusive with `--apphost`.

- **`--api-key <key>`**

Expand Down Expand Up @@ -123,6 +123,12 @@ The following options are available:
aspire otel logs --dashboard-url "http://localhost:18888/login?t=<token>"
```

- View logs from a secured standalone Aspire Dashboard:

```bash title="Aspire CLI"
aspire otel logs --dashboard-url "http://localhost:18888" --api-key "<your-api-key>"
```

## See also

- [aspire otel command](../aspire-otel/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ The following options are available:

- **`--apphost <apphost>`**

The path to the Aspire AppHost project file.
The path to the Aspire AppHost project file. Mutually exclusive with `--dashboard-url`.

- **`--dashboard-url <url>`**

The URL of a standalone Aspire Dashboard to query instead of discovering one from an AppHost. Accepts a base URL (for example, `http://localhost:18888`) or a full login URL including a browser token (for example, `http://localhost:18888/login?t=<token>`). When a login URL is provided, the token is automatically exchanged for an API key.
The URL of a standalone Aspire Dashboard to query instead of discovering one from an AppHost. Accepts a base URL (for example, `http://localhost:18888`) or a full login URL including a browser token (for example, `http://localhost:18888/login?t=<token>`). When a login URL is provided, the token is automatically exchanged for an API key. Mutually exclusive with `--apphost`.

- **`--api-key <key>`**

Expand Down Expand Up @@ -123,6 +123,12 @@ The following options are available:
aspire otel spans --dashboard-url "http://localhost:18888/login?t=<token>"
```

- View spans from a secured standalone Aspire Dashboard:

```bash title="Aspire CLI"
aspire otel spans --dashboard-url "http://localhost:18888" --api-key "<your-api-key>"
```

## See also

- [aspire otel command](../aspire-otel/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ The following options are available:

- **`--apphost <apphost>`**

The path to the Aspire AppHost project file.
The path to the Aspire AppHost project file. Mutually exclusive with `--dashboard-url`.

- **`--dashboard-url <url>`**

The URL of a standalone Aspire Dashboard to query instead of discovering one from an AppHost. Accepts a base URL (for example, `http://localhost:18888`) or a full login URL including a browser token (for example, `http://localhost:18888/login?t=<token>`). When a login URL is provided, the token is automatically exchanged for an API key.
The URL of a standalone Aspire Dashboard to query instead of discovering one from an AppHost. Accepts a base URL (for example, `http://localhost:18888`) or a full login URL including a browser token (for example, `http://localhost:18888/login?t=<token>`). When a login URL is provided, the token is automatically exchanged for an API key. Mutually exclusive with `--apphost`.

- **`--api-key <key>`**

Expand Down Expand Up @@ -121,6 +121,12 @@ The following options are available:
aspire otel traces --dashboard-url "http://localhost:18888/login?t=<token>"
```

- View traces from a secured standalone Aspire Dashboard:

```bash title="Aspire CLI"
aspire otel traces --dashboard-url "http://localhost:18888" --api-key "<your-api-key>"
```

## See also

- [aspire otel command](../aspire-otel/)
Expand Down
Loading