Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

MCP Nest Auth

MCP server by rekog-labs Verified · npm:@rekog

MCP Nest Auth is the built-in authorization server package for @rekog/mcp-nest, a NestJS module for exposing tools, resources, and prompts over MCP. It is aimed at NestJS developers who want to secure their MCP server with OAuth. The source marks it as Beta.

  • Score 92
  • 735 stars
  • 27k a week
  • MIT
  • Updated

Install MCP Nest Auth

Built from the published package, never by AI.

claude mcp add mcp-nest-auth -- npx -y @rekog/mcp-nest-auth

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install MCP Nest Auth in Claude Code

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 mcp-nest-auth block.

About

MCP Nest Auth is a separate package that provides the built-in authorization server for @rekog/mcp-nest. The source says the authorization server now lives in its own package and should be installed alongside @rekog/mcp-nest. The @rekog/mcp-nest module is a NestJS module for exposing tools, resources, and prompts over the Model Context Protocol. The README lists the built-in server as a Beta feature.

It supports guard-based authentication with OAuth in a NestJS application. An optional TypeORM store can be used for the authorization server by installing @nestjs/typeorm and typeorm. The source does not describe the server's endpoints, supported identity providers, or spec compliance, so those details are not covered here. It is aimed at NestJS developers who need OAuth for an MCP server.

Written from the project's README and checked against it.

What you need

  • An existing NestJS application
  • @rekog/mcp-nest installed alongside this package
  • Optional: @nestjs/typeorm and typeorm for the TypeORM store

Try asking

  • Add OAuth protection to my NestJS MCP server
  • Set up the built-in authorization server for my MCP app
  • Store MCP authorization data with TypeORM in my NestJS project

Good to know

  • The built-in authorization server is marked as Beta.
  • It is a separate package and works alongside @rekog/mcp-nest.
  • The TypeORM store is optional and needs extra peer dependencies.

Security check

A

No 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 a NestJS MCP server with OAuth
  • Run a built-in authorization server for MCP
  • Use an external authorization server instead

Alternatives to MCP Nest Auth

All alternatives →
Agentmesh MCP Proxy microsoft
94

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.

AAA Local 6.6k
Bla qybaihe
94

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.

AAA Local 7.3k
Bla Agents qybaihe
94

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.

AAA Local 11k/wk
MCP Auth zgeoff
94

A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner

AAC Local 44k/wk
Agentos MCP Server microsoft
94

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.

AAA Local 6.6k
Convex MCP Gateway tfohlmeister
93

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.

AAC Local 37k/wk

Compare with Agentmesh MCP Proxy, Bla or Bla Agents

MCP Nest Auth: common questions

Is the built-in authorization server stable?

The source marks the built-in authorization server as Beta, so it is not presented as stable.

Can I use an external identity provider instead?

The source documents an external authorization server option for securing an MCP server with providers such as Keycloak or Auth0.

Does it require a database?

The source says the TypeORM store is optional for the authorization server, and the extra packages are only needed if it is used.

How do I install MCP Nest Auth?

In Claude Code run claude mcp add mcp-nest-auth -- npx -y @rekog/mcp-nest-auth. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is MCP Nest Auth the official server?

MCP Nest Auth is published by npm:@rekog from its verified domain in the official MCP Registry.

Is MCP Nest Auth free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is MCP Nest Auth safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. 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 MCP Nest Auth?

Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.

Does MCP Nest 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.

MCP Nest Auth Install

Add to stack

Loading.