feat(dashboard): MCP-Tokens in the sidebar, also in source-only deployments #969
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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user