CData EnterpriseDB MCP Server
Um servidor MCP somente leitura da CData que permite que LLMs consultem dados ao vivo de bancos de dados EnterpriseDB.
Documentação
enterprisedb-mcp-server-by-cdata
Servidor Model Context Protocol (MCP) da CData para EnterpriseDB
:heavy_exclamation_mark: Este projeto constrói um servidor MCP somente leitura. Para capacidades completas de leitura, escrita, atualização, exclusão e ações, e uma configuração simplificada, confira nosso CData MCP Server for EnterpriseDB.
Propósito
Criamos este servidor MCP somente leitura para permitir que LLMs (como Claude Desktop) consultem dados ao vivo do EnterpriseDB suportados pelo CData JDBC Driver for EnterpriseDB.
O CData JDBC Driver conecta-se ao EnterpriseDB expondo-os como modelos SQL relacionais.
Este servidor encapsula esse driver e disponibiliza os dados do EnterpriseDB por meio de uma interface MCP simples, para que LLMs possam recuperar informações ao vivo fazendo perguntas em linguagem natural — sem necessidade de SQL.
Guia de Configuração
- Clone o repositório:
git clone https://github.com/cdatasoftware/enterprisedb-mcp-server-by-cdata.git cd enterprisedb-mcp-server-by-cdata - Compile o servidor:
Isso cria o arquivo JAR: CDataMCP-jar-with-dependencies.jarmvn clean install - Baixe e instale o CData JDBC Driver para {source}: https://www.cdata.com/drivers/enterprisedb/download/jdbc
- Licencie o CData JDBC Driver:
- Navegue até a pasta
libno diretório de instalação, normalmente:- (Windows)
C:\Program Files\CData\CData JDBC Driver for EnterpriseDB\ - (Mac/Linux)
/Applications/CData JDBC Driver for EnterpriseDB/
- (Windows)
- Execute o comando
java -jar cdata.jdbc.enterprisedb.jar --license - Digite seu nome, e-mail e "TRIAL" (ou sua chave de licença).
- Navegue até a pasta
- Configure sua conexão com a fonte de dados (Salesforce como exemplo):
-
Execute o comando
java -jar cdata.jdbc.enterprisedb.jarpara abrir o utilitário de Connection String. -
Configure a string de conexão e clique em "Test Connection"
Nota: Se a fonte de dados usar OAuth, você precisará autenticar no seu navegador.
-
Depois de bem-sucedido, copie a string de conexão para uso posterior.
-
- Crie um arquivo
.prppara sua conexão JDBC (por exemplo,enterprisedb.prp) usando as seguintes propriedades e formato:- Prefix - um prefixo a ser usado para as ferramentas expostas
- ServerName - um nome para o seu servidor
- ServerVersion - uma versão para o seu servidor
- DriverPath - o caminho completo para o arquivo JAR do seu driver JDBC
- DriverClass - o nome da classe do driver JDBC (por exemplo, cdata.jdbc.enterprisedb.EnterpriseDBDriver)
- JdbcUrl - a string de conexão JDBC a ser usada com o CData JDBC Driver para conectar-se aos seus dados (copiada acima)
- Tables - deixe em branco para acessar todos os dados, caso contrário, você pode declarar explicitamente as tabelas para as quais deseja criar acesso
Prefix=enterprisedb ServerName=CDataEnterpriseDB ServerVersion=1.0 DriverPath=PATH\TO\cdata.jdbc.enterprisedb.jar DriverClass=cdata.jdbc.enterprisedb.EnterpriseDBDriver JdbcUrl=jdbc:enterprisedb:InitiateOAuth=GETANDREFRESH; Tables=
Usando o Servidor com Claude Desktop
-
Crie o arquivo de configuração para o Claude Desktop (claude_desktop_config.json) para adicionar o novo servidor MCP, usando o formato abaixo. Se o arquivo já existir, adicione a entrada ao
mcpServersno arquivo de configuração.Windows
{ "mcpServers": { "{classname_dash}": { "command": "PATH\\TO\\java.exe", "args": [ "-jar", "PATH\\TO\\CDataMCP-jar-with-dependencies.jar", "PATH\\TO\\enterprisedb.prp" ] }, ... } }Linux/Mac
{ "mcpServers": { "{classname_dash}": { "command": "/PATH/TO/java", "args": [ "-jar", "/PATH/TO/CDataMCP-jar-with-dependencies.jar", "/PATH/TO/enterprisedb.prp" ] }, ... } }Se necessário, copie o arquivo de configuração para o diretório apropriado (Claude Desktop como exemplo). Windows
cp C:\PATH\TO\claude_desktop_config.json %APPDATA%\Claude\claude_desktop_config.jsonLinux/Mac
cp /PATH/TO/claude_desktop_config.json /Users/{user}/Library/Application\ Support/Claude/claude_desktop_config.json' -
Execute ou atualize seu cliente (Claude Desktop).
Nota: Talvez seja necessário sair ou encerrar completamente o cliente Claude Desktop e reabri-lo para que os Servidores MCP apareçam.
Executando o Servidor
- Execute o seguinte comando para executar o Servidor MCP por conta própria
java -jar /PATH/TO/CDataMCP-jar-with-dependencies.jar /PATH/TO/Salesforce.prp
Note: The server uses
stdioso can only be used with clients that run on the same machine as the server.
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_columnstool 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_tablestool 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
JSON-RPC Request Examples
If you are scripting out the requests sent to the MCP Server instead of using an AI Client (e.g. Claude), then you can refer to the JSON payload examples below – following the JSON-RPC 2.0 specification - when calling the available tools.
source_get_tables
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "source_get_tables",
"arguments": {}
}
}
source_get_columns
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "source_get_columns",
"arguments": {
"table": "Account"
}
}
}
source_run_query
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "source_run_query",
"arguments": {
"sql": "SELECT * FROM [Account] WHERE [IsDeleted] = true"
}
}
}
Solução de Problemas
- Se você não conseguir ver seu CData MCP Server no Claude Desktop, certifique-se de ter encerrado completamente o Claude Desktop (Windows: use o Gerenciador de Tarefas, Mac: use o Monitor de Atividades)
- Se o Claude Desktop não conseguir recuperar dados, certifique-se de ter configurado sua conexão corretamente. Use o construtor de Connection String para criar a string de conexão (veja acima) e copie a string de conexão para o arquivo de propriedades (.prp).
- Se você estiver tendo problemas para conectar-se à sua fonte de dados, entre em contato com a CData Support Team.
- Se você estiver tendo problemas para usar o servidor MCP, ou tiver qualquer outro feedback, junte-se à CData Community.
Licença
Este servidor MCP é licenciado sob a Licença MIT. Isso significa que você é livre para usar, modificar e distribuir o software, sujeito aos termos e condições da Licença MIT. Para mais detalhes, consulte o arquivo LICENSE no repositório do projeto.
Todas as fontes suportadas
| Access | Act CRM | Act-On | Active Directory |
| ActiveCampaign | Acumatica | Adobe Analytics | Adobe Commerce |
| ADP | Airtable | AlloyDB | Amazon Athena |
| Amazon DynamoDB | Amazon Marketplace | Amazon S3 | Asana |
| Authorize.Net | Avalara AvaTax | Avro | Azure Active Directory |
| Azure Analysis Services | Azure Data Catalog | Azure Data Lake Storage | Azure DevOps |
| Azure Synapse | Azure Table | Basecamp | BigCommerce |
| BigQuery | Bing Ads | Bing Search | Bitbucket |
| Blackbaud FE NXT | Box | Bullhorn CRM | Cassandra |
| Certinia | Cloudant | CockroachDB | Confluence |
| Cosmos DB | Couchbase | CouchDB | CSV |
| Cvent | Databricks | DB2 | DocuSign |
| Dropbox | Dynamics 365 | Dynamics 365 Business Central | Dynamics CRM |
| Dynamics GP | Dynamics NAV | eBay | eBay Analytics |
| Elasticsearch | EnterpriseDB | Epicor Kinetic | |
| Exact Online | Excel | Excel Online | |
| Facebook Ads | FHIR | Freshdesk | FTP |
| GitHub | Gmail | Google Ad Manager | Google Ads |
| Google Analytics | Google Calendar | Google Campaign Manager 360 | Google Cloud Storage |
| Google Contacts | Google Data Catalog | Google Directory | Google Drive |
| Google Search | Google Sheets | Google Spanner | GraphQL |
| Greenhouse | Greenplum | HarperDB | HBase |
| HCL Domino | HDFS | Highrise | Hive |
| HubDB | HubSpot | IBM Cloud Data Engine | IBM Cloud Object Storage |
| IBM Informix | Impala | JDBC-ODBC Bridge | |
| Jira | Jira Assets | Jira Service Management | JSON |
| Kafka | Kintone | LDAP | |
| LinkedIn Ads | MailChimp | MariaDB | Marketo |
| MarkLogic | Microsoft Dataverse | Microsoft Entra ID | Microsoft Exchange |
| Microsoft OneDrive | Microsoft Planner | Microsoft Project | Microsoft Teams |
| Monday.com | MongoDB | MYOB AccountRight | MySQL |
| nCino | Neo4J | NetSuite | OData |
| Odoo | Office 365 | Okta | OneNote |
| Oracle | Oracle Eloqua | Oracle Financials Cloud | Oracle HCM Cloud |
| Oracle Sales | Oracle SCM | Oracle Service Cloud | Outreach.io |
| Parquet | Paylocity | PayPal | Phoenix |
| PingOne | Pipedrive | PostgreSQL | |
| Power BI XMLA | Presto | Quickbase | QuickBooks |
| QuickBooks Online | QuickBooks Time | Raisers Edge NXT | Reckon |
| Reckon Accounts Hosted | Redis | Redshift | REST |
| RSS | Sage 200 | Sage 300 | Sage 50 UK |
| Sage Cloud Accounting | Sage Intacct | Salesforce | Salesforce Data Cloud |
| Salesforce Financial Service Cloud | Salesforce Marketing | Salesforce Marketing Cloud Account Engagement | Salesforce Pardot |
| Salesloft | SAP | SAP Ariba Procurement | SAP Ariba Source |
| SAP Business One | SAP BusinessObjects BI | SAP ByDesign | SAP Concur |
| SAP Fieldglass | SAP HANA | SAP HANA XS Advanced | SAP Hybris C4C |
| SAP Netweaver Gateway | SAP SuccessFactors | SAS Data Sets | SAS xpt |
| SendGrid | ServiceNow | SFTP | SharePoint |
| SharePoint Excel Services | ShipStation | Shopify | SingleStore |
| Slack | Smartsheet | Snapchat Ads | Snowflake |
| Spark | Splunk | SQL Analysis Services | SQL Server |
| Square | Stripe | Sugar CRM | SuiteCRM |
| SurveyMonkey | Sybase | Sybase IQ | Tableau CRM Analytics |
| Tally | TaxJar | Teradata | Tier1 |
| TigerGraph | Trello | Trino | Twilio |
| Twitter Ads | Veeva CRM | Veeva Vault | |
| Wave Financial | WooCommerce | WordPress | Workday |
| xBase | Xero | XML | YouTube Analytics |
| Zendesk | Zoho Books | Zoho Creator | Zoho CRM |
| Zoho Inventory | Zoho Projects | Zuora | ... Dezenas de Outros |