@corsair-dev/mcp 0.1.25 → 0.1.27

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/README.md ADDED
@@ -0,0 +1,87 @@
1
+ # @corsair-dev/mcp
2
+
3
+ MCP server and framework adapters for [Corsair](https://corsair.dev), the open-source integration layer for AI agents. Give any agent framework 200+ integrations as tools with a single adapter call.
4
+
5
+ [![npm](https://img.shields.io/npm/v/@corsair-dev/mcp)](https://www.npmjs.com/package/@corsair-dev/mcp)
6
+ [![license](https://img.shields.io/badge/license-Apache--2.0-blue)](https://github.com/corsairdev/corsair/blob/main/LICENSE)
7
+ [![Discord](https://img.shields.io/badge/Discord-join-5865F2?logo=discord&logoColor=white)](https://discord.gg/uNgCP3mSzU)
8
+
9
+ Corsair handles the parts of an integration you would rather not maintain: OAuth, token refresh, webhook verification, and rate limits. Credentials stay encrypted in your own database. This package puts all of that behind the tool interface your agent framework already speaks.
10
+
11
+ ## Install
12
+
13
+ ```bash
14
+ npm install @corsair-dev/mcp
15
+ ```
16
+
17
+ Install the framework you use alongside it. The Mastra quickstart below needs `npm install @mastra/core @ai-sdk/anthropic`. Each adapter treats its framework as an optional peer dependency.
18
+
19
+ ## Quickstart
20
+
21
+ Build tools from a configured `corsair` instance and hand them to a Mastra agent:
22
+
23
+ ```ts
24
+ import { Agent } from '@mastra/core/agent';
25
+ import { anthropic } from '@ai-sdk/anthropic';
26
+ import { MastraProvider } from '@corsair-dev/mcp';
27
+ import { corsair } from './corsair';
28
+
29
+ const provider = new MastraProvider();
30
+ const tools = await provider.build({ corsair });
31
+
32
+ const agent = new Agent({
33
+ name: 'corsair-agent',
34
+ model: anthropic('claude-sonnet-4-6'),
35
+ instructions:
36
+ 'You have Corsair tools. Use list_operations to discover APIs, get_schema to read arguments, and run_script to execute.',
37
+ tools: Object.fromEntries(tools.map((t) => [t.id, t])),
38
+ });
39
+
40
+ const response = await agent.generate('List all Slack channels.');
41
+ console.log(response.text);
42
+ ```
43
+
44
+ Setting up the `corsair` instance is covered in the [setup guide](https://docs.corsair.dev/hub/setup).
45
+
46
+ ## Adapters
47
+
48
+ Each adapter exposes Corsair's tools in the shape its framework expects, so there is no manual schema wiring. More frameworks are on the way.
49
+
50
+ | Adapter | Use case |
51
+ |---|---|
52
+ | [Anthropic SDK](https://docs.corsair.dev/mcp-adapters/anthropic-sdk) | Native tool use with Claude models |
53
+ | [Claude Agent SDK](https://docs.corsair.dev/mcp-adapters/claude-sdk) | In-process MCP with the Claude Agent SDK |
54
+ | [OpenAI Agents](https://docs.corsair.dev/mcp-adapters/openai) | OpenAI Agents SDK tools |
55
+ | [OpenAI](https://docs.corsair.dev/mcp-adapters/openai) | OpenAI function calling |
56
+ | [Vercel AI SDK](https://docs.corsair.dev/mcp-adapters/vercel-ai) | Tools for `useChat` and `streamText` |
57
+ | [Mastra](https://docs.corsair.dev/mcp-adapters/mastra) | Mastra agent tools |
58
+
59
+ Full list and options: [docs.corsair.dev/mcp-adapters](https://docs.corsair.dev/mcp-adapters/mcp-adapters).
60
+
61
+ ## How it works
62
+
63
+ Every adapter exposes the same three tools, so the agent works the same way across 200+ integrations instead of reading a flat list of every endpoint:
64
+
65
+ | Tool | What it does |
66
+ |---|---|
67
+ | `list_operations` | Discover the available API endpoints |
68
+ | `get_schema` | Inspect the parameters for one endpoint |
69
+ | `run_script` | Execute a call with `corsair` in scope |
70
+
71
+ The agent calls `list_operations` to find what it can do, `get_schema` to learn the arguments, then `run_script` to run it. Add a plugin and its endpoints show up with no code change.
72
+
73
+ `run_script` evaluates the model's JavaScript in your process with the `corsair` instance in scope. It is not a sandbox, so keep the caller trusted, the same as any code your agent runs. Build the tools with `runOptions: { readonly: true }` to block write and destructive Corsair endpoints; note this restricts Corsair calls only, not other side effects in the script.
74
+
75
+ For coding agents over stdio (Claude Code, Cursor, Codex), see [Coding agents](https://docs.corsair.dev/mcp-adapters/claude-code).
76
+
77
+ ## Links
78
+
79
+ - Docs: https://docs.corsair.dev
80
+ - Adapters: https://docs.corsair.dev/mcp-adapters/mcp-adapters
81
+ - Repository: https://github.com/corsairdev/corsair
82
+ - Discord: https://discord.gg/uNgCP3mSzU
83
+ - X: https://x.com/corsairdotdev
84
+
85
+ ## License
86
+
87
+ Apache-2.0. See [LICENSE](https://github.com/corsairdev/corsair/blob/main/LICENSE).
@@ -1 +1 @@
1
- {"version":3,"file":"anthropic-api.d.ts","sourceRoot":"","sources":["../../src/adapters/anthropic-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAGxD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAKvD,KAAK,oBAAoB,GAAG,IAAI,GAAG;IAClC,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACxD,KAAK,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACrD,CAAC;AAEF,qBAAa,iBAAkB,SAAQ,YAAY,CAAC,oBAAoB,CAAC;IACxE,QAAQ,CAAC,IAAI,eAAe;IAE5B,QAAQ,CAAC,GAAG,EAAE,cAAc,GAAG,oBAAoB;CAuBnD"}
1
+ {"version":3,"file":"anthropic-api.d.ts","sourceRoot":"","sources":["../../src/adapters/anthropic-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAGxD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAKvD,KAAK,oBAAoB,GAAG,IAAI,GAAG;IAClC,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACxD,KAAK,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACrD,CAAC;AAEF,qBAAa,iBAAkB,SAAQ,YAAY,CAAC,oBAAoB,CAAC;IACxE,QAAQ,CAAC,IAAI,eAAe;IAE5B,QAAQ,CAAC,GAAG,EAAE,cAAc,GAAG,oBAAoB;CAoBnD"}
@@ -1 +1 @@
1
- {"version":3,"file":"mastra.d.ts","sourceRoot":"","sources":["../../src/adapters/mastra.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAK1D,qBAAa,cAAc;IAC1B,QAAQ,CAAC,IAAI,YAAY;IAEnB,KAAK,CAAC,OAAO,EAAE,cAAc;CA2BnC"}
1
+ {"version":3,"file":"mastra.d.ts","sourceRoot":"","sources":["../../src/adapters/mastra.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAM1D,qBAAa,cAAc;IAC1B,QAAQ,CAAC,IAAI,YAAY;IAEnB,KAAK,CAAC,OAAO,EAAE,cAAc;CAuBnC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ollama.d.ts","sourceRoot":"","sources":["../../src/adapters/ollama.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACpC,CAAC;IACF,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CAC5D,CAAC;AAKF,qBAAa,cAAe,SAAQ,YAAY,CAAC,iBAAiB,CAAC;IAClE,QAAQ,CAAC,IAAI,YAAY;IAEzB,QAAQ,CAAC,GAAG,EAAE,cAAc,GAAG,iBAAiB;CAqChD"}
1
+ {"version":3,"file":"ollama.d.ts","sourceRoot":"","sources":["../../src/adapters/ollama.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACpC,CAAC;IACF,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CAC5D,CAAC;AAKF,qBAAa,cAAe,SAAQ,YAAY,CAAC,iBAAiB,CAAC;IAClE,QAAQ,CAAC,IAAI,YAAY;IAEzB,QAAQ,CAAC,GAAG,EAAE,cAAc,GAAG,iBAAiB;CAkChD"}
@@ -1 +1 @@
1
- {"version":3,"file":"openai-agents.d.ts","sourceRoot":"","sources":["../../src/adapters/openai-agents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAI1D,MAAM,MAAM,2BAA2B,GAAG,cAAc,GAAG;IAC1D,IAAI,EAAE,OAAO,UAAU,CAAC;CACxB,CAAC;AAEF,qBAAa,oBAAoB;IAChC,QAAQ,CAAC,IAAI,mBAAmB;IAEhC,KAAK,CAAC,OAAO,EAAE,2BAA2B,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE;CA0C5D"}
1
+ {"version":3,"file":"openai-agents.d.ts","sourceRoot":"","sources":["../../src/adapters/openai-agents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAK1D,MAAM,MAAM,2BAA2B,GAAG,cAAc,GAAG;IAC1D,IAAI,EAAE,OAAO,UAAU,CAAC;CACxB,CAAC;AAEF,qBAAa,oBAAoB;IAChC,QAAQ,CAAC,IAAI,mBAAmB;IAEhC,KAAK,CAAC,OAAO,EAAE,2BAA2B,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE;CAuC5D"}
@@ -0,0 +1,8 @@
1
+ import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
2
+ export declare function isAgentFacingActionMessage(value: unknown): value is string;
3
+ export declare function isActionToolError(err: unknown): boolean;
4
+ export declare function toolErrorResult(message: string): CallToolResult;
5
+ export declare function formatRunScriptResult(result: unknown): CallToolResult;
6
+ export declare function formatRunScriptError(err: unknown): CallToolResult;
7
+ export declare function callToolResultToText(result: CallToolResult): string;
8
+ //# sourceMappingURL=tool-result.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-result.d.ts","sourceRoot":"","sources":["../../src/core/tool-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAGzE,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAc1E;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAMvD;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,CAK/D;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,OAAO,GAAG,cAAc,CAarE;AAED,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,OAAO,GAAG,cAAc,CAYjE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,CAWnE"}
@@ -1,6 +1,7 @@
1
1
  import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
2
2
  import { z } from 'zod';
3
3
  import type { BaseMcpOptions } from './adapters.js';
4
+ export { callToolResultToText, formatRunScriptError, formatRunScriptResult, isActionToolError, isAgentFacingActionMessage, toolErrorResult, } from './tool-result.js';
4
5
  export type CorsairToolDef = {
5
6
  name: string;
6
7
  description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/core/tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAGzE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGpD,MAAM,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,CAAC,CAAC,WAAW,CAAC;IACrB,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;CACpE,CAAC;AAEF,wBAAgB,oBAAoB,CACnC,OAAO,EAAE,cAAc,GACrB,cAAc,EAAE,CAuGlB"}
1
+ {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/core/tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAGzE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAIpD,OAAO,EACN,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,0BAA0B,EAC1B,eAAe,GACf,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,CAAC,CAAC,WAAW,CAAC;IACrB,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;CACpE,CAAC;AAEF,wBAAgB,oBAAoB,CACnC,OAAO,EAAE,cAAc,GACrB,cAAc,EAAE,CAkFlB"}
package/dist/index.js CHANGED
@@ -21,6 +21,55 @@ function formatGetSchemaResponse(corsair, path) {
21
21
  return getSchema(corsair, path);
22
22
  }
23
23
 
24
+ // src/core/tool-result.ts
25
+ import { AuthMissingError, PermissionRequiredError } from "corsair";
26
+ function isAgentFacingActionMessage(value) {
27
+ if (typeof value !== "string") {
28
+ return false;
29
+ }
30
+ return value.includes("[auth-missing:") || value.startsWith("Approval required. Visit") || value.includes(" requires user approval before it can run") || value.includes(" was denied by the user") || value.includes(" is blocked by the permission policy") || value.includes(" timed out waiting for approval") || value.includes("Could not create approval link");
31
+ }
32
+ function isActionToolError(err) {
33
+ return err instanceof AuthMissingError || err instanceof PermissionRequiredError || err instanceof Error && isAgentFacingActionMessage(err.message);
34
+ }
35
+ function toolErrorResult(message) {
36
+ return {
37
+ isError: true,
38
+ content: [{ type: "text", text: message }]
39
+ };
40
+ }
41
+ function formatRunScriptResult(result) {
42
+ if (isAgentFacingActionMessage(result)) {
43
+ return toolErrorResult(result);
44
+ }
45
+ return {
46
+ content: [
47
+ {
48
+ type: "text",
49
+ text: JSON.stringify(result ?? null, null, 2)
50
+ }
51
+ ]
52
+ };
53
+ }
54
+ function formatRunScriptError(err) {
55
+ const message = err instanceof Error ? err.message : String(err);
56
+ if (isActionToolError(err)) {
57
+ return toolErrorResult(message);
58
+ }
59
+ const extra = err instanceof Error && err.cause ? `
60
+ Cause: ${String(err.cause)}` : "";
61
+ const full = JSON.stringify(err, Object.getOwnPropertyNames(err));
62
+ return toolErrorResult(`Error running snippet: ${message}${extra}
63
+ ${full}`);
64
+ }
65
+ function callToolResultToText(result) {
66
+ const text = result.content.filter((c) => c.type === "text").map((c) => "text" in c ? c.text : "").join("\n");
67
+ if (result.isError) {
68
+ throw new Error(text);
69
+ }
70
+ return text;
71
+ }
72
+
24
73
  // src/core/tools.ts
25
74
  function buildCorsairToolDefs(options) {
26
75
  const { corsair, runOptions } = options;
@@ -77,29 +126,9 @@ function buildCorsairToolDefs(options) {
77
126
  );
78
127
  const invoke = () => fn(corsair);
79
128
  const result = readonly ? await runReadonly(invoke) : await invoke();
80
- return {
81
- content: [
82
- {
83
- type: "text",
84
- text: JSON.stringify(result ?? null, null, 2)
85
- }
86
- ]
87
- };
129
+ return formatRunScriptResult(result);
88
130
  } catch (err) {
89
- const message = err instanceof Error ? err.message : String(err);
90
- const extra = err instanceof Error && err.cause ? `
91
- Cause: ${String(err.cause)}` : "";
92
- const full = JSON.stringify(err, Object.getOwnPropertyNames(err));
93
- return {
94
- isError: true,
95
- content: [
96
- {
97
- type: "text",
98
- text: `Error running snippet: ${message}${extra}
99
- ${full}`
100
- }
101
- ]
102
- };
131
+ return formatRunScriptError(err);
103
132
  }
104
133
  }
105
134
  }
@@ -127,7 +156,7 @@ var AnthropicProvider = class extends BaseProvider {
127
156
  run: async (args) => {
128
157
  try {
129
158
  const result = await def.handler(args);
130
- return result.content.filter((c) => c.type === "text").map((c) => "text" in c ? c.text : "").join("\n");
159
+ return callToolResultToText(result);
131
160
  } catch (err) {
132
161
  const message = err instanceof Error ? err.message : String(err);
133
162
  return `Error: ${message}`;
@@ -172,11 +201,7 @@ var MastraProvider = class {
172
201
  const result = await def.handler(
173
202
  inputData
174
203
  );
175
- const textItems = result.content.filter((c) => c.type === "text");
176
- if (result.isError) {
177
- throw new Error(textItems.map((c) => c.text).join("\n"));
178
- }
179
- const text = textItems[0]?.text ?? "";
204
+ const text = callToolResultToText(result);
180
205
  try {
181
206
  return JSON.parse(text);
182
207
  } catch {
@@ -215,7 +240,7 @@ var OllamaProvider = class extends BaseProvider {
215
240
  const raw = typeof args === "string" ? JSON.parse(args) : args;
216
241
  const validated = z5.object(def.shape).parse(raw);
217
242
  const result = await def.handler(validated);
218
- return result.content.filter((c) => c.type === "text").map((c) => "text" in c ? c.text : "").join("\n");
243
+ return callToolResultToText(result);
219
244
  } catch (err) {
220
245
  const message = err instanceof Error ? err.message : String(err);
221
246
  return `Error: ${message}`;
@@ -260,7 +285,7 @@ var OpenAIAgentsProvider = class {
260
285
  }
261
286
  const args = z6.object(def.shape).parse(raw);
262
287
  const result = await def.handler(args);
263
- return result.content.filter((c) => c.type === "text").map((c) => "text" in c ? c.text : "").join("\n");
288
+ return callToolResultToText(result);
264
289
  } catch (err) {
265
290
  const message = err instanceof Error ? err.message : String(err);
266
291
  return `Error: ${message}`;
package/package.json CHANGED
@@ -1,7 +1,27 @@
1
1
  {
2
2
  "name": "@corsair-dev/mcp",
3
- "version": "0.1.25",
4
- "description": "MCP server and SDK adapters for Corsair — list operations, inspect schemas, run API calls",
3
+ "version": "0.1.27",
4
+ "description": "MCP server and framework adapters for Corsair. Expose 200+ integrations to any agent framework (Mastra, OpenAI, Vercel AI, Claude) as tools.",
5
+ "keywords": [
6
+ "mcp",
7
+ "model-context-protocol",
8
+ "ai-agents",
9
+ "tools",
10
+ "tool-calling",
11
+ "mastra",
12
+ "openai",
13
+ "vercel-ai",
14
+ "integrations",
15
+ "corsair"
16
+ ],
17
+ "author": "Corsair (https://corsair.dev)",
18
+ "license": "Apache-2.0",
19
+ "homepage": "https://corsair.dev",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/corsairdev/corsair.git",
23
+ "directory": "packages/mcp"
24
+ },
5
25
  "type": "module",
6
26
  "main": "./dist/index.js",
7
27
  "module": "./dist/index.js",
@@ -21,7 +41,7 @@
21
41
  "@modelcontextprotocol/sdk": "^1.27.1",
22
42
  "express": "^4.21.0",
23
43
  "zod": "^4.1.13",
24
- "corsair": "0.1.107"
44
+ "corsair": "0.1.126"
25
45
  },
26
46
  "peerDependencies": {
27
47
  "@anthropic-ai/claude-agent-sdk": ">=0.2.0",