Skip to main content
Glama
deyikong

SendGrid MCP Server

by deyikong

open_segment_creator

Launch the SendGrid segment creator interface to define and manage targeted email recipient groups for precise marketing campaigns.

Instructions

Open SendGrid segment creator in browser

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'open_segment_creator' tool. It returns a static text message instructing the user to open the SendGrid web interface for creating new segments.
    handler: async (): Promise<ToolResult> => { return { content: [ { type: "text", text: "Please open this URL in your browser to create a new segment:\nhttps://mc.sendgrid.com/contacts/segments/create", }, ], }; },
  • The configuration schema for the 'open_segment_creator' tool, defining its title and description. No input parameters are required.
    config: { title: "Open Segment Creator", description: "Open SendGrid segment creator in browser", },
  • src/index.ts:21-23 (registration)
    Registration of all tools, including 'open_segment_creator', to the MCP server via a loop over allTools.
    for (const [name, tool] of Object.entries(allTools)) { server.registerTool(name, tool.config as any, tool.handler as any); }

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