- Home
- MCP servers
- LDAP
LDAP
- other
1
GitHub Stars
other
Language
6 months ago
First Indexed
2 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-ldap-mcp-server-by-cdata": {
"command": "java",
"args": [
"-jar",
"/PATH/TO/CDataMCP-jar-with-dependencies.jar",
"/PATH/TO/ldap.prp"
]
}
}
}You can query LDAP data live through an MCP server that exposes LDAP data via the CData JDBC Driver. This read-only MCP server lets you ask natural language questions and retrieve live LDAP information without writing SQL. It wraps the CData JDBC Driver so your MCP client can read LDAP data directly.
How to use
Connect to the LDAP MCP server from your MCP client. Once configured, you can ask questions that retrieve live LDAP data, such as counts, listings, or joins across LDAP objects. Use the built‑in tools to discover available tables and columns, then run read queries to fetch the data you need. You do not need to write SQL unless you choose to for advanced filtering.
How to install
Prerequisites: Install Java Runtime Environment (JRE) 11 or newer and a Java development kit (JDK) if you plan to build from source. You will also need Maven to build the MCP server JAR.
- Clone the project and navigate into it.
git clone https://github.com/cdatasoftware/ldap-mcp-server-by-cdata.git
cd ldap-mcp-server-by-cdata
- Build the MCP server JAR with dependencies.
mvn clean install
-
Ensure you have the CData JDBC Driver for LDAP installed and licensed following the licensing steps in the setup flow. This MCP server relies on the JDBC driver to access LDAP data.
-
Prepare your LDAP JDBC connection properties in a .prp file (for example ldap.prp) using the required properties: Prefix, ServerName, ServerVersion, DriverPath, DriverClass, JdbcUrl, and Tables. You will also specify the LDAP JDBC connection string (JdbcUrl) obtained from the JDBC Driver’s connection utility.
-
Run the MCP server using the prepared .prp file.
java -jar /PATH/TO/CDataMCP-jar-with-dependencies.jar /PATH/TO/ldap.prp
Additional setup and config notes
The server runs in stdio mode, meaning it communicates with clients on the same machine. You configure the client to launch the MCP server JAR with the path to your ldap.prp file.
Available tools
ldap_get_tables
Retrieves a list of LDAP data sources or logical tables exposed by the MCP server. The output is formatted as CSV with column headers.
ldap_get_columns
Retrieves the list of columns for a specified table, returning a CSV with a header row followed by column data.
ldap_run_query
Executes a SQL-like SELECT query against the LDAP-backed data source and returns matching rows.