Allows querying ADP payroll and HR data through SQL interfaces.
Enables SQL-based access to Airtable bases, tables, and records.
Provides SQL interface for querying and working with Amazon DynamoDB tables and items.
Enables SQL-based access to objects stored in Amazon S3 buckets.
Allows querying Asana projects, tasks, and workspaces through SQL interfaces.
Provides SQL-based access to Basecamp projects, to-dos, and other content.
Enables querying BigCommerce store data including products, orders, and customers.
Allows SQL-based access to Bitbucket repositories, issues, and pull requests.
Provides SQL interface for accessing Box files, folders, and other content.
Enables SQL-based access to Confluence spaces, pages, and content.
Allows querying Couchbase databases and documents through SQL interfaces.
Provides SQL-based access to Databricks data and workspaces.
Enables SQL interface for querying Dropbox files and folders.
Allows SQL-based access to eBay listings, orders, and marketplace data.
Provides SQL interface for querying Elasticsearch indices and documents.
Enables SQL-based access to EnterpriseDB databases and tables.
Allows querying Facebook pages, posts, and other social data through SQL interfaces.
Provides SQL-based access to GitHub repositories, issues, pull requests, and other data.
Enables querying Gmail messages, labels, and attachments through SQL interfaces.
Allows SQL-based access to Google Ads campaigns, ad groups, and performance metrics.
Provides SQL interface for querying Google Analytics data and metrics.
Enables SQL-based access to Google Calendar events and calendars.
Allows querying Campaign Manager 360 campaigns and reporting data through SQL interfaces.
Provides SQL-based access to objects stored in Google Cloud Storage buckets.
Enables SQL interface for querying Google Drive files and folders.
Allows SQL-based access to Google Sheets spreadsheets and data.
Provides SQL interface for querying GraphQL APIs and endpoints.
Enables SQL-based access to Greenhouse recruiting and applicant tracking data.
Allows querying Apache Hive data warehouses through SQL interfaces.
Provides SQL-based access to HubSpot contacts, companies, deals, and marketing data.
Enables SQL interface for querying Instagram posts, comments, and other social data.
Allows SQL-based access to Jira projects, issues, and workflows.
Enables SQL-based access to MailChimp campaigns, lists, and subscriber data.
Allows querying MariaDB databases and tables through SQL interfaces.
Provides SQL interface for accessing MongoDB databases and collections.
Enables SQL-based access to MYOB AccountRight financial and accounting data.
Allows SQL-based access to MySQL databases and tables.
Provides SQL interface for querying Neo4j graph databases.
Enables SQL-based access to Odoo business applications and data.
Allows querying Okta identity management data through SQL interfaces.
Provides SQL interface for accessing PayPal transactions and payment data.
Enables SQL-based access to Pinterest pins, boards, and other content.
Allows SQL-based access to PostgreSQL databases and tables.
Provides SQL interface for querying Presto/Trino distributed SQL query engines.
Enables SQL-based access to QuickBooks financial and accounting data.
Allows querying Redis key-value stores through SQL interfaces.
Provides SQL interface for accessing RSS feed content and data.
Enables SQL-based access to Sage accounting and financial data.
Allows querying Salesforce objects, records, and CRM data through SQL interfaces.
Provides SQL interface for accessing SAP ERP systems and data.
Enables SQL-based access to SendGrid email and marketing data.
Allows SQL-based access to Shopify store data including products, orders, and customers.
Provides SQL interface for querying SingleStore databases and tables.
Enables SQL-based access to Slack channels, messages, and workspace data.
Allows querying Snapchat Ads data through SQL interfaces.
Provides SQL interface for accessing Snowflake data warehouses and tables.
Enables SQL-based access to Splunk logs and analytics data.
Allows SQL-based access to Square payment and point-of-sale data.
Provides SQL interface for querying Stripe payment and customer data.
Enables SQL-based access to SurveyMonkey surveys, responses, and analytics.
Allows querying Teradata databases and tables through SQL interfaces.
Provides SQL interface for accessing Trello boards, cards, and lists.
Enables SQL-based access to Trino distributed SQL query engine.
Allows SQL-based access to Twilio messaging and communication data.
Provides SQL interface for querying WooCommerce store data including products, orders, and customers.
Enables SQL-based access to WordPress posts, pages, users, and other content.
Allows querying Xero accounting data through SQL interfaces.
Provides SQL interface for accessing XML data sources and files.
Enables SQL-based access to YouTube Analytics data including views, subscribers, and engagement metrics.
Allows SQL-based access to Zendesk tickets, users, and support data.
Provides SQL interface for querying Zoho CRM, Books, and other Zoho applications.
active-directory-mcp-server-by-cdata
CData's Model Context Protocol (MCP) Server for Active Directory
:heavy_exclamation_mark: This project builds a read-only MCP server. For full read, write, update, delete, and action capabilities and a simplified setup, check out our free CData MCP Server for Active Directory (beta).
Purpose
We created this read-only MCP Server to allow LLMs (like Claude Desktop) to query live data Active Directory supported by the CData JDBC Driver for Active Directory.
CData JDBC Driver connects to Active Directory by exposing them as relational SQL models.
This server wraps that driver and makes Active Directory data available through a simple MCP interface, so LLMs can retrieve live information by asking natural language questions — no SQL required.
Setup Guide
- Clone the repository:
- Build the server:This creates the JAR file: CDataMCP-jar-with-dependencies.jar
- Download and install the CData JDBC Driver for {source}: https://www.cdata.com/drivers/activedirectory/download/jdbc
- License the CData JDBC Driver:
- Navigate to the
lib
folder in the installation directory, typically:- (Windows)
C:\Program Files\CData\CData JDBC Driver for Active Directory\
- (Mac/Linux)
/Applications/CData JDBC Driver for Active Directory/
- (Windows)
- Run the command
java -jar cdata.jdbc.activedirectory.jar --license
- Enter your name, email, and "TRIAL" (or your license key).
- Navigate to the
- Configure your connection to the data source (Salesforce as an example):
- Run the command
java -jar cdata.jdbc.activedirectory.jar
to open the Connection String utility. - Configure the connection string and click "Test Connection"
Note: If the data sources uses OAuth, you will need to authenticate in your browser.
- Once successful, copy the connection string for use later.
- Run the command
- Create a
.prp
file for your JDBC connection (e.g.active-directory.prp
) using the following properties and format:- Prefix - a prefix to be used for the tools exposed
- ServerName - a name for your server
- ServerVersion - a version for your server
- DriverPath - the full path to the JAR file for your JDBC driver
- DriverClass - the name of the JDBC Driver Class (e.g. cdata.jdbc.activedirectory.ActiveDirectoryDriver)
- JdbcUrl - the JDBC connection string to use with the CData JDBC Driver to connect to your data (copied from above)
- Tables - leave blank to access all data, otherwise you can explicitly declare the tables you wish to create access for
Using the Server with Claude Desktop
- Create the config file for Claude Desktop ( claude_desktop_config.json) to add the new MCP server, using the format below. If the file already exists, add the entry to the
mcpServers
in the config file. WindowsLinux/MacIf needed, copy the config file to the appropriate directory (Claude Desktop as the example). WindowsLinux/Mac - Run or refresh your client (Claude Desktop).
Note: You may need to fully exit or quit your Claude Desktop client and re-open it for the MCP Servers to appear.
Running the Server
- Run the follow the command to run the MCP Server on its own
Usage Details
Once the MCP Server is configured, the AI client will be able to use the built-in tools to read, write, update, and delete the underlying data. In general, you do not need to call the tools explicitly. Simply ask the client to answer questions about the underlying data system. For example:
- "What is the correlation between my closed won opportunities and the account industry?"
- "How many open tickets do I have in the SUPPORT project?"
- "Can you tell me what calendar events I have today?"
The list of tools available and their descriptions follow:
Tools & Descriptions
In the definitions below, {servername}
refers to the name of the MCP Server in the config file (e.g. {classname_dash}
above).
{servername}_get_tables
- Retrieves a list of tables available in the data source. Use the{servername}_get_columns
tool to list available columns on a table. The output of the tool will be returned in CSV format, with the first line containing column headers.{servername}_get_columns
- Retrieves a list of columns for a table. Use the{servername}_get_tables
tool to get a list of available tables. The output of the tool will be returned in CSV format, with the first line containing column headers.{servername}_run_query
- Execute a SQL SELECT query
Troubleshooting
- If you cannot see your CData MCP Server in Claude Desktop, be sure that you have fully quit Claude Desktop (Windows: use the Task Manager, Mac: use the Activity Monitor)
- If Claude Desktop is unable to retrieve data, be sure that you have configured your connection properly. Use the Connection String builder to create the connection string (see above) and copy the connection string into the property (.prp) file.
- If you are having trouble connecting to your data source, contact the CData Support Team.
- If you are having trouble using the MCP server, or have any other feedback, join the CData Community.
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
All Supported Sources
This server cannot be installed
Active Directory MCP Server by CData
Related MCP Servers
- -securityAlicense-qualitySharePoint MCP Server by CDataLast updated -MIT License
- -securityAlicense-qualityApache Cassandra MCP Server by CDataLast updated -MIT License
- MIT License
- -securityAlicense-qualityAzure Active Directory MCP Server by CDataLast updated -MIT License