@smithery/sdk 0.0.8 → 0.0.9
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 +3 -1
- package/dist/index.js +3 -0
- package/dist/registry-types.d.ts +2 -2
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,9 @@ import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
|
3
3
|
import type { RequestOptions } from "@modelcontextprotocol/sdk/shared/protocol.js";
|
|
4
4
|
import type { Transport } from "@modelcontextprotocol/sdk/shared/transport.js";
|
|
5
5
|
import { type CallToolRequest, CallToolResultSchema, type CompatibilityCallToolResultSchema, type ListToolsRequest, type Tool } from "@modelcontextprotocol/sdk/types.js";
|
|
6
|
+
export { createTransport, createStdioConfig, fetchRegistryEntry } from "./registry.js";
|
|
7
|
+
export { OpenAIChatAdapter } from "./integrations/llm/openai.js";
|
|
8
|
+
export { AnthropicChatAdapter } from "./integrations/llm/anthropic.js";
|
|
6
9
|
interface ClientInfo {
|
|
7
10
|
name: string;
|
|
8
11
|
version: string;
|
|
@@ -184,4 +187,3 @@ export declare class MultiClient implements Pick<Client, "callTool" | "listTools
|
|
|
184
187
|
}>, import("zod").ZodTypeAny, "passthrough">>;
|
|
185
188
|
close(): Promise<void>;
|
|
186
189
|
}
|
|
187
|
-
export {};
|
package/dist/index.js
CHANGED
|
@@ -2,6 +2,9 @@ import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
|
2
2
|
import { InMemoryTransport } from "@modelcontextprotocol/sdk/inMemory.js";
|
|
3
3
|
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
4
4
|
import { CallToolResultSchema, } from "@modelcontextprotocol/sdk/types.js";
|
|
5
|
+
export { createTransport, createStdioConfig, fetchRegistryEntry } from "./registry.js";
|
|
6
|
+
export { OpenAIChatAdapter } from "./integrations/llm/openai.js";
|
|
7
|
+
export { AnthropicChatAdapter } from "./integrations/llm/anthropic.js";
|
|
5
8
|
/**
|
|
6
9
|
* A client that connects to multiple MCPs and provides a unified interface for
|
|
7
10
|
* accessing their tools, treating them as a single MCP.
|
package/dist/registry-types.d.ts
CHANGED
|
@@ -107,8 +107,8 @@ export declare const RegistryServerSchema: z.ZodObject<{
|
|
|
107
107
|
};
|
|
108
108
|
}>]>>, "many">;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
name: string;
|
|
111
110
|
id: string;
|
|
111
|
+
name: string;
|
|
112
112
|
sourceUrl: string;
|
|
113
113
|
homepage: string;
|
|
114
114
|
connections: ({
|
|
@@ -127,8 +127,8 @@ export declare const RegistryServerSchema: z.ZodObject<{
|
|
|
127
127
|
vendor?: string | undefined;
|
|
128
128
|
license?: string | undefined;
|
|
129
129
|
}, {
|
|
130
|
-
name: string;
|
|
131
130
|
id: string;
|
|
131
|
+
name: string;
|
|
132
132
|
sourceUrl: string;
|
|
133
133
|
homepage: string;
|
|
134
134
|
connections: ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithery/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "Connect language models to Model Context Protocols",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -27,16 +27,17 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@anthropic-ai/sdk": "^0.32.1",
|
|
30
|
+
"@icons-pack/react-simple-icons": "^10.2.0",
|
|
30
31
|
"@modelcontextprotocol/sdk": "^1.0.3",
|
|
31
32
|
"openai": "^4.0.0",
|
|
32
33
|
"uuid": "^11.0.3"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
36
|
+
"@smithery/mcp-e2b": "*",
|
|
37
|
+
"@smithery/mcp-exa": "*",
|
|
35
38
|
"@types/eventsource": "^1.1.15",
|
|
36
39
|
"@types/node": "^20.0.0",
|
|
37
40
|
"@types/uuid": "^9.0.7",
|
|
38
|
-
"@smithery/mcp-e2b": "*",
|
|
39
|
-
"@smithery/mcp-exa": "*",
|
|
40
41
|
"dotenv": "^16.4.7",
|
|
41
42
|
"eventsource": "^2.0.2",
|
|
42
43
|
"tsx": "^4.19.2",
|