lingjing/node_modules/next/dist/server/mcp/get-mcp-middleware.d.ts
2026-02-23 09:51:43 +00:00

4 lines
278 B
TypeScript

import type { ServerResponse, IncomingMessage } from 'http';
import { type McpServerOptions } from './get-or-create-mcp-server';
export declare function getMcpMiddleware(options: McpServerOptions): (req: IncomingMessage, res: ServerResponse, next: () => void) => Promise<void>;