Skip to main content
Glama
RenzoReccio

NestJS MCP Server

by RenzoReccio
README.md
## Description

This repository demonstrates a MCP implementation with NestJS


## Installation

```bash
$ npm install
```

## Running the Application

```bash
# Development mode
$ npm run start

# Watch mode
$ npm run start:dev

# Production mode
$ npm run start:prod
```

## Run MCP Playground
```bash
$ npx @modelcontextprotocol/inspector@0.16.2
```
More information: https://modelcontextprotocol.io/

## Testing

```bash
# 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

```bash
$ docker build -t nestjs-mcp .
```

### Run the Docker Container

```bash
$ docker run -p 3000:3000 nestjs-mcp
```

### Stop the Docker Container

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

```bash
$ docker ps
$ docker stop <container_id>
```
## Author

- **Renzo Reccio**

## Stay Connected

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