Auth
MCP server by agentfront Verified · npm:@frontmcp
Adds authentication and authorization to FrontMCP servers, including OAuth 2.1, JWT and session checks, authorities and a credential vault. Aimed at developers building TypeScript MCP servers.
Install Auth
Built from the published package, never by AI.
claude mcp add auth -- npx -y @frontmcp/authRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"auth": {
"args": [
"-y",
"@frontmcp/auth"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"auth": {
"args": [
"-y",
"@frontmcp/auth"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"auth": {
"args": [
"-y",
"@frontmcp/auth"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add auth -- npx -y @frontmcp/auth{
"mcpServers": {
"auth": {
"args": [
"-y",
"@frontmcp/auth"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add auth npx -y @frontmcp/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 auth block.
About
Auth is the authentication and authorization package for FrontMCP, the TypeScript framework for MCP servers. It is published as @frontmcp/auth and covers OAuth, JWKS, DCR and CIMD client registration, sessions and a credential vault. The declared scope also includes auth modes, OAuth 2.1 for local and remote setups, JWT and session checks, and authorities.
FrontMCP serves tools, resources and prompts written as typed classes with Zod schemas. It runs on Node, Vercel, AWS Lambda and Cloudflare Workers, and it serves MCP 2026-07-28 along with earlier revisions. Authentication sits inside the same framework, so servers that need protected tools can use it directly. The source is aimed at developers who build MCP servers in TypeScript.
Written from the project's README and checked against it.
What you need
- Node.js 24 or later for projects created with the FrontMCP CLI
Try asking
- Add OAuth 2.1 login to my FrontMCP server
- Check JWT and session credentials before my MCP tools run
- Store upstream credentials in the FrontMCP credential vault
Good to know
- The source is the FrontMCP framework README, and auth is one package within it.
- The source does not list the individual tools an auth server exposes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Protect MCP tools with OAuth 2.1
- Check JWT and session credentials on requests
- Manage credentials in a vault for MCP servers
Alternatives to Auth
All alternatives →Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.
Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.
Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.
A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner
Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.
Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.
Compare with Agentmesh MCP Proxy, Bla or Bla Agents
Auth: common questions
What auth methods does FrontMCP support?
The source mentions auth modes, OAuth 2.1 for local and remote setups, JWT and session checks, and authorities. It does not give a full list of supported providers.
Which platforms can a FrontMCP server run on?
The source says FrontMCP runs on Node, Vercel, AWS Lambda and Cloudflare Workers.
What is the credential vault?
The source lists a credential vault as part of the @frontmcp/auth package. It does not describe how the vault works.
How do I install Auth?
In Claude Code run claude mcp add auth -- npx -y @frontmcp/auth. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Auth the official server?
Auth is published by npm:@frontmcp from its verified domain in the official MCP Registry.
Is Auth free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Auth safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Auth?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does 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.
