mcp-use TypeScript API
    Preparing search index...

    Function matchesPath

    • Match a request pathname exactly.

      Parameters

      • request: Request

        Request to test.

      • path: string

        Exact pathname (for example /mcp).

      Returns boolean