#3939th of 95 in Agent and MCP starters
mcp-nest
NestJS module for exposing tools, resources and prompts as an MCP server
- Stars
- 734
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- TypeScript
634 on 6 May 2026734 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
@rekog/mcp-nest runs an MCP server as a NestJS microservice transport strategy. Tools, resources and prompts are methods on @McpController classes, so NestJS guards, pipes, interceptors and exception filters apply to them. It serves Streamable HTTP and STDIO, and one endpoint answers both the 2025-era protocol and the stateless 2026-07-28 revision.
Who it is for: NestJS developers building MCP servers for AI agents and clients
Strengths
- Guards, pipes, interceptors and filters apply natively to MCP handlers
- Full NestJS dependency injection available inside tools, resources and prompts
- One /mcp endpoint serves both 2025-era and 2026-07-28 protocol revisions
- Supports Streamable HTTP and STDIO, plus elicitation, progress and per-tool authorization
Weaknesses
- Tied to NestJS; no use outside a Nest application
- Built-in authorization server is Beta and lives in a separate package
- Startup order matters: startAllMicroservices() must run before listen()
- Moving from the older McpModule.forRoot API requires a migration to McpStrategy
What it needs
- TypeScript
- Needs NestJS, @modelcontextprotocol/server, @modelcontextprotocol/core, @modelcontextprotocol/node, zod ^4
- sign-in: Passport
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Agent and MCP starters
See all 95| Rank | Project | Score |
|---|---|---|
| #37 | mcp-typescript-templateTypeScript starter for remote MCP servers over HTTP with Express and Effect | 68 out of 100 |
| #38 | antigravity-sdk-pythonPython SDK for building Gemini-backed agents with tools, hooks and MCP | 67 out of 100 |
| #40 | pipelexRuntime for typed, multi-step AI methods written as .mthds files | 66 out of 100 |
| #41 | aeonfun/aeonScheduled agent that runs Markdown skills on GitHub Actions across nine agent CLIs | 66 out of 100 |
| #42 | memorizzPython framework giving agents persistent memory across sessions | 66 out of 100 |