mcp-use TypeScript API
    Preparing search index...

    Interface NextConfigLike

    Minimal structural Next.js config type, avoiding a runtime Next dependency.

    interface NextConfigLike {
        headers?: () => NextHeaderRule[] | Promise<NextHeaderRule[]>;
        outputFileTracingIncludes?: Record<string, string[]>;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Preserve arbitrary Next.js settings while augmenting the fields we use.

    Index
    headers?: () => NextHeaderRule[] | Promise<NextHeaderRule[]>

    Next.js response-header callback augmented with MCP CORS headers.

    outputFileTracingIncludes?: Record<string, string[]>

    Next.js output tracing globs augmented with compiled MCP view assets.