@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.
- package/dist/core/stdio.d.ts +2 -2
- package/dist/core/stdio.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/core/stdio.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare function runStdioMcpServer(
|
|
1
|
+
import type { BaseMcpOptions } from './adapters.js';
|
|
2
|
+
export declare function runStdioMcpServer(options: BaseMcpOptions): Promise<void>;
|
|
3
3
|
//# sourceMappingURL=stdio.d.ts.map
|
package/dist/core/stdio.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stdio.d.ts","sourceRoot":"","sources":["../../src/core/stdio.ts"],"names":[],"mappings":"
|
|
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(
|
|
221
|
+
async function runStdioMcpServer(options) {
|
|
222
|
+
const server = createBaseMcpServer(options);
|
|
222
223
|
const transport = new StdioServerTransport();
|
|
223
224
|
await server.connect(transport);
|
|
224
225
|
}
|