@cloudbase/cloudbase-mcp 2.33.0 → 2.33.2

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
@@ -98,6 +98,7 @@ export declare function createCloudBaseMcpServer(options?: {
98
98
  authOptions?: AuthOptions;
99
99
  cloudMode?: boolean;
100
100
  ide?: string;
101
+ client?: string;
101
102
  logger?: Logger;
102
103
  pluginsEnabled?: string[];
103
104
  pluginsDisabled?: string[];
@@ -190,6 +191,8 @@ export declare interface ExtendedMcpServer extends McpServer {
190
191
  cloudBaseOptions?: CloudBaseOptions;
191
192
  authOptions?: AuthOptions;
192
193
  ide?: string;
194
+ /** MCP client 来源标识(hosted 场景由上游解析注入,如 cursor / claude-code) */
195
+ client?: string;
193
196
  logger?: Logger;
194
197
  enabledPlugins?: string[];
195
198
  pluginOptions?: PluginOptions;
@@ -452,6 +455,7 @@ export declare const reportToolCall: (params: {
452
455
  inputParams?: any;
453
456
  cloudBaseOptions?: CloudBaseOptions;
454
457
  ide?: string;
458
+ client?: string;
455
459
  mcpClientInfo?: McpClientInfo;
456
460
  }) => Promise<void>;
457
461
 
@@ -462,6 +466,7 @@ export declare const reportToolkitLifecycle: (params: {
462
466
  error?: string;
463
467
  cloudBaseOptions?: CloudBaseOptions;
464
468
  ide?: string;
469
+ client?: string;
465
470
  mcpClientInfo?: McpClientInfo;
466
471
  }) => Promise<void>;
467
472