- Home
- MCP servers
- SendGrid
SendGrid
- java
0
GitHub Stars
java
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
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.
How to use
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.
How to install
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.
- 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-cdata
- Build the MCP server to produce the JAR with dependencies.
mvn clean install
- 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.
Running the server with Claude Desktop
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.prp
Configuration notes and tips
If 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.
Available tools
sendgrid_get_tables
Retrieves a list of tables available in the SendGrid data source. Output is CSV with headers.
sendgrid_get_columns
Retrieves a list of columns for a specified table. Output is CSV with headers.
sendgrid_run_query
Executes a SQL SELECT query against the SendGrid data source.