
MCP-Nest
by rekog-labs·★ 647·Score 54
A NestJS module for creating MCP servers with tools, resources, and prompts using dependency injection.
Overview
MCP-Nest is a comprehensive implementation of the Model Context Protocol for NestJS applications. It provides a structured way to expose tools, resources, and prompts through MCP with full integration of NestJS features like dependency injection and guards. The library supports multiple transport protocols including HTTP+SSE, Streamable HTTP, and STDIO, making it versatile for different deployment scenarios. It offers sophisticated features like per-tool authorization, built-in OAuth server support, and dynamic capabilities that can be registered at runtime.
Try asking AI
After installing, here are 3 things you can ask your AI assistant:
When to choose this
Choose MCP-Nest when you're already using NestJS for your backend and want to build MCP servers with enterprise-grade authentication and tooling.
When NOT to choose this
Avoid if you're not using TypeScript/NestJS or need a more lightweight solution without authentication complexity.
Tools this server exposes
1 tool extracted from the READMEgreeting-tool({ name: string }) => stringReturns a greeting with progress updates
Note: The README shows a single example tool (greeting-tool) with its implementation. The framework appears to be for creating custom tools, but this is the only concrete example provided in the main README. Additional tools would likely be defin
Comparable tools
Installation
npm install @rekog/mcp-nest @modelcontextprotocol/sdk zod@^4For optional built-in authorization with TypeORM:
npm install @nestjs/typeorm typeorm**Claude Desktop Configuration**: Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-nest": {
"command": "npx",
"args": ["@rekog/mcp-nest", "stdio"]
}
}
}Compare MCP-Nest with
Last updated · Auto-generated from public README + GitHub signals.