NestJS MCP - v1.0.1
    Preparing search index...

    Rate limit guard - limits the number of requests per time window This is a simple in-memory implementation. For production, use Redis or similar.

    @Injectable()
    class MyToolProvider {
    @UseMCPGuards(RateLimitGuard)
    @MCPTool({ name: 'expensive_tool', description: 'Rate limited tool' })
    async expensiveTool() {
    return 'Result';
    }
    }

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods