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.
Install Nestm MCP
Built from the published package, never by AI.
claude mcp add nestm-mcp -- npx -y @nestm/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"nestm-mcp": {
"args": [
"-y",
"@nestm/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"nestm-mcp": {
"args": [
"-y",
"@nestm/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"nestm-mcp": {
"args": [
"-y",
"@nestm/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add nestm-mcp -- npx -y @nestm/mcp{
"mcpServers": {
"nestm-mcp": {
"args": [
"-y",
"@nestm/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add nestm-mcp npx -y @nestm/mcpGemini 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 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
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
- 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 →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
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.
