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

    Timeout interceptor - ensures operations complete within a time limit

    @Injectable()
    class MyToolProvider {
    @UseMCPInterceptors(new TimeoutInterceptor(5000)) // 5 second timeout
    @MCPTool({ name: 'slow_tool', description: 'Tool with timeout' })
    async slowTool() {
    // Long running operation
    return 'Result';
    }
    }

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods