Skip to main content
Glama
presentation.module.ts936 B
import { Module } from '@nestjs/common'; import { CqrsModule } from '@nestjs/cqrs'; import { ApplicationModule } from 'src/application/application.module'; import { InfrastructureModule } from 'src/infrastructure/infrastructure.module'; import { McpModule } from '@rekog/mcp-nest'; import { WeatherTool } from './tools/weather.tool'; import { WeatherPrompt } from './prompts/weather.prompt'; import { randomUUID } from 'crypto'; @Module({ imports: [ CqrsModule, InfrastructureModule, ApplicationModule, McpModule.forRoot({ name: 'weather-mcp-server', version: '1.0.0', streamableHttp: { enableJsonResponse: false, sessionIdGenerator: () => randomUUID(), statelessMode: false, }, }) ], providers: [ WeatherTool, WeatherPrompt ], }) export class PresentationModule { }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RenzoReccio/nestjs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server