Skip to main content
Glama
app.module.ts1.3 kB
import { Module } from '@nestjs/common'; import { APP_GUARD, Reflector } from '@nestjs/core'; import { ThrottlerGuard } from '@nestjs/throttler'; import { ConfigModule } from './config/config.module.js'; import { CleanupModule } from './common/cleanup/cleanup.module.js'; import { ThrottlerModule } from '@nestjs/throttler'; import { ScheduleModule } from '@nestjs/schedule'; import { GatewayModule } from './src/modules/gateway.module.js'; import { FileIngestionModule } from './src/modules/file-ingestion.module.js'; import { WorkersModule } from './src/modules/workers.module.js'; @Module({ imports: [ ScheduleModule.forRoot(), ConfigModule, GatewayModule, FileIngestionModule, WorkersModule, CleanupModule, ThrottlerModule.forRoot({ throttlers: [ { ttl: 60000, limit: 100, }, ], }), ], providers: [ Reflector, { provide: APP_GUARD, useClass: ThrottlerGuard, }, // TODO add interceptor for agent response // { // provide: APP_INTERCEPTOR, // useClass: AgentResponseInterceptor, // }, // TODO add interceptor for agent response // { // provide: APP_INTERCEPTOR, // useClass: AgentResponseInterceptor, // }, ], }) export class AppModule {}

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/KasarLabs/snak'

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