mcp-server-nest-js

QPMatrix/mcp-server-nest-js

3.1

If you are the rightful owner of mcp-server-nest-js and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A comprehensive MCP server for intelligent access to NestJS documentation, libraries, examples, and best practices.

Tools
12
Resources
0
Prompts
0

NestJS MCP Server

A comprehensive MCP (Model Context Protocol) server that provides intelligent access to NestJS documentation, libraries, examples, and best practices. This server enables AI assistants to fetch and search through NestJS documentation programmatically.

Features

  • Fetch comprehensive NestJS documentation
  • Search through all documentation sections
  • Access specific documentation categories:
    • Core concepts and fundamentals
    • Techniques (database, validation, caching, etc.)
    • Security (authentication, authorization, encryption)
    • Microservices
    • WebSockets
    • GraphQL
    • Best practices
    • Implementation examples and recipes
  • Built-in caching mechanism for improved performance
  • Support for fetching specific documentation sections by path

Installation

bun install

Usage

Build the server

bun run build

Run the server

bun run dev

Available Tools

The MCP server provides the following tools:

  1. fetch_overview - Get NestJS core concepts and fundamentals
  2. fetch_techniques - Access techniques documentation (configuration, database, validation, etc.)
  3. fetch_security - Security-related documentation
  4. fetch_microservices - Microservices architecture documentation
  5. fetch_websockets - WebSockets implementation guides
  6. fetch_graphql - GraphQL integration documentation
  7. fetch_best_practices - Advanced concepts and best practices
  8. fetch_examples - Recipes and implementation examples
  9. search_documentation - Search through all documentation with a query
  10. fetch_specific_section - Get a specific section by path (e.g., "/controllers")
  11. fetch_all_documentation - Retrieve all documentation (large dataset)
  12. clear_cache - Clear the documentation cache

Integration with Claude Desktop

To use this MCP server with Claude Desktop, add the following to your Claude Desktop configuration:

{
  "mcpServers": {
    "nestjs": {
      "command": "node",
      "args": ["path/to/nestjs-mcp-server/dist/index.js"]
    }
  }
}

Configuration

The server includes a built-in cache with a 1-hour duration to improve performance and reduce unnecessary requests to the NestJS documentation site.

Development

# Install dependencies
bun install

# Run in development mode
bun run dev

# Build for production
bun run build

License

MIT