MCP Server Auth Template for Cline
io.github.brunovicco/mcp-server-auth-template
OAuth 2.1/OIDC resource-server reference for secure MCP authorization
client:Cline
transport:stdio
runtime:oci
Install MCP Server Auth Template in Cline
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
{
"mcpServers": {
"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_RESOURCE_SERVER_URL>",
"MCP_SERVER_AUTH_PROVIDER": "<MCP_SERVER_AUTH_PROVIDER>",
"MCP_SERVER_REQUIRED_SCOPES": "<MCP_SERVER_REQUIRED_SCOPES>",
"MCP_SERVER_TRANSPORT_ALLOWED_HOSTS": "<MCP_SERVER_TRANSPORT_ALLOWED_HOSTS>",
"MCP_SERVER_ENTRA_TENANT_ID": "<MCP_SERVER_ENTRA_TENANT_ID>",
"MCP_SERVER_ENTRA_AUDIENCE": "<MCP_SERVER_ENTRA_AUDIENCE>",
"MCP_SERVER_ENTRA_APPLICATION_ID_URI": "<MCP_SERVER_ENTRA_APPLICATION_ID_URI>",
"MCP_SERVER_GENERIC_ISSUER_URL": "<MCP_SERVER_GENERIC_ISSUER_URL>",
"MCP_SERVER_GENERIC_AUDIENCE": "<MCP_SERVER_GENERIC_AUDIENCE>",
"MCP_SERVER_GENERIC_JWKS_ALLOWED_ORIGINS": "<MCP_SERVER_GENERIC_JWKS_ALLOWED_ORIGINS>"
}
}
}
}
Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs