list_senders
Retrieve all verified email senders to manage authorized contacts for email campaigns and transactional messages.
Instructions
List all verified senders
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/contacts.ts:260-263 (handler)The handler function that executes the list_senders tool logic by fetching verified senders from SendGrid API.handler: async (): Promise<ToolResult> => { const result = await makeRequest("https://api.sendgrid.com/v3/marketing/senders"); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; },
- src/tools/contacts.ts:256-259 (schema)Configuration schema for the list_senders tool, defining title and description. No input parameters required.config: { title: "List Senders", description: "List all verified senders", },
- src/index.ts:21-23 (registration)Registers all tools, including list_senders, with the MCP server.for (const [name, tool] of Object.entries(allTools)) { server.registerTool(name, tool.config as any, tool.handler as any); }
- src/tools/index.ts:9-16 (registration)Aggregates and exports all tools, spreading contactTools which includes list_senders.export const allTools = { ...automationTools, ...campaignTools, ...contactTools, ...mailTools, ...miscTools, ...statsTools, ...templateTools,