chore: cleanup docs

Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
benjdlambert
2025-06-17 13:42:13 +02:00
parent dce8c8c235
commit 0207b71c09
+5 -14
View File
@@ -73,9 +73,9 @@ export const myPlugin = createBackendPlugin({
### Authentication Configuration
By default, the Backstage backend requires authentication for all requests. For MCP clients to access the actions, you have several authentication options:
By default, the Backstage backend requires authentication for all requests.
We're looking at [device authentication](https://github.com/backstage/backstage/pull/27680) to make this much easier with authentication for MCP clients, but currently you have the following choices:
We're looking at [device authentication](https://github.com/backstage/backstage/pull/27680) to make this much easier with authentication for MCP clients, but in the meantime you can take advantage of the [External Access with Static Tokens](#external-access-with-static-tokens) method.
#### External Access with Static Tokens
@@ -88,6 +88,9 @@ backend:
- type: static
options:
token: ${MCP_TOKEN}
accessRestrictions:
- plugin: mcp-actions
- plugin: catalog
```
Generate a secure token:
@@ -98,18 +101,6 @@ node -p 'require("crypto").randomBytes(24).toString("base64")'
Set the `MCP_TOKEN` environment variable with this token, and configure your MCP client to use it in the [Authorization header](#configuring-mcp-clients)
#### Disable Default Auth Policy (Development Only)
For development environments, you can disable the default authentication policy:
```yaml
backend:
auth:
dangerouslyDisableDefaultAuthPolicy: true
```
⚠️ **Warning**: This setting disables authentication requirements and should **never** be used in production environments.
## Configuring MCP Clients
The MCP server supports both Server-Sent Events (SSE) and Streamable HTTP protocols.