Support bearer token

This commit is contained in:
Avi Mizrahi
2025-03-10 17:29:06 +02:00
parent 0870a81990
commit dbd616905c
4 changed files with 63 additions and 12 deletions

View File

@@ -38,6 +38,10 @@ CLIENT_PORT=8080 SERVER_PORT=9000 npx @modelcontextprotocol/inspector node build
For more details on ways to use the inspector, see the [Inspector section of the MCP docs site](https://modelcontextprotocol.io/docs/tools/inspector). For help with debugging, see the [Debugging guide](https://modelcontextprotocol.io/docs/tools/debugging).
### Authentication
The inspector supports bearer token authentication for SSE connections. Enter your token in the UI when connecting to an MCP server, and it will be sent in the Authorization header.
### From this repository
If you're working on the inspector itself: