Server Lazy Auth
Verified · npm:@modelcontextprotocolMCP server by modelcontextprotocol · updated · ★ 3k · 59 downloads a week
MCP App example demonstrating lazy (on-demand) OAuth: public tools work unauthenticated, protected tools return 401 + WWW-Authenticate so the host runs the OAuth flow only when needed Server Lazy Auth is published by npm:@modelcontextprotocol from its verified domain in the official MCP Registry.
Install Server Lazy Auth
Built from the published package, never by AIclaude mcp add server-lazy-auth -- npx -y @modelcontextprotocol/server-lazy-authRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"server-lazy-auth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-lazy-auth"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"server-lazy-auth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-lazy-auth"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"server-lazy-auth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-lazy-auth"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add server-lazy-auth -- npx -y @modelcontextprotocol/server-lazy-auth{
"mcpServers": {
"server-lazy-auth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-lazy-auth"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add server-lazy-auth npx -y @modelcontextprotocol/server-lazy-authGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the server-lazy-auth block.
Last commit 28 days ago
MIT: permissive, fine for commercial use
Clear description, published package or server URL, 2,983 stars, original repository
Sends keys or private files to a web address
Weekly newsletter
Like Server Lazy Auth? Get the best new MCP servers every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Security check
F- Sends keys or private files to a web addressIn
package.json:curl > /dev/null && curl -LsSf https://astral.sh/uv/install.sh | sh && export PATH=\"$HOME - Downloads a script from the internet and runs itIn
package.json:curl > /dev/null && curl -LsSf https://astral.sh/uv/install.sh | sh
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Server Lazy Auth
All alternatives →Your OpenWork org's skills, plugins, workflows, and connections through one OAuth MCP URL.
Model Context Protocol for TypeScript — public Zod schemas (spec + OAuth/OpenID) (with updated dependencies)
Model Context Protocol registry, transports, and OAuth bridges for Electric Agents
Remote proxy for Model Context Protocol, allowing local-only clients to connect to remote servers using oAuth
Public Preview — Security proxy for MCP servers: The Firewall for Model Context Protocol
OAuth MCP for Google, Meta, X, LinkedIn, Reddit, TikTok, GSC, GA4, WordPress and GHL.
Server Lazy Auth: common questions
How do I install Server Lazy Auth?
In Claude Code run claude mcp add server-lazy-auth -- npx -y @modelcontextprotocol/server-lazy-auth. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Server Lazy Auth the official server?
Server Lazy Auth is published by npm:@modelcontextprotocol from its verified domain in the official MCP Registry.
Is Server Lazy Auth free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Server Lazy Auth safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade F (sends keys or private files to a web address). Review the code before you install. How grades work.
What are alternatives to Server Lazy Auth?
Similar MCP servers: OpenWork MCP Gateway, Modelcontextprotocol Core, Agents MCP, MCP Remote.
Does Server Lazy Auth work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
