Skip to main content
Glama
RenzoReccio

NestJS MCP Server

by RenzoReccio

Description

This repository demonstrates a MCP implementation with NestJS

Related MCP server: MCP Test Server

Installation

$ npm install

Running the Application

# Development mode
$ npm run start

# Watch mode
$ npm run start:dev

# Production mode
$ npm run start:prod

Run MCP Playground

$ npx @modelcontextprotocol/inspector@0.16.2

More information: https://modelcontextprotocol.io/

Testing

# Unit tests
$ npm run test

# End-to-end tests
$ npm run test:e2e

# Test coverage
$ npm run test:cov

Docker

You can run the application using Docker for a consistent and isolated environment.

Build the Docker Image

$ docker build -t nestjs-mcp .

Run the Docker Container

$ docker run -p 3000:3000 nestjs-mcp

Stop the Docker Container

To stop the running container, find its container ID and stop it:

$ docker ps
$ docker stop <container_id>

Author

  • Renzo Reccio

Stay Connected

Stay updated with the latest developments and news related to this project.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A TypeScript-based test implementation for the Model Context Protocol (MCP) with example configurations and Jest test cases. Provides a development foundation for building and testing MCP server functionality.
    7 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A comprehensive reference implementation demonstrating all features of the Model Context Protocol (MCP) specification, serving as documentation, learning resource, and testing tool for MCP implementations.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A NestJS module for building Model Context Protocol (MCP) servers using decorators to expose services as tools, resources, and prompts. It features auto-discovery, a built-in playground UI, and support for multiple transports including SSE and Stdio.
    12 npm
    MIT