feat(dashboard): MCP-Tokens in the sidebar, also in source-only deployments (#969)
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Dashboard (push) Successful in 7m0s
CI / Deploy Agent (push) Successful in 9m19s

The only link to the MCP tokens was the overview's MCP-Server card, which a
source-only deployment (prod) hides with the runtime sections. The MCP
endpoint serves such a deployment all the same, so there a token could only
be created by typing /mcp-tokens. The sidebar now has an MCP-Tokens entry
that source-only mode leaves enabled; the overview card is unchanged.

The docs name the entry instead of the bare URL.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit was merged in pull request #969.
This commit is contained in:
sharangandClaude Opus 5.5 committed 2026-11-10 14:10:25 +00:00
1 parent ef9c578948
commit 29e38c8b80
4 files changed
+24 -10

No files matched your search

@@ -102,6 +102,16 @@ pub fn Sidebar() -> Element {
runtime_only: true,
write_only: false,
},
// The MCP endpoint also serves a source-only deployment, where the
// overview's MCP-Server card (and with it the only other link to
// the tokens) is hidden.
NavItem {
label: nav::MCP_TOKENS,
route: Route::McpTokensPage {},
icon: rsx! { Icon { icon: BsKey, width: 18, height: 18 } },
runtime_only: false,
write_only: false,
},
];
// Both links are set per deployment (`DOCS_URL`, `PORTAL_URL`). The
+4
View File
@@ -145,6 +145,10 @@ pub mod nav {
de: "Pentest",
en: "Pentest",
};
pub const MCP_TOKENS: Text = Text {
de: "MCP-Tokens",
en: "MCP tokens",
};
pub const PORTAL: Text = Text {
de: "Zur Plattform",
en: "Back to the platform",
+9 -9
View File
@@ -19,16 +19,16 @@ Without MCP, getting security data into an LLM conversation requires manual effo
## Managing MCP Servers
There is no sidebar entry for MCP. The **Übersicht** (Overview) has an
**MCP-Server** card: **Verwalten** (Manage) opens the MCP server page, and
**MCP-Tokens** opens the bearer tokens an IDE or LLM client connects with.
**MCP-Tokens** in the sidebar opens the bearer tokens an IDE or LLM client
connects with. The **Übersicht** (Overview) also has an **MCP-Server** card:
**Verwalten** (Manage) opens the MCP server page, and **MCP-Tokens** the same
token page.
::: info Source-only deployments
In a deployment that scans source code only, such as the pilot, the MCP-Server
card is hidden. The token page still opens directly at `/mcp-tokens`
(for example `https://pruefwerk.breakpilot.com/mcp-tokens`), and the MCP
endpoint answers as usual. The evidence the MCP tools return is also in the
evidence pack on each target's page.
card is hidden; the sidebar's **MCP-Tokens** stays, and the MCP endpoint answers
as usual. The evidence the MCP tools return is also in the evidence pack on
each target's page.
:::
From the MCP server page you can:
@@ -110,8 +110,8 @@ endpoint URL and an MCP token.
### 1. Create an MCP token
1. Open **MCP-Tokens**: from the overview's MCP-Server card, or directly at
`/mcp-tokens` (prod: `https://pruefwerk.breakpilot.com/mcp-tokens`).
1. Open **MCP-Tokens** in the sidebar (the page is `/mcp-tokens`, on prod
`https://pruefwerk.breakpilot.com/mcp-tokens`).
2. Choose **Create Token**, give it a name that says where it is used (for
example "Claude Code, laptop"), and choose **Create**.
3. Copy the token from the banner. It starts with `mcpt_` and is shown **only
+1 -1
View File
@@ -42,7 +42,7 @@ Person vorbehalten.
- **Nicht für MCP.** Ein LLM-Werkzeug (Claude Code, Cursor, …) meldet sich an
der MCP-Schnittstelle mit einem eigenen MCP-Token (`mcpt_…`) an, nicht mit
einem API-Schlüssel. MCP-Tokens legt eine angemeldete Person im Dashboard
unter `/mcp-tokens` an; siehe [MCP-Schnittstelle](/features/mcp-server#connecting-an-mcp-client).
unter **MCP-Tokens** in der Seitenleiste an; siehe [MCP-Schnittstelle](/features/mcp-server#connecting-an-mcp-client).
- **Widerruf wirkt nach höchstens 60 Sekunden.** Prüfwerk merkt sich das
Prüfergebnis eines Schlüssels eine Minute lang.