smartlead-mcp-by-leadmagic
Version:
💜 The Premier Model Context Protocol Server for SmartLead's Cold Email Automation Platform - Complete API coverage with 116+ tools for campaign management, lead tracking, smart delivery, and analytics. Beautiful purple-gradient installer, zero-config set
88 lines • 2.48 kB
TypeScript
#!/usr/bin/env node
/**
* Script to add proper MCP tool annotations to all SmartLead tools
*
* This script adds the recommended MCP annotations to improve compliance
* with MCP best practices as outlined in the official documentation.
*/
declare const fs: any;
declare const path: any;
declare const parse: any;
declare const toolAnnotations: {
get_: {
readOnlyHint: boolean;
destructiveHint: boolean;
idempotentHint: boolean;
openWorldHint: boolean;
};
list_: {
readOnlyHint: boolean;
destructiveHint: boolean;
idempotentHint: boolean;
openWorldHint: boolean;
};
fetch_: {
readOnlyHint: boolean;
destructiveHint: boolean;
idempotentHint: boolean;
openWorldHint: boolean;
};
create_: {
readOnlyHint: boolean;
destructiveHint: boolean;
idempotentHint: boolean;
openWorldHint: boolean;
};
add_: {
readOnlyHint: boolean;
destructiveHint: boolean;
idempotentHint: boolean;
openWorldHint: boolean;
};
update_: {
readOnlyHint: boolean;
destructiveHint: boolean;
idempotentHint: boolean;
openWorldHint: boolean;
};
save_: {
readOnlyHint: boolean;
destructiveHint: boolean;
idempotentHint: boolean;
openWorldHint: boolean;
};
delete_: {
readOnlyHint: boolean;
destructiveHint: boolean;
idempotentHint: boolean;
openWorldHint: boolean;
};
remove_: {
readOnlyHint: boolean;
destructiveHint: boolean;
idempotentHint: boolean;
openWorldHint: boolean;
};
default: {
readOnlyHint: boolean;
destructiveHint: boolean;
idempotentHint: boolean;
openWorldHint: boolean;
};
};
declare function getAnnotationsForTool(toolName: string): {
'smartlead-mcp.tool.name': string;
'smartlead-mcp.tool.category': string | undefined;
'smartlead-mcp.tool.version': string;
'smartlead-mcp.api.endpoint': string;
'smartlead-mcp.api.method': string;
'smartlead-mcp.ui.displayName': string;
'smartlead-mcp.ui.description': string;
'mcp.name': string;
'mcp.description': string;
'mcp.io.input': string;
'mcp.io.output': string;
};
declare function addAnnotationsToFile(filePath: string): void;
declare const toolsDir: any;
//# sourceMappingURL=add-mcp-annotations.d.ts.map