@smithery/sdk 0.0.7 → 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 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.
@@ -63,7 +63,7 @@ export declare const RegistryServerSchema: z.ZodObject<{
63
63
  name: z.ZodString;
64
64
  verified: z.ZodOptional<z.ZodBoolean>;
65
65
  description: z.ZodOptional<z.ZodString>;
66
- vendor: z.ZodString;
66
+ vendor: z.ZodOptional<z.ZodString>;
67
67
  sourceUrl: z.ZodString;
68
68
  license: z.ZodOptional<z.ZodString>;
69
69
  homepage: z.ZodString;
@@ -107,9 +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;
112
- vendor: string;
111
+ name: string;
113
112
  sourceUrl: string;
114
113
  homepage: string;
115
114
  connections: ({
@@ -125,11 +124,11 @@ export declare const RegistryServerSchema: z.ZodObject<{
125
124
  }))[];
126
125
  description?: string | undefined;
127
126
  verified?: boolean | undefined;
127
+ vendor?: string | undefined;
128
128
  license?: string | undefined;
129
129
  }, {
130
- name: string;
131
130
  id: string;
132
- vendor: string;
131
+ name: string;
133
132
  sourceUrl: string;
134
133
  homepage: string;
135
134
  connections: ({
@@ -145,6 +144,7 @@ export declare const RegistryServerSchema: z.ZodObject<{
145
144
  }))[];
146
145
  description?: string | undefined;
147
146
  verified?: boolean | undefined;
147
+ vendor?: string | undefined;
148
148
  license?: string | undefined;
149
149
  }>;
150
150
  export type RegistryServer = z.infer<typeof RegistryServerSchema>;
@@ -49,7 +49,7 @@ export const RegistryServerSchema = z.object({
49
49
  .string()
50
50
  .optional()
51
51
  .describe("A concise description of the MCP server for end-users."),
52
- vendor: z.string().describe("The name of the author of the MCP."),
52
+ vendor: z.string().describe("The name of the author of the MCP.").optional(),
53
53
  sourceUrl: z
54
54
  .string()
55
55
  .describe("A URL to the official page of the MCP repository."),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithery/sdk",
3
- "version": "0.0.7",
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",