@interopio/mcp-web 0.1.0-beta.0

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/mcp-web.d.ts ADDED
@@ -0,0 +1,40 @@
1
+ import { IOConnectBrowser } from "@interopio/browser";
2
+ import { IOConnectDesktop } from "@interopio/desktop";
3
+ import { IoIntelMCPCore } from "@interopio/mcp-core";
4
+ import { Client as MCPClient } from "@modelcontextprotocol/sdk/client/index.js";
5
+
6
+ export namespace IoIntelMCPWeb {
7
+ export namespace Client {
8
+ export interface Config {
9
+ enforceStrictCapabilities?: boolean; // default: true
10
+ debouncedNotificationMethods?: string[]; // default: []
11
+ capabilities: {
12
+ sampling?: Record<string, any>;
13
+ elicitation?: Record<string, any>;
14
+ experimental?: Record<string, any>;
15
+ }
16
+ }
17
+
18
+ export interface API {
19
+ mcpClient: MCPClient;
20
+ }
21
+ }
22
+
23
+ export namespace Server {
24
+ export interface Config {
25
+ licenseKey: string;
26
+ mcpCoreServer?: Omit<IoIntelMCPCore.McpServerConfig, "name" | "title">;
27
+ mcpWorkingContext?: IoIntelMCPCore.WorkingContextConfig;
28
+ }
29
+ }
30
+ }
31
+
32
+ export type IoIntelMCPWebClientFactoryFunction = (io: IOConnectBrowser.API | IOConnectDesktop.API, config: IoIntelMCPWeb.Client.Config) => Promise<IoIntelMCPWeb.Client.API>;
33
+
34
+ export type IoIntelMCPWebServerFactoryFunction = (io: IOConnectBrowser.API | IOConnectDesktop.API, config: IoIntelMCPWeb.Server.Config) => Promise<void>;
35
+
36
+ declare const ClientFactory: IoIntelMCPWebClientFactoryFunction;
37
+
38
+ declare const ServerFactory: IoIntelMCPWebServerFactoryFunction;
39
+
40
+ export { ClientFactory, ServerFactory };
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "@interopio/mcp-web",
3
+ "version": "0.1.0-beta.0",
4
+ "type": "module",
5
+ "description": "MCP Web Client and Server",
6
+ "main": "./dist/mcp-web.umd.js",
7
+ "module": "./dist/mcp-web.es.js",
8
+ "types": "./mcp-web.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./mcp-web.d.ts",
12
+ "import": "./dist/mcp-web.es.js",
13
+ "require": "./dist/mcp-web.umd.js"
14
+ }
15
+ },
16
+ "scripts": {
17
+ "build": "rollup -c",
18
+ "build:docker": "rollup -c",
19
+ "version": "npm run build"
20
+ },
21
+ "dependencies": {
22
+ "@interopio/browser": "^4.0.0",
23
+ "@interopio/desktop": "^6.0.0",
24
+ "@interopio/mcp-core": "^0.1.0-beta.0",
25
+ "@modelcontextprotocol/sdk": "^1.19.1"
26
+ },
27
+ "keywords": [
28
+ "ai",
29
+ "llm",
30
+ "agentic",
31
+ "copilot",
32
+ "assistant",
33
+ "io.Intelligence",
34
+ "io.connect",
35
+ "interop.io",
36
+ "io.connect browser",
37
+ "io.connect desktop",
38
+ "io.connect browser platform"
39
+ ],
40
+ "homepage": "https://interop.io/",
41
+ "author": {
42
+ "name": "Interop.IO",
43
+ "url": "https://interop.io/"
44
+ },
45
+ "publishConfig": {
46
+ "@interopio:registry": "https://registry.npmjs.org",
47
+ "access": "public"
48
+ },
49
+ "license": "MIT",
50
+ "gitHead": "c854d0327acdf587d4222a0c71f7a8869bbe4d22"
51
+ }