home / mcp / microsoft exchange mcp server
This read-only MCP Server allows you to connect to Microsoft Exchange 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-microsoft-exchange-mcp-server-by-cdata": {
"command": "java",
"args": [
"-jar",
"/PATH/TO/CDataMCP-jar-with-dependencies.jar",
"/PATH/TO/Salesforce.prp"
]
}
}
}You have a read-only MCP server that lets you query live Microsoft Exchange data through the CData JDBC Driver. It exposes Exchange data via an MCP interface so you can ask natural-language questions and get live results without writing SQL.
Start your MCP client and connect to the Microsoft Exchange MCP server you configured. You can ask questions like how many open tickets you have, what calendar events are today, or how various Exchange tables relate to each other. The server exposes tools to list available tables, list columns for a given table, and run SQL queries against the Exchange data. Use these tools through your MCP client just as you would with any other MCP source.
Prerequisites you need on your host: Java Development Kit (JDK) and Apache Maven. You will also need to install the CData JDBC Driver for Microsoft Exchange to connect to Exchange data.
Step 1. Clone the MCP server repository.
git clone https://github.com/cdatasoftware/microsoft-exchange-mcp-server-by-cdata.git
cd microsoft-exchange-mcp-server-by-cdataStep 2. Build the MCP server JAR.
mvn clean installThis creates the JAR file: CDataMCP-jar-with-dependencies.jar.
Step 3. Download and install the CData JDBC Driver for Microsoft Exchange.
Visit the CData driver download page and install the driver compatible with your OS.
Step 4. License the CData JDBC Driver.
java -jar cdata.jdbc.exchange.jar --license
```
Enter your name, email, and a TRIAL or license key when prompted.Step 5. Configure your connection to the Exchange data source.
java -jar cdata.jdbc.exchange.jar
```
Follow the Connection String utility to set up and test the connection. If OAuth is used, authenticate in your browser. Copy the resulting connection string for later.Step 6. Create a .prp file for your JDBC connection.
Prefix=exchange
ServerName=CDataExchange
ServerVersion=1.0
DriverPath=PATH\\TO\\cdata.jdbc.exchange.jar
DriverClass=cdata.jdbc.exchange.ExchangeDriver
JdbcUrl=jdbc:exchange:InitiateOAuth=GETANDREFRESH;
Tables=Step 7. Run the MCP server using the generated .prp file.
java -jar /PATH/TO/CDataMCP-jar-with-dependencies.jar /PATH/TO/microsoft-exchange.prpThe server runs in stdio mode, so it can be used with clients on the same machine.
Retrieves a list of tables available in the data source. The output is CSV with column headers on the first line.
Retrieves a list of columns for a specified table. The output is CSV with column headers on the first line.
Executes a SQL SELECT query against the Exchange data and returns results.