Install MCP Server Auth Template for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"brunovicco-mcp-server-auth-template": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/brunovicco/mcp-server-auth-template:v0.7.0"
],
"env": {
"MCP_SERVER_RESOURCE_SERVER_URL": "",
"MCP_SERVER_AUTH_PROVIDER": "",
"MCP_SERVER_REQUIRED_SCOPES": "[\"mcp:tools:call\"]",
"MCP_SERVER_TRANSPORT_ALLOWED_HOSTS": "[\"127.0.0.1:8000\"]",
"MCP_SERVER_ENTRA_TENANT_ID": "",
"MCP_SERVER_ENTRA_AUDIENCE": "",
"MCP_SERVER_ENTRA_APPLICATION_ID_URI": "",
"MCP_SERVER_GENERIC_ISSUER_URL": "",
"MCP_SERVER_GENERIC_AUDIENCE": "",
"MCP_SERVER_GENERIC_JWKS_ALLOWED_ORIGINS": "[]"
}
}
}
}