@sit-onyx/modelcontextprotocol 0.0.0 → 0.1.0-dev-20260409085107

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/index.d.ts CHANGED
@@ -1,4 +1,20 @@
1
- import { run as http } from "./server/http.js";
2
- import { server } from "./server/server.js";
3
- import { run as stdio } from "./server/stdio.js";
4
- export { http, server, stdio };
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+
3
+ /**
4
+ * MCP server running as a http server.
5
+ * `HOST` and `PORT` environment variable can be used to change the server settings.
6
+ */
7
+ export declare const http: () => Promise<void>;
8
+
9
+ /**
10
+ * Internal McpServer, which provides the MCP resources.
11
+ */
12
+ export declare const server: McpServer;
13
+
14
+ /**
15
+ * MCP server running via stdio.
16
+ * All logging has to use stderr, otherwise the logging to stdio will break the transport.
17
+ */
18
+ export declare const stdio: () => Promise<void>;
19
+
20
+ export { }