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

Nestm MCP

MCP server by nestm-dev Verified · npm:@nestm

Nestm MCP is an alpha Model Context Protocol runtime for NestJS applications. It helps developers expose application capabilities as MCP servers and consume many upstream MCP servers through one NestJS layer.

  • Score 68
  • 0 stars
  • 64 a week
  • BSD-3-Clause
  • Updated

Install Nestm MCP

Built from the published package, never by AI.

claude mcp add nestm-mcp -- npx -y @nestm/mcp

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

Step-by-step: install Nestm MCP 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 nestm-mcp block.

About

NestM MCP is an alpha-stage Model Context Protocol runtime for NestJS applications, gateways, and agent hosts. It builds on the official MCP TypeScript SDK v2 and splits functionality into packages for multi-server client operation, per-request servers, dependency injection, middleware, authorization, and observability. A gateway package projects tools, prompts, resources, and completions from several upstream MCP servers into one server.

The runtime aims to make authentication, authorization, routing, lifecycle ownership, and telemetry explicit instead of hiding them behind a global SDK singleton. The repository targets NestJS 12.0.1, TypeScript 7.0.2, MCP SDK 2.0.0, and Node.js 22.13.0 or later. It is intended for teams building artifact or agent runtimes that expose trusted application capabilities and consume many MCP servers through one controlled NestJS layer.

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

What you need

  • Node.js 22.13.0 or later
  • NestJS 12 (@nestjs/common and @nestjs/core)
  • MCP TypeScript SDK v2 packages
  • reflect-metadata, rxjs and zod

Try asking

  • Expose my NestJS app's capabilities as an MCP server
  • Connect my agent host to several upstream MCP servers
  • Build an MCP gateway that merges tools from multiple servers

Good to know

  • Every package is pre-1.0 alpha, so breaking changes are expected.
  • Gateway servers are dedicated and cannot also host local or decorated capabilities in this alpha.
  • Some packages, including conformance, apps and auth, are marked Alpha.
  • Requires Node.js 22.13.0 or later.

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

  • Exposing app capabilities over MCP in NestJS
  • Consuming multiple MCP servers through one layer
  • Building an MCP gateway for agents
  • Adding OAuth protection to MCP servers

Alternatives to Nestm MCP

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Nestm MCP: common questions

Is Nestm MCP ready for production?

The source says every package remains pre-1.0 alpha and expects breaking changes. Some packages are marked Implemented, while others such as conformance, apps and auth are marked Alpha.

Which MCP protocol version does it support?

It follows the modern 2026-07-28 protocol era, where each request creates a fresh server and there is no Mcp-Session-Id session. The same handler can serve 2025-era clients in stateless compatibility mode.

Can it connect to multiple MCP servers at once?

Yes. The client package owns one official Client per named upstream and applies one logical-operation policy across them.

How do I install Nestm MCP?

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

Is Nestm MCP the official server?

Nestm MCP is published by npm:@nestm from its verified domain in the official MCP Registry.

Is Nestm MCP free?

The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.

Is Nestm MCP safe to use?

It scores 68 of 100. Grades: maintenance B, licence A, quality C. 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 Nestm MCP?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

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

Nestm MCP Install

Add to stack

Loading.