Skip to main content
Glama
deyikong

SendGrid MCP Server

by deyikong

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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) }] }; },
  • 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); }
  • Aggregates and exports all tools, spreading contactTools which includes list_senders.
    export const allTools = { ...automationTools, ...campaignTools, ...contactTools, ...mailTools, ...miscTools, ...statsTools, ...templateTools,

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deyikong/sendgrid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server