Skip to main content
Glama
deyikong

SendGrid MCP Server

by deyikong

open_csv_uploader

Opens SendGrid's CSV contact upload page in your browser to import contact lists for email marketing campaigns and contact management.

Instructions

Open SendGrid CSV contact upload page in browser

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The complete definition of the 'open_csv_uploader' tool, including its configuration (title, description) and handler function. The handler returns a text message with the URL to the SendGrid CSV uploader interface.
    open_csv_uploader: { config: { title: "Open CSV Uploader", description: "Open SendGrid CSV contact upload page in browser", }, handler: async (): Promise<ToolResult> => { return { content: [ { type: "text", text: "Please open this URL in your browser to upload contacts via CSV:\nhttps://mc.sendgrid.com/contacts/import/upload-csv", }, ], }; }, },
  • src/index.ts:21-23 (registration)
    The registration loop in the main MCP server file that registers all tools from allTools, including 'open_csv_uploader', by calling server.registerTool for each.
    for (const [name, tool] of Object.entries(allTools)) { server.registerTool(name, tool.config as any, tool.handler as any); }
  • Aggregates all individual tool sets (including contactTools containing open_csv_uploader) into the allTools object exported for use in the main server.
    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