@corsair-dev/mcp 0.1.2 → 0.1.3

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.
@@ -1,3 +1,3 @@
1
- import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
- export declare function runStdioMcpServer(server: McpServer): Promise<void>;
1
+ import type { BaseMcpOptions } from './adapters.js';
2
+ export declare function runStdioMcpServer(options: BaseMcpOptions): Promise<void>;
3
3
  //# sourceMappingURL=stdio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stdio.d.ts","sourceRoot":"","sources":["../../src/core/stdio.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAGzE,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAGxE"}
1
+ {"version":3,"file":"stdio.d.ts","sourceRoot":"","sources":["../../src/core/stdio.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGpD,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAI9E"}
package/dist/index.js CHANGED
@@ -218,7 +218,8 @@ function createMcpRouter(createServer) {
218
218
 
219
219
  // src/core/stdio.ts
220
220
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
221
- async function runStdioMcpServer(server) {
221
+ async function runStdioMcpServer(options) {
222
+ const server = createBaseMcpServer(options);
222
223
  const transport = new StdioServerTransport();
223
224
  await server.connect(transport);
224
225
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corsair-dev/mcp",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Base MCP server and SDK extensions for Corsair (workflows, cron, permissions)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",