@sit-onyx/modelcontextprotocol 0.1.0 → 0.1.1-dev-20260622141700

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.
@@ -0,0 +1,12 @@
1
+ export declare const USER_AGENT: string;
2
+ export declare const REGISTRY_URL: string;
3
+ /**
4
+ * Minimum `sit-onyx` version that provides the `component-meta.json` file
5
+ */
6
+ export declare const SIT_ONYX_MIN_VERSION = "1.12.0";
7
+ export declare const SIT_ONYX_COMPONENT_META_FILE = "package/dist/component-meta.json";
8
+ /**
9
+ * Minimum `@sit-onyx/icons` version that provides the `metadata.json` file
10
+ */
11
+ export declare const SIT_ONYX_ICONS_MIN_VERSION = "1.9.0";
12
+ export declare const SIT_ONYX_ICONS_METADATA_FILE = "package/dist/metadata.json";
package/dist/index.d.ts CHANGED
@@ -1,22 +1,4 @@
1
- import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
- import { McpServer as McpServer_2 } from '@modelcontextprotocol/sdk/server/mcp';
3
-
4
- export declare const createServer: ({ resourcesAsTools }: CreateServerOptions) => McpServer;
5
-
6
- declare type CreateServerOptions = {
7
- resourcesAsTools: boolean;
8
- };
9
-
10
- /**
11
- * MCP server running as a http server.
12
- * `HOST` and `PORT` environment variable can be used to change the server settings.
13
- */
14
- export declare const http: (server: McpServer_2) => Promise<void>;
15
-
16
- /**
17
- * MCP server running via stdio.
18
- * All logging has to use stderr, otherwise the logging to stdio will break the transport.
19
- */
20
- export declare const stdio: (server: McpServer_2) => Promise<void>;
21
-
22
- export { }
1
+ import { run as http } from './server/http.js';
2
+ import { createServer } from './server/server.js';
3
+ import { run as stdio } from './server/stdio.js';
4
+ export { createServer, http, stdio };