home / mcp / sendgrid mcp server
This read-only MCP Server allows you to connect to SendGrid data from Claude Desktop through CData JDBC Drivers. For full CRUD support, check out the first managed MCP platform: CData Connect AI (https://www.cdata.com/ai/).
Configuration
View docs{
"mcpServers": {
"cdatasoftware-sendgrid-mcp-server-by-cdata": {
"command": "java",
"args": [
"-jar",
"CDataMCP-jar-with-dependencies.jar",
"/PATH/TO/Salesforce.prp"
]
}
}
}You can run a local, read-only MCP server that exposes SendGrid data through a simple MCP interface. This lets you ask natural questions about live SendGrid information and get answers without writing SQL, while keeping the data access read-only and safely isolated on a single host.
After you have the MCP server running, your MCP client (like Claude Desktop) will discover the SendGrid MCP server and let you query data using natural language. You can ask questions such as what is the total engagement for emails today, which campaigns are most effective, or how many messages are in a given status. The built-in tools manage the underlying data access and return results in a structured format that your client can render.
Prerequisites: Java Runtime Environment (JRE) or Java Development Kit (JDK) installed on your machine. You also need Maven to build the MCP server from source if you choose to compile it locally.
1) Clone the project and navigate into the directory.
git clone https://github.com/cdatasoftware/sendgrid-mcp-server-by-cdata.git
cd sendgrid-mcp-server-by-cdata2) Build the MCP server to produce the JAR with dependencies.
mvn clean install3) Prepare the JDBC driver and your connection string by following the steps to install and license the CData JDBC Driver for SendGrid. You will create a properties file for the MCP server, such as sendgrid.prp, that contains your JDBC connection details and the tables you want accessible.
This server runs locally via stdio, so you start it on the same machine as the client. Use a Java command that launches the MCP JAR with a path to the server property file.
java -jar /PATH/TO/CDataMCP-jar-with-dependencies.jar /PATH/TO/sendgrid.prpIf you are configuring Claude Desktop, you will point it to the stdio MCP server by supplying the exact command and argument structure shown above. Ensure your sendgrid.prp contains the correct JDBC URL and driver class for the SendGrid data source.
Retrieves a list of tables available in the SendGrid data source. Output is CSV with headers.
Retrieves a list of columns for a specified table. Output is CSV with headers.
Executes a SQL SELECT query against the SendGrid data source.