import { n as CreateMcpServerOptions } from "./provider-QQ-bqpKg.mjs"; import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; //#region src/server.d.ts declare const PACKAGE_VERSION: string; declare const PACKAGE_NAME: string; declare const DEFAULT_INSTRUCTIONS = "Search and analyze API traffic span recordings from Tusk Drift.\n\nThis MCP server helps you query, analyze, and debug API traffic including:\n- HTTP requests/responses, database queries, gRPC calls, and more\n- Latency metrics and error rates\n- Distributed traces across services\n\nWorkflow tips:\n- Start with list_distinct_values to discover available endpoints\n- Use query_spans to find specific API calls\n- Use get_trace to debug a request's full call chain\n\nRoot cause analysis workflow:\nIf the user is investigating performance issues or errors, you can consider the following workflow:\n1. Use query_spans or aggregate_spans to identify the problematic endpoint/span\n2. Use get_trace to see the full call chain and identify which child span is the bottleneck\n3. Look at the span's metadata (inputValue/outputValue) to understand the request context\n4. Navigate to the relevant source code using the span name (usually maps to route handlers or functions)\n5. Analyze the code path to understand the root cause (if you have access to the service's source code)\n"; /** * Create an MCP server with Tusk Drift tools. * * @param options Configuration options including the data provider * @returns Configured McpServer instance */ declare function createMcpServer(options: CreateMcpServerOptions): McpServer; //#endregion export { createMcpServer as i, PACKAGE_NAME as n, PACKAGE_VERSION as r, DEFAULT_INSTRUCTIONS as t }; //# sourceMappingURL=server-CfNnPDrK.d.mts.map