/** * MCP (Model Context Protocol) server for nuxt-otel. * * Exposes OTEL traces, spans, and logs via MCP tools under `/__nuxt-otel-mcp`. * Uses the non-deprecated `McpServer` API with `StreamableHTTPServerTransport` * in stateless mode. */ import type { H3Event } from 'h3'; /** * H3 event handler for MCP over Streamable HTTP. * * Handles POST requests containing JSON-RPC messages for the MCP protocol. * GET and DELETE requests are rejected with 405. */ export declare function mcpHandler(event: H3Event): Promise;