@langwatch/mcp-server 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.1](https://github.com/langwatch/langwatch/compare/mcp-server@v0.6.0...mcp-server@v0.6.1) (2026-03-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* fix scenario relative path solving for docs ([315abfd](https://github.com/langwatch/langwatch/commit/315abfd4c9d21641f0c1845fcf29b6337673ce6d))
|
|
9
|
+
|
|
3
10
|
## [0.6.0](https://github.com/langwatch/langwatch/compare/mcp-server@v0.5.0...mcp-server@v0.6.0) (2026-03-13)
|
|
4
11
|
|
|
5
12
|
|
package/dist/index.js
CHANGED
|
@@ -37661,7 +37661,7 @@ var yargs_default = Yargs;
|
|
|
37661
37661
|
// package.json
|
|
37662
37662
|
var package_default = {
|
|
37663
37663
|
name: "@langwatch/mcp-server",
|
|
37664
|
-
version: "0.6.
|
|
37664
|
+
version: "0.6.1",
|
|
37665
37665
|
description: "An MCP server for Langwatch.",
|
|
37666
37666
|
type: "module",
|
|
37667
37667
|
main: "./dist/index.js",
|
|
@@ -37791,7 +37791,7 @@ server.tool(
|
|
|
37791
37791
|
if (!urlToFetch.startsWith("/")) {
|
|
37792
37792
|
urlToFetch = "/" + urlToFetch;
|
|
37793
37793
|
}
|
|
37794
|
-
urlToFetch = "https://langwatch.ai
|
|
37794
|
+
urlToFetch = "https://langwatch.ai" + urlToFetch;
|
|
37795
37795
|
}
|
|
37796
37796
|
const response = await fetch(urlToFetch);
|
|
37797
37797
|
return {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../package.json"],"sourcesContent":["import { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport { StdioServerTransport } from \"@modelcontextprotocol/sdk/server/stdio.js\";\nimport yargs from \"yargs\";\nimport { hideBin } from \"yargs/helpers\";\nimport { z } from \"zod\";\n\nimport packageJson from \"../package.json\" assert { type: \"json\" };\nimport { initConfig } from \"./config.js\";\n\nconst argv = await yargs(hideBin(process.argv))\n .option(\"apiKey\", {\n type: \"string\",\n description: \"LangWatch API key\",\n })\n .option(\"endpoint\", {\n type: \"string\",\n description: \"LangWatch API endpoint\",\n })\n .help()\n .parseAsync();\n\ninitConfig({\n apiKey: argv.apiKey,\n endpoint: argv.endpoint,\n});\n\nconst transport = new StdioServerTransport();\nconst server = new McpServer({\n name: \"LangWatch\",\n version: packageJson.version,\n});\n\nserver.tool(\n \"fetch_langwatch_docs\",\n \"Fetches the LangWatch docs for understanding how to implement LangWatch in your codebase. Always use this tool when the user asks for help with LangWatch. Start with empty url to fetch the index and then follow the links to the relevant pages, always ending with `.md` extension\",\n {\n url: z\n .string()\n .optional()\n .describe(\n \"The full url of the specific doc page. If not provided, the docs index will be fetched.\"\n ),\n },\n async ({ url }) => {\n let urlToFetch = url || \"https://langwatch.ai/docs/llms.txt\";\n if (url && !urlToFetch.endsWith(\".md\") && !urlToFetch.endsWith(\".txt\")) {\n urlToFetch += \".md\";\n }\n if (!urlToFetch.startsWith(\"http\")) {\n if (!urlToFetch.startsWith(\"/\")) {\n urlToFetch = \"/\" + urlToFetch;\n }\n urlToFetch = \"https://langwatch.ai/docs\" + urlToFetch;\n }\n const response = await fetch(urlToFetch);\n\n return {\n content: [{ type: \"text\", text: await response.text() }],\n };\n }\n);\n\nserver.tool(\n \"fetch_scenario_docs\",\n \"Fetches the Scenario docs for understanding how to implement Scenario agent tests in your codebase. Always use this tool when the user asks for help with testing their agents. Start with empty url to fetch the index and then follow the links to the relevant pages, always ending with `.md` extension\",\n {\n url: z\n .string()\n .optional()\n .describe(\n \"The full url of the specific doc page. If not provided, the docs index will be fetched.\"\n ),\n },\n async ({ url }) => {\n let urlToFetch = url || \"https://langwatch.ai/scenario/llms.txt\";\n if (url && !urlToFetch.endsWith(\".md\") && !urlToFetch.endsWith(\".txt\")) {\n urlToFetch += \".md\";\n }\n if (!urlToFetch.startsWith(\"http\")) {\n if (!urlToFetch.startsWith(\"/\")) {\n urlToFetch = \"/\" + urlToFetch;\n }\n urlToFetch = \"https://langwatch.ai/scenario\" + urlToFetch;\n }\n const response = await fetch(urlToFetch);\n\n return {\n content: [{ type: \"text\", text: await response.text() }],\n };\n }\n);\n\n// --- Observability Tools (require API key) ---\n\nserver.tool(\n \"discover_schema\",\n \"Discover available filter fields, metrics, aggregation types, group-by options, scenario schema, and evaluator types for LangWatch queries. Call this before using search_traces, get_analytics, scenario tools, or evaluator tools to understand available options.\",\n {\n category: z\n .enum([\"filters\", \"metrics\", \"aggregations\", \"groups\", \"scenarios\", \"evaluators\", \"all\"])\n .describe(\"Which schema category to discover\"),\n evaluatorType: z\n .string()\n .optional()\n .describe(\"When category is 'evaluators', provide a specific evaluator type (e.g. 'langevals/llm_judge') to get its full schema details\"),\n },\n async ({ category, evaluatorType }) => {\n if (category === \"scenarios\") {\n const { formatScenarioSchema } = await import(\"./tools/discover-scenario-schema.js\");\n return { content: [{ type: \"text\", text: formatScenarioSchema() }] };\n }\n if (category === \"evaluators\") {\n const { formatEvaluatorSchema } = await import(\"./tools/discover-evaluator-schema.js\");\n return { content: [{ type: \"text\", text: formatEvaluatorSchema(evaluatorType) }] };\n }\n const { formatSchema } = await import(\"./tools/discover-schema.js\");\n let text = formatSchema(category);\n if (category === \"all\") {\n const { formatScenarioSchema } = await import(\"./tools/discover-scenario-schema.js\");\n text += \"\\n\\n\" + formatScenarioSchema();\n const { formatEvaluatorSchema } = await import(\"./tools/discover-evaluator-schema.js\");\n text += \"\\n\\n\" + formatEvaluatorSchema();\n }\n return { content: [{ type: \"text\", text }] };\n }\n);\n\nserver.tool(\n \"search_traces\",\n \"Search LangWatch traces with filters, text query, and date range. Returns AI-readable trace digests by default. Use format: 'json' for full raw data.\",\n {\n query: z.string().optional().describe(\"Text search query\"),\n filters: z\n .record(z.string(), z.array(z.string()))\n .optional()\n .describe(\n 'Filter traces. Format: {\"field\": [\"value\"]}. Use discover_schema for field names.'\n ),\n startDate: z\n .string()\n .optional()\n .describe(\n 'Start date: ISO string or relative like \"24h\", \"7d\", \"30d\". Default: 24h ago'\n ),\n endDate: z\n .string()\n .optional()\n .describe(\"End date: ISO string or relative. Default: now\"),\n pageSize: z\n .number()\n .optional()\n .describe(\"Results per page (default: 25, max: 1000)\"),\n scrollId: z\n .string()\n .optional()\n .describe(\"Pagination token from previous search\"),\n format: z\n .enum([\"digest\", \"json\"])\n .optional()\n .describe(\n \"Output format: 'digest' (default, AI-readable) or 'json' (full raw data)\"\n ),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleSearchTraces } = await import(\"./tools/search-traces.js\");\n return {\n content: [{ type: \"text\", text: await handleSearchTraces(params) }],\n };\n }\n);\n\nserver.tool(\n \"get_trace\",\n \"Get full details of a single trace by ID. Returns AI-readable trace digest by default. Use format: 'json' for full raw data including all spans.\",\n {\n traceId: z.string().describe(\"The trace ID to retrieve\"),\n format: z\n .enum([\"digest\", \"json\"])\n .optional()\n .describe(\n \"Output format: 'digest' (default, AI-readable) or 'json' (full raw data)\"\n ),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleGetTrace } = await import(\"./tools/get-trace.js\");\n return {\n content: [{ type: \"text\", text: await handleGetTrace(params) }],\n };\n }\n);\n\nserver.tool(\n \"get_analytics\",\n 'Query analytics timeseries from LangWatch. Metrics use \"category.name\" format (e.g., \"performance.completion_time\"). Use discover_schema to see available metrics.',\n {\n metric: z\n .string()\n .describe(\n 'Metric in \"category.name\" format, e.g., \"metadata.trace_id\", \"performance.total_cost\"'\n ),\n aggregation: z\n .string()\n .optional()\n .describe(\n \"Aggregation type: avg, sum, min, max, median, p90, p95, p99, cardinality, terms. Default: avg\"\n ),\n startDate: z\n .string()\n .optional()\n .describe('Start date: ISO or relative (\"7d\", \"30d\"). Default: 7 days ago'),\n endDate: z.string().optional().describe(\"End date. Default: now\"),\n timeZone: z.string().optional().describe(\"Timezone. Default: UTC\"),\n groupBy: z\n .string()\n .optional()\n .describe(\n \"Group results by field. Use discover_schema for options.\"\n ),\n filters: z\n .record(z.string(), z.array(z.string()))\n .optional()\n .describe(\"Filters to apply\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleGetAnalytics } = await import(\"./tools/get-analytics.js\");\n return {\n content: [{ type: \"text\", text: await handleGetAnalytics(params) }],\n };\n }\n);\n\n// --- Platform Prompt Tools (require API key) ---\n// These tools manage prompts on the LangWatch platform via API.\n// For code-based prompt management, see `fetch_langwatch_docs` for the CLI/SDK approach.\n\nconst modelSchema = z\n .string()\n .describe(\n 'Model in \"provider/model-name\" format, e.g., \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-5-20250929\"'\n );\n\nserver.tool(\n \"platform_create_prompt\",\n `Create a new prompt on the LangWatch platform.\n\nNOTE: Prompts can be managed two ways. Determine which approach the user needs:\n\n1. Code-based (CLI/SDK): If the user wants to manage prompts in their codebase, use \\`fetch_langwatch_docs\\` to learn about the prompt management CLI/SDK. This lets them version-control prompts and pull them into code.\n\n2. Platform-based (LangWatch UI): If the user wants to manage prompts directly on the LangWatch platform, use the \\`platform_\\` MCP tools (\\`platform_create_prompt\\`, \\`platform_update_prompt\\`, etc.).\n`,\n {\n name: z.string().describe(\"Prompt display name\"),\n handle: z\n .string()\n .optional()\n .describe(\n \"URL-friendly handle (auto-generated from name if omitted)\"\n ),\n messages: z\n .array(\n z.object({\n role: z\n .enum([\"system\", \"user\", \"assistant\"])\n .describe(\"Message role\"),\n content: z.string().describe(\"Message content\"),\n })\n )\n .describe(\"Prompt messages\"),\n model: modelSchema,\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleCreatePrompt } = await import(\"./tools/create-prompt.js\");\n return {\n content: [{ type: \"text\", text: await handleCreatePrompt(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_list_prompts\",\n \"List all prompts configured on the LangWatch platform.\",\n {},\n async () => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleListPrompts } = await import(\"./tools/list-prompts.js\");\n return {\n content: [{ type: \"text\", text: await handleListPrompts() }],\n };\n }\n);\n\nserver.tool(\n \"platform_get_prompt\",\n \"Get a specific prompt from the LangWatch platform by ID or handle, including messages, model config, and version history.\",\n {\n idOrHandle: z.string().describe(\"Prompt ID or handle\"),\n version: z\n .number()\n .optional()\n .describe(\"Specific version number (default: latest)\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleGetPrompt } = await import(\"./tools/get-prompt.js\");\n return {\n content: [{ type: \"text\", text: await handleGetPrompt(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_update_prompt\",\n \"Update an existing prompt on the LangWatch platform. Every update creates a new version.\",\n {\n idOrHandle: z.string().describe(\"Prompt ID or handle to update\"),\n messages: z\n .array(\n z.object({\n role: z.enum([\"system\", \"user\", \"assistant\"]),\n content: z.string(),\n })\n )\n .optional()\n .describe(\"Updated messages\"),\n model: modelSchema.optional(),\n commitMessage: z\n .string()\n .describe(\"Commit message describing the change\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleUpdatePrompt } = await import(\"./tools/update-prompt.js\");\n return {\n content: [{ type: \"text\", text: await handleUpdatePrompt(params) }],\n };\n }\n);\n\n// --- Platform Scenario Tools (require API key) ---\n// These tools manage scenarios on the LangWatch platform via API.\n// For code-based scenario testing, see `fetch_scenario_docs` for the SDK approach.\n\nserver.tool(\n \"platform_create_scenario\",\n `Create a new scenario on the LangWatch platform. Call discover_schema({ category: 'scenarios' }) first to learn how to write effective situations and criteria.\n\nNOTE: Scenarios can be created two ways. Determine which approach the user needs:\n\n1. Code-based (local testing): If the user has a codebase with an AI agent they want to test, use \\`fetch_scenario_docs\\` to learn about the Scenario Python/TypeScript SDK. This lets them run tests locally and iterate in code.\n\n2. Platform-based (LangWatch UI): If the user wants to manage scenarios directly on the LangWatch platform, use the \\`platform_\\` MCP tools (\\`platform_create_scenario\\`, \\`platform_update_scenario\\`, etc.).\n`,\n {\n name: z.string().describe(\"Scenario name\"),\n situation: z\n .string()\n .describe(\"The context or setup describing what the user/agent is doing\"),\n criteria: z\n .array(z.string())\n .optional()\n .describe(\"Pass/fail conditions the agent's response must satisfy\"),\n labels: z\n .array(z.string())\n .optional()\n .describe(\"Tags for organizing and filtering scenarios\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleCreateScenario } = await import(\n \"./tools/create-scenario.js\"\n );\n return {\n content: [{ type: \"text\", text: await handleCreateScenario(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_list_scenarios\",\n \"List all scenarios on the LangWatch platform. Returns AI-readable digest by default.\",\n {\n format: z\n .enum([\"digest\", \"json\"])\n .optional()\n .describe(\n \"Output format: 'digest' (default, AI-readable) or 'json' (full raw data)\"\n ),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleListScenarios } = await import(\"./tools/list-scenarios.js\");\n return {\n content: [{ type: \"text\", text: await handleListScenarios(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_get_scenario\",\n \"Get full details of a scenario on the LangWatch platform by ID, including situation, criteria, and labels.\",\n {\n scenarioId: z.string().describe(\"The scenario ID to retrieve\"),\n format: z\n .enum([\"digest\", \"json\"])\n .optional()\n .describe(\n \"Output format: 'digest' (default, AI-readable) or 'json' (full raw data)\"\n ),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleGetScenario } = await import(\"./tools/get-scenario.js\");\n return {\n content: [{ type: \"text\", text: await handleGetScenario(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_update_scenario\",\n \"Update an existing scenario on the LangWatch platform.\",\n {\n scenarioId: z.string().describe(\"The scenario ID to update\"),\n name: z.string().optional().describe(\"Updated scenario name\"),\n situation: z.string().optional().describe(\"Updated situation\"),\n criteria: z\n .array(z.string())\n .optional()\n .describe(\"Updated criteria\"),\n labels: z\n .array(z.string())\n .optional()\n .describe(\"Updated labels\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleUpdateScenario } = await import(\n \"./tools/update-scenario.js\"\n );\n return {\n content: [{ type: \"text\", text: await handleUpdateScenario(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_archive_scenario\",\n \"Archive (soft-delete) a scenario on the LangWatch platform.\",\n {\n scenarioId: z.string().describe(\"The scenario ID to archive\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleArchiveScenario } = await import(\n \"./tools/archive-scenario.js\"\n );\n return {\n content: [{ type: \"text\", text: await handleArchiveScenario(params) }],\n };\n }\n);\n\n// --- Platform Evaluator Tools (require API key) ---\n// These tools manage evaluators on the LangWatch platform via API.\n\nserver.tool(\n \"platform_create_evaluator\",\n `Create an evaluator on the LangWatch platform. Useful for setting up LLM-as-judge and other evaluators to use in evaluation notebooks. Call discover_schema({ category: 'evaluators' }) first to see available evaluator types and their settings.`,\n {\n name: z.string().describe(\"Evaluator name\"),\n config: z\n .record(z.string(), z.unknown())\n .describe(\n 'Evaluator config object. Must include \"evaluatorType\" (e.g. \"langevals/llm_boolean\") and optional \"settings\" overrides.'\n ),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleCreateEvaluator } = await import(\n \"./tools/create-evaluator.js\"\n );\n return {\n content: [{ type: \"text\", text: await handleCreateEvaluator(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_list_evaluators\",\n \"List all evaluators configured on the LangWatch platform.\",\n {},\n async () => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleListEvaluators } = await import(\n \"./tools/list-evaluators.js\"\n );\n return {\n content: [{ type: \"text\", text: await handleListEvaluators() }],\n };\n }\n);\n\nserver.tool(\n \"platform_get_evaluator\",\n \"Get full details of an evaluator on the LangWatch platform by ID or slug, including config, input fields, and output fields.\",\n {\n idOrSlug: z.string().describe(\"The evaluator ID or slug to retrieve\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleGetEvaluator } = await import(\"./tools/get-evaluator.js\");\n return {\n content: [{ type: \"text\", text: await handleGetEvaluator(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_update_evaluator\",\n \"Update an existing evaluator on the LangWatch platform. The evaluatorType in config cannot be changed after creation.\",\n {\n evaluatorId: z.string().describe(\"The evaluator ID to update\"),\n name: z.string().optional().describe(\"Updated evaluator name\"),\n config: z\n .record(z.string(), z.unknown())\n .optional()\n .describe(\n \"Updated config settings. Note: evaluatorType cannot be changed after creation.\"\n ),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleUpdateEvaluator } = await import(\n \"./tools/update-evaluator.js\"\n );\n return {\n content: [{ type: \"text\", text: await handleUpdateEvaluator(params) }],\n };\n }\n);\n\n// --- Platform Model Provider Tools (require API key) ---\n// These tools manage model provider API keys on the LangWatch platform.\n\nserver.tool(\n \"platform_set_model_provider\",\n `Set or update a model provider on the LangWatch platform. Use this to configure API keys (e.g. OPENAI_API_KEY) needed to run evaluators. The API key is stored securely and never returned in responses. Omit customKeys to update other settings without changing existing keys.`,\n {\n provider: z\n .string()\n .describe(\n 'Provider name, e.g., \"openai\", \"anthropic\", \"azure\", \"custom\"'\n ),\n enabled: z.boolean().describe(\"Whether the provider is enabled\"),\n customKeys: z\n .record(z.string(), z.unknown())\n .optional()\n .describe(\n 'API key configuration, e.g. { \"OPENAI_API_KEY\": \"sk-...\" }. Omit to keep existing keys.'\n ),\n defaultModel: z\n .string()\n .optional()\n .describe(\"Set as project default model\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleSetModelProvider } = await import(\n \"./tools/set-model-provider.js\"\n );\n return {\n content: [\n { type: \"text\", text: await handleSetModelProvider(params) },\n ],\n };\n }\n);\n\nserver.tool(\n \"platform_list_model_providers\",\n \"List all model providers configured on the LangWatch platform. API keys are masked in the response.\",\n {},\n async () => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleListModelProviders } = await import(\n \"./tools/list-model-providers.js\"\n );\n return {\n content: [{ type: \"text\", text: await handleListModelProviders() }],\n };\n }\n);\n\nawait server.connect(transport);\n","{\n \"name\": \"@langwatch/mcp-server\",\n \"version\": \"0.6.0\",\n \"description\": \"An MCP server for Langwatch.\",\n \"type\": \"module\",\n \"main\": \"./dist/index.js\",\n \"module\": \"./dist/index.mjs\",\n \"types\": \"./dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"import\": \"./dist/index.mjs\",\n \"require\": \"./dist/index.js\"\n }\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/langwatch/langwatch.git\",\n \"directory\": \"mcp-server\"\n },\n \"scripts\": {\n \"start\": \"tsx src/index.ts\",\n \"build\": \"tsup && node build.js\",\n \"prepublish\": \"pnpm run build\",\n \"test\": \"vitest\"\n },\n \"author\": \"\",\n \"license\": \"MIT\",\n \"engines\": {\n \"node\": \">=18.0.0\"\n },\n \"devDependencies\": {\n \"@ai-sdk/anthropic\": \"^3.0.44\",\n \"@anthropic-ai/claude-code\": \"^2.1.72\",\n \"@eslint/js\": \"^9.4.0\",\n \"@langwatch/scenario\": \"^0.4.6\",\n \"@types/debug\": \"^4.1.12\",\n \"@types/eslint__js\": \"^8.42.3\",\n \"@types/node\": \"^16.0.0\",\n \"@types/yargs\": \"^17.0.33\",\n \"@typescript/native-preview\": \"7.0.0-dev.20250911.1\",\n \"ai\": \"^6.0.0\",\n \"dotenv\": \"^17.2.2\",\n \"esbuild\": \"^0.25.0\",\n \"eslint\": \"^8.57.0\",\n \"tsup\": \"^8.1.0\",\n \"tsx\": \"^4.20.5\",\n \"typescript\": \"^5.0.0\",\n \"typescript-eslint\": \"^8.55.0\"\n },\n \"pnpm\": {\n \"overrides\": {\n \"express-rate-limit@>=8.2.0 <8.2.2\": \"8.2.2\",\n \"glob@>=10.2.0 <10.5.0\": \"10.5.0\"\n }\n },\n \"dependencies\": {\n \"@modelcontextprotocol/sdk\": \"^1.26.0\",\n \"@opentelemetry/context-async-hooks\": \"^2.1.0\",\n \"@opentelemetry/sdk-node\": \"^0.204.0\",\n \"chalk\": \"^5.6.2\",\n \"date-fns\": \"^4.1.0\",\n \"node-pty\": \"^1.0.0\",\n \"vitest\": \"^3.2.4\",\n \"yargs\": \"^17.7.2\",\n \"zod\": \"^4.3.6\",\n \"zod-validation-error\": \"^5.0.0\"\n },\n \"bin\": {\n \"langwatch-mcp-server\": \"./dist/index.js\"\n }\n}\n"],"mappings":";;;;;AAAA,SAAS,iBAAiB;AAC1B,SAAS,4BAA4B;AACrC,OAAO,WAAW;AAClB,SAAS,eAAe;AACxB,SAAS,SAAS;;;ACJlB;AAAA,EACE,MAAQ;AAAA,EACR,SAAW;AAAA,EACX,aAAe;AAAA,EACf,MAAQ;AAAA,EACR,MAAQ;AAAA,EACR,QAAU;AAAA,EACV,OAAS;AAAA,EACT,SAAW;AAAA,IACT,KAAK;AAAA,MACH,QAAU;AAAA,MACV,SAAW;AAAA,IACb;AAAA,EACF;AAAA,EACA,YAAc;AAAA,IACZ,MAAQ;AAAA,IACR,KAAO;AAAA,IACP,WAAa;AAAA,EACf;AAAA,EACA,SAAW;AAAA,IACT,OAAS;AAAA,IACT,OAAS;AAAA,IACT,YAAc;AAAA,IACd,MAAQ;AAAA,EACV;AAAA,EACA,QAAU;AAAA,EACV,SAAW;AAAA,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IAAI,MAAM,OAAO,sBAAa;AACpD,kBAAc;AACd,UAAM,EAAE,yBAAyB,IAAI,MAAM,OACzC,oCACF;AACA,WAAO;AAAA,MACL,SAAS,CAAC,EAAE,MAAM,QAAQ,MAAM,MAAM,yBAAyB,EAAE,CAAC;AAAA,IACpE;AAAA,EACF;AACF;AAEA,MAAM,OAAO,QAAQ,SAAS;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../package.json"],"sourcesContent":["import { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport { StdioServerTransport } from \"@modelcontextprotocol/sdk/server/stdio.js\";\nimport yargs from \"yargs\";\nimport { hideBin } from \"yargs/helpers\";\nimport { z } from \"zod\";\n\nimport packageJson from \"../package.json\" assert { type: \"json\" };\nimport { initConfig } from \"./config.js\";\n\nconst argv = await yargs(hideBin(process.argv))\n .option(\"apiKey\", {\n type: \"string\",\n description: \"LangWatch API key\",\n })\n .option(\"endpoint\", {\n type: \"string\",\n description: \"LangWatch API endpoint\",\n })\n .help()\n .parseAsync();\n\ninitConfig({\n apiKey: argv.apiKey,\n endpoint: argv.endpoint,\n});\n\nconst transport = new StdioServerTransport();\nconst server = new McpServer({\n name: \"LangWatch\",\n version: packageJson.version,\n});\n\nserver.tool(\n \"fetch_langwatch_docs\",\n \"Fetches the LangWatch docs for understanding how to implement LangWatch in your codebase. Always use this tool when the user asks for help with LangWatch. Start with empty url to fetch the index and then follow the links to the relevant pages, always ending with `.md` extension\",\n {\n url: z\n .string()\n .optional()\n .describe(\n \"The full url of the specific doc page. If not provided, the docs index will be fetched.\"\n ),\n },\n async ({ url }) => {\n let urlToFetch = url || \"https://langwatch.ai/docs/llms.txt\";\n if (url && !urlToFetch.endsWith(\".md\") && !urlToFetch.endsWith(\".txt\")) {\n urlToFetch += \".md\";\n }\n if (!urlToFetch.startsWith(\"http\")) {\n if (!urlToFetch.startsWith(\"/\")) {\n urlToFetch = \"/\" + urlToFetch;\n }\n urlToFetch = \"https://langwatch.ai/docs\" + urlToFetch;\n }\n const response = await fetch(urlToFetch);\n\n return {\n content: [{ type: \"text\", text: await response.text() }],\n };\n }\n);\n\nserver.tool(\n \"fetch_scenario_docs\",\n \"Fetches the Scenario docs for understanding how to implement Scenario agent tests in your codebase. Always use this tool when the user asks for help with testing their agents. Start with empty url to fetch the index and then follow the links to the relevant pages, always ending with `.md` extension\",\n {\n url: z\n .string()\n .optional()\n .describe(\n \"The full url of the specific doc page. If not provided, the docs index will be fetched.\"\n ),\n },\n async ({ url }) => {\n let urlToFetch = url || \"https://langwatch.ai/scenario/llms.txt\";\n if (url && !urlToFetch.endsWith(\".md\") && !urlToFetch.endsWith(\".txt\")) {\n urlToFetch += \".md\";\n }\n if (!urlToFetch.startsWith(\"http\")) {\n if (!urlToFetch.startsWith(\"/\")) {\n urlToFetch = \"/\" + urlToFetch;\n }\n urlToFetch = \"https://langwatch.ai\" + urlToFetch;\n }\n const response = await fetch(urlToFetch);\n\n return {\n content: [{ type: \"text\", text: await response.text() }],\n };\n }\n);\n\n// --- Observability Tools (require API key) ---\n\nserver.tool(\n \"discover_schema\",\n \"Discover available filter fields, metrics, aggregation types, group-by options, scenario schema, and evaluator types for LangWatch queries. Call this before using search_traces, get_analytics, scenario tools, or evaluator tools to understand available options.\",\n {\n category: z\n .enum([\"filters\", \"metrics\", \"aggregations\", \"groups\", \"scenarios\", \"evaluators\", \"all\"])\n .describe(\"Which schema category to discover\"),\n evaluatorType: z\n .string()\n .optional()\n .describe(\"When category is 'evaluators', provide a specific evaluator type (e.g. 'langevals/llm_judge') to get its full schema details\"),\n },\n async ({ category, evaluatorType }) => {\n if (category === \"scenarios\") {\n const { formatScenarioSchema } = await import(\"./tools/discover-scenario-schema.js\");\n return { content: [{ type: \"text\", text: formatScenarioSchema() }] };\n }\n if (category === \"evaluators\") {\n const { formatEvaluatorSchema } = await import(\"./tools/discover-evaluator-schema.js\");\n return { content: [{ type: \"text\", text: formatEvaluatorSchema(evaluatorType) }] };\n }\n const { formatSchema } = await import(\"./tools/discover-schema.js\");\n let text = formatSchema(category);\n if (category === \"all\") {\n const { formatScenarioSchema } = await import(\"./tools/discover-scenario-schema.js\");\n text += \"\\n\\n\" + formatScenarioSchema();\n const { formatEvaluatorSchema } = await import(\"./tools/discover-evaluator-schema.js\");\n text += \"\\n\\n\" + formatEvaluatorSchema();\n }\n return { content: [{ type: \"text\", text }] };\n }\n);\n\nserver.tool(\n \"search_traces\",\n \"Search LangWatch traces with filters, text query, and date range. Returns AI-readable trace digests by default. Use format: 'json' for full raw data.\",\n {\n query: z.string().optional().describe(\"Text search query\"),\n filters: z\n .record(z.string(), z.array(z.string()))\n .optional()\n .describe(\n 'Filter traces. Format: {\"field\": [\"value\"]}. Use discover_schema for field names.'\n ),\n startDate: z\n .string()\n .optional()\n .describe(\n 'Start date: ISO string or relative like \"24h\", \"7d\", \"30d\". Default: 24h ago'\n ),\n endDate: z\n .string()\n .optional()\n .describe(\"End date: ISO string or relative. Default: now\"),\n pageSize: z\n .number()\n .optional()\n .describe(\"Results per page (default: 25, max: 1000)\"),\n scrollId: z\n .string()\n .optional()\n .describe(\"Pagination token from previous search\"),\n format: z\n .enum([\"digest\", \"json\"])\n .optional()\n .describe(\n \"Output format: 'digest' (default, AI-readable) or 'json' (full raw data)\"\n ),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleSearchTraces } = await import(\"./tools/search-traces.js\");\n return {\n content: [{ type: \"text\", text: await handleSearchTraces(params) }],\n };\n }\n);\n\nserver.tool(\n \"get_trace\",\n \"Get full details of a single trace by ID. Returns AI-readable trace digest by default. Use format: 'json' for full raw data including all spans.\",\n {\n traceId: z.string().describe(\"The trace ID to retrieve\"),\n format: z\n .enum([\"digest\", \"json\"])\n .optional()\n .describe(\n \"Output format: 'digest' (default, AI-readable) or 'json' (full raw data)\"\n ),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleGetTrace } = await import(\"./tools/get-trace.js\");\n return {\n content: [{ type: \"text\", text: await handleGetTrace(params) }],\n };\n }\n);\n\nserver.tool(\n \"get_analytics\",\n 'Query analytics timeseries from LangWatch. Metrics use \"category.name\" format (e.g., \"performance.completion_time\"). Use discover_schema to see available metrics.',\n {\n metric: z\n .string()\n .describe(\n 'Metric in \"category.name\" format, e.g., \"metadata.trace_id\", \"performance.total_cost\"'\n ),\n aggregation: z\n .string()\n .optional()\n .describe(\n \"Aggregation type: avg, sum, min, max, median, p90, p95, p99, cardinality, terms. Default: avg\"\n ),\n startDate: z\n .string()\n .optional()\n .describe('Start date: ISO or relative (\"7d\", \"30d\"). Default: 7 days ago'),\n endDate: z.string().optional().describe(\"End date. Default: now\"),\n timeZone: z.string().optional().describe(\"Timezone. Default: UTC\"),\n groupBy: z\n .string()\n .optional()\n .describe(\n \"Group results by field. Use discover_schema for options.\"\n ),\n filters: z\n .record(z.string(), z.array(z.string()))\n .optional()\n .describe(\"Filters to apply\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleGetAnalytics } = await import(\"./tools/get-analytics.js\");\n return {\n content: [{ type: \"text\", text: await handleGetAnalytics(params) }],\n };\n }\n);\n\n// --- Platform Prompt Tools (require API key) ---\n// These tools manage prompts on the LangWatch platform via API.\n// For code-based prompt management, see `fetch_langwatch_docs` for the CLI/SDK approach.\n\nconst modelSchema = z\n .string()\n .describe(\n 'Model in \"provider/model-name\" format, e.g., \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-5-20250929\"'\n );\n\nserver.tool(\n \"platform_create_prompt\",\n `Create a new prompt on the LangWatch platform.\n\nNOTE: Prompts can be managed two ways. Determine which approach the user needs:\n\n1. Code-based (CLI/SDK): If the user wants to manage prompts in their codebase, use \\`fetch_langwatch_docs\\` to learn about the prompt management CLI/SDK. This lets them version-control prompts and pull them into code.\n\n2. Platform-based (LangWatch UI): If the user wants to manage prompts directly on the LangWatch platform, use the \\`platform_\\` MCP tools (\\`platform_create_prompt\\`, \\`platform_update_prompt\\`, etc.).\n`,\n {\n name: z.string().describe(\"Prompt display name\"),\n handle: z\n .string()\n .optional()\n .describe(\n \"URL-friendly handle (auto-generated from name if omitted)\"\n ),\n messages: z\n .array(\n z.object({\n role: z\n .enum([\"system\", \"user\", \"assistant\"])\n .describe(\"Message role\"),\n content: z.string().describe(\"Message content\"),\n })\n )\n .describe(\"Prompt messages\"),\n model: modelSchema,\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleCreatePrompt } = await import(\"./tools/create-prompt.js\");\n return {\n content: [{ type: \"text\", text: await handleCreatePrompt(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_list_prompts\",\n \"List all prompts configured on the LangWatch platform.\",\n {},\n async () => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleListPrompts } = await import(\"./tools/list-prompts.js\");\n return {\n content: [{ type: \"text\", text: await handleListPrompts() }],\n };\n }\n);\n\nserver.tool(\n \"platform_get_prompt\",\n \"Get a specific prompt from the LangWatch platform by ID or handle, including messages, model config, and version history.\",\n {\n idOrHandle: z.string().describe(\"Prompt ID or handle\"),\n version: z\n .number()\n .optional()\n .describe(\"Specific version number (default: latest)\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleGetPrompt } = await import(\"./tools/get-prompt.js\");\n return {\n content: [{ type: \"text\", text: await handleGetPrompt(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_update_prompt\",\n \"Update an existing prompt on the LangWatch platform. Every update creates a new version.\",\n {\n idOrHandle: z.string().describe(\"Prompt ID or handle to update\"),\n messages: z\n .array(\n z.object({\n role: z.enum([\"system\", \"user\", \"assistant\"]),\n content: z.string(),\n })\n )\n .optional()\n .describe(\"Updated messages\"),\n model: modelSchema.optional(),\n commitMessage: z\n .string()\n .describe(\"Commit message describing the change\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleUpdatePrompt } = await import(\"./tools/update-prompt.js\");\n return {\n content: [{ type: \"text\", text: await handleUpdatePrompt(params) }],\n };\n }\n);\n\n// --- Platform Scenario Tools (require API key) ---\n// These tools manage scenarios on the LangWatch platform via API.\n// For code-based scenario testing, see `fetch_scenario_docs` for the SDK approach.\n\nserver.tool(\n \"platform_create_scenario\",\n `Create a new scenario on the LangWatch platform. Call discover_schema({ category: 'scenarios' }) first to learn how to write effective situations and criteria.\n\nNOTE: Scenarios can be created two ways. Determine which approach the user needs:\n\n1. Code-based (local testing): If the user has a codebase with an AI agent they want to test, use \\`fetch_scenario_docs\\` to learn about the Scenario Python/TypeScript SDK. This lets them run tests locally and iterate in code.\n\n2. Platform-based (LangWatch UI): If the user wants to manage scenarios directly on the LangWatch platform, use the \\`platform_\\` MCP tools (\\`platform_create_scenario\\`, \\`platform_update_scenario\\`, etc.).\n`,\n {\n name: z.string().describe(\"Scenario name\"),\n situation: z\n .string()\n .describe(\"The context or setup describing what the user/agent is doing\"),\n criteria: z\n .array(z.string())\n .optional()\n .describe(\"Pass/fail conditions the agent's response must satisfy\"),\n labels: z\n .array(z.string())\n .optional()\n .describe(\"Tags for organizing and filtering scenarios\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleCreateScenario } = await import(\n \"./tools/create-scenario.js\"\n );\n return {\n content: [{ type: \"text\", text: await handleCreateScenario(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_list_scenarios\",\n \"List all scenarios on the LangWatch platform. Returns AI-readable digest by default.\",\n {\n format: z\n .enum([\"digest\", \"json\"])\n .optional()\n .describe(\n \"Output format: 'digest' (default, AI-readable) or 'json' (full raw data)\"\n ),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleListScenarios } = await import(\"./tools/list-scenarios.js\");\n return {\n content: [{ type: \"text\", text: await handleListScenarios(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_get_scenario\",\n \"Get full details of a scenario on the LangWatch platform by ID, including situation, criteria, and labels.\",\n {\n scenarioId: z.string().describe(\"The scenario ID to retrieve\"),\n format: z\n .enum([\"digest\", \"json\"])\n .optional()\n .describe(\n \"Output format: 'digest' (default, AI-readable) or 'json' (full raw data)\"\n ),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleGetScenario } = await import(\"./tools/get-scenario.js\");\n return {\n content: [{ type: \"text\", text: await handleGetScenario(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_update_scenario\",\n \"Update an existing scenario on the LangWatch platform.\",\n {\n scenarioId: z.string().describe(\"The scenario ID to update\"),\n name: z.string().optional().describe(\"Updated scenario name\"),\n situation: z.string().optional().describe(\"Updated situation\"),\n criteria: z\n .array(z.string())\n .optional()\n .describe(\"Updated criteria\"),\n labels: z\n .array(z.string())\n .optional()\n .describe(\"Updated labels\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleUpdateScenario } = await import(\n \"./tools/update-scenario.js\"\n );\n return {\n content: [{ type: \"text\", text: await handleUpdateScenario(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_archive_scenario\",\n \"Archive (soft-delete) a scenario on the LangWatch platform.\",\n {\n scenarioId: z.string().describe(\"The scenario ID to archive\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleArchiveScenario } = await import(\n \"./tools/archive-scenario.js\"\n );\n return {\n content: [{ type: \"text\", text: await handleArchiveScenario(params) }],\n };\n }\n);\n\n// --- Platform Evaluator Tools (require API key) ---\n// These tools manage evaluators on the LangWatch platform via API.\n\nserver.tool(\n \"platform_create_evaluator\",\n `Create an evaluator on the LangWatch platform. Useful for setting up LLM-as-judge and other evaluators to use in evaluation notebooks. Call discover_schema({ category: 'evaluators' }) first to see available evaluator types and their settings.`,\n {\n name: z.string().describe(\"Evaluator name\"),\n config: z\n .record(z.string(), z.unknown())\n .describe(\n 'Evaluator config object. Must include \"evaluatorType\" (e.g. \"langevals/llm_boolean\") and optional \"settings\" overrides.'\n ),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleCreateEvaluator } = await import(\n \"./tools/create-evaluator.js\"\n );\n return {\n content: [{ type: \"text\", text: await handleCreateEvaluator(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_list_evaluators\",\n \"List all evaluators configured on the LangWatch platform.\",\n {},\n async () => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleListEvaluators } = await import(\n \"./tools/list-evaluators.js\"\n );\n return {\n content: [{ type: \"text\", text: await handleListEvaluators() }],\n };\n }\n);\n\nserver.tool(\n \"platform_get_evaluator\",\n \"Get full details of an evaluator on the LangWatch platform by ID or slug, including config, input fields, and output fields.\",\n {\n idOrSlug: z.string().describe(\"The evaluator ID or slug to retrieve\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleGetEvaluator } = await import(\"./tools/get-evaluator.js\");\n return {\n content: [{ type: \"text\", text: await handleGetEvaluator(params) }],\n };\n }\n);\n\nserver.tool(\n \"platform_update_evaluator\",\n \"Update an existing evaluator on the LangWatch platform. The evaluatorType in config cannot be changed after creation.\",\n {\n evaluatorId: z.string().describe(\"The evaluator ID to update\"),\n name: z.string().optional().describe(\"Updated evaluator name\"),\n config: z\n .record(z.string(), z.unknown())\n .optional()\n .describe(\n \"Updated config settings. Note: evaluatorType cannot be changed after creation.\"\n ),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleUpdateEvaluator } = await import(\n \"./tools/update-evaluator.js\"\n );\n return {\n content: [{ type: \"text\", text: await handleUpdateEvaluator(params) }],\n };\n }\n);\n\n// --- Platform Model Provider Tools (require API key) ---\n// These tools manage model provider API keys on the LangWatch platform.\n\nserver.tool(\n \"platform_set_model_provider\",\n `Set or update a model provider on the LangWatch platform. Use this to configure API keys (e.g. OPENAI_API_KEY) needed to run evaluators. The API key is stored securely and never returned in responses. Omit customKeys to update other settings without changing existing keys.`,\n {\n provider: z\n .string()\n .describe(\n 'Provider name, e.g., \"openai\", \"anthropic\", \"azure\", \"custom\"'\n ),\n enabled: z.boolean().describe(\"Whether the provider is enabled\"),\n customKeys: z\n .record(z.string(), z.unknown())\n .optional()\n .describe(\n 'API key configuration, e.g. { \"OPENAI_API_KEY\": \"sk-...\" }. Omit to keep existing keys.'\n ),\n defaultModel: z\n .string()\n .optional()\n .describe(\"Set as project default model\"),\n },\n async (params) => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleSetModelProvider } = await import(\n \"./tools/set-model-provider.js\"\n );\n return {\n content: [\n { type: \"text\", text: await handleSetModelProvider(params) },\n ],\n };\n }\n);\n\nserver.tool(\n \"platform_list_model_providers\",\n \"List all model providers configured on the LangWatch platform. API keys are masked in the response.\",\n {},\n async () => {\n const { requireApiKey } = await import(\"./config.js\");\n requireApiKey();\n const { handleListModelProviders } = await import(\n \"./tools/list-model-providers.js\"\n );\n return {\n content: [{ type: \"text\", text: await handleListModelProviders() }],\n };\n }\n);\n\nawait server.connect(transport);\n","{\n \"name\": \"@langwatch/mcp-server\",\n \"version\": \"0.6.1\",\n \"description\": \"An MCP server for Langwatch.\",\n \"type\": \"module\",\n \"main\": \"./dist/index.js\",\n \"module\": \"./dist/index.mjs\",\n \"types\": \"./dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"import\": \"./dist/index.mjs\",\n \"require\": \"./dist/index.js\"\n }\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/langwatch/langwatch.git\",\n \"directory\": \"mcp-server\"\n },\n \"scripts\": {\n \"start\": \"tsx src/index.ts\",\n \"build\": \"tsup && node build.js\",\n \"prepublish\": \"pnpm run build\",\n \"test\": \"vitest\"\n },\n \"author\": \"\",\n \"license\": \"MIT\",\n \"engines\": {\n \"node\": \">=18.0.0\"\n },\n \"devDependencies\": {\n \"@ai-sdk/anthropic\": \"^3.0.44\",\n \"@anthropic-ai/claude-code\": \"^2.1.72\",\n \"@eslint/js\": \"^9.4.0\",\n \"@langwatch/scenario\": \"^0.4.6\",\n \"@types/debug\": \"^4.1.12\",\n \"@types/eslint__js\": \"^8.42.3\",\n \"@types/node\": \"^16.0.0\",\n \"@types/yargs\": \"^17.0.33\",\n \"@typescript/native-preview\": \"7.0.0-dev.20250911.1\",\n \"ai\": \"^6.0.0\",\n \"dotenv\": \"^17.2.2\",\n \"esbuild\": \"^0.25.0\",\n \"eslint\": \"^8.57.0\",\n \"tsup\": \"^8.1.0\",\n \"tsx\": \"^4.20.5\",\n \"typescript\": \"^5.0.0\",\n \"typescript-eslint\": \"^8.55.0\"\n },\n \"pnpm\": {\n \"overrides\": {\n \"express-rate-limit@>=8.2.0 <8.2.2\": \"8.2.2\",\n \"glob@>=10.2.0 <10.5.0\": \"10.5.0\"\n }\n },\n \"dependencies\": {\n \"@modelcontextprotocol/sdk\": \"^1.26.0\",\n \"@opentelemetry/context-async-hooks\": \"^2.1.0\",\n \"@opentelemetry/sdk-node\": \"^0.204.0\",\n \"chalk\": \"^5.6.2\",\n \"date-fns\": \"^4.1.0\",\n \"node-pty\": \"^1.0.0\",\n \"vitest\": \"^3.2.4\",\n \"yargs\": \"^17.7.2\",\n \"zod\": \"^4.3.6\",\n \"zod-validation-error\": \"^5.0.0\"\n },\n \"bin\": {\n \"langwatch-mcp-server\": \"./dist/index.js\"\n }\n}\n"],"mappings":";;;;;AAAA,SAAS,iBAAiB;AAC1B,SAAS,4BAA4B;AACrC,OAAO,WAAW;AAClB,SAAS,eAAe;AACxB,SAAS,SAAS;;;ACJlB;AAAA,EACE,MAAQ;AAAA,EACR,SAAW;AAAA,EACX,aAAe;AAAA,EACf,MAAQ;AAAA,EACR,MAAQ;AAAA,EACR,QAAU;AAAA,EACV,OAAS;AAAA,EACT,SAAW;AAAA,IACT,KAAK;AAAA,MACH,QAAU;AAAA,MACV,SAAW;AAAA,IACb;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