CData SAP Netweaver Gateway
Conéctese a los datos de SAP Netweaver Gateway utilizando el servidor MCP de CData. Requiere un controlador JDBC de CData con licencia por separado.
Documentación
sap-netweaver-gateway-mcp-server-by-cdata
Servidor MCP (Model Context Protocol) de CData para SAP Netweaver Gateway
:heavy_exclamation_mark: Este proyecto construye un servidor MCP de solo lectura. Para capacidades completas de lectura, escritura, actualización, eliminación y acciones, así como una configuración simplificada, consulte nuestro CData MCP Server for SAP Netweaver Gateway.
Propósito
Creamos este servidor MCP de solo lectura para permitir que los LLM (como Claude Desktop) consulten datos en vivo de SAP Netweaver Gateway compatibles con el CData JDBC Driver for SAP Netweaver Gateway.
El CData JDBC Driver se conecta a SAP Netweaver Gateway exponiéndolos como modelos SQL relacionales.
Este servidor envuelve ese driver y pone los datos de SAP Netweaver Gateway a disposición a través de una interfaz MCP simple, de modo que los LLM puedan recuperar información en vivo haciendo preguntas en lenguaje natural, sin necesidad de SQL.
Guía de configuración
- Clone el repositorio:
git clone https://github.com/cdatasoftware/sap-netweaver-gateway-mcp-server-by-cdata.git cd sap-netweaver-gateway-mcp-server-by-cdata - Compile el servidor:
Esto crea el archivo JAR: CDataMCP-jar-with-dependencies.jarmvn clean install - Descargue e instale el CData JDBC Driver para {source}: https://www.cdata.com/drivers/sapgateway/download/jdbc
- Obtenga la licencia del CData JDBC Driver:
- Navegue a la carpeta
liben el directorio de instalación, normalmente:- (Windows)
C:\Program Files\CData\CData JDBC Driver for SAP Netweaver Gateway\ - (Mac/Linux)
/Applications/CData JDBC Driver for SAP Netweaver Gateway/
- (Windows)
- Ejecute el comando
java -jar cdata.jdbc.sapgateway.jar --license - Ingrese su nombre, correo electrónico y "TRIAL" (o su clave de licencia).
- Navegue a la carpeta
- Configure su conexión a la fuente de datos (Salesforce como ejemplo):
-
Ejecute el comando
java -jar cdata.jdbc.sapgateway.jarpara abrir la utilidad de cadena de conexión. -
Configure la cadena de conexión y haga clic en "Test Connection"
Nota: Si la fuente de datos utiliza OAuth, deberá autenticarse en su navegador.
-
Una vez que sea exitoso, copie la cadena de conexión para usarla más adelante.
-
- Cree un archivo
.prppara su conexión JDBC (por ejemplo,sap-netweaver-gateway.prp) usando las siguientes propiedades y formato:- Prefix - un prefijo que se usará para las herramientas expuestas
- ServerName - un nombre para su servidor
- ServerVersion - una versión para su servidor
- DriverPath - la ruta completa al archivo JAR de su driver JDBC
- DriverClass - el nombre de la clase del driver JDBC (por ejemplo, cdata.jdbc.sapgateway.SAPGatewayDriver)
- JdbcUrl - la cadena de conexión JDBC que se usará con el CData JDBC Driver para conectarse a sus datos (copiada de arriba)
- Tables - déjelo en blanco para acceder a todos los datos; de lo contrario, puede declarar explícitamente las tablas a las que desea dar acceso
Prefix=sapgateway ServerName=CDataSAPGateway ServerVersion=1.0 DriverPath=PATH\TO\cdata.jdbc.sapgateway.jar DriverClass=cdata.jdbc.sapgateway.SAPGatewayDriver JdbcUrl=jdbc:sapgateway:InitiateOAuth=GETANDREFRESH; Tables=
Uso del servidor con Claude Desktop
-
Cree el archivo de configuración para Claude Desktop (claude_desktop_config.json) para agregar el nuevo servidor MCP, usando el formato a continuación. Si el archivo ya existe, agregue la entrada a
mcpServersen el archivo de configuración.Windows
{ "mcpServers": { "{classname_dash}": { "command": "PATH\\TO\\java.exe", "args": [ "-jar", "PATH\\TO\\CDataMCP-jar-with-dependencies.jar", "PATH\\TO\\sap-netweaver-gateway.prp" ] }, ... } }Linux/Mac
{ "mcpServers": { "{classname_dash}": { "command": "/PATH/TO/java", "args": [ "-jar", "/PATH/TO/CDataMCP-jar-with-dependencies.jar", "/PATH/TO/sap-netweaver-gateway.prp" ] }, ... } }Si es necesario, copie el archivo de configuración al directorio apropiado (Claude Desktop como ejemplo). 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' -
Ejecute o actualice su cliente (Claude Desktop).
Nota: Es posible que deba salir o cerrar completamente su cliente Claude Desktop y volver a abrirlo para que aparezcan los servidores MCP.
Ejecución del servidor
- Ejecute el siguiente comando para ejecutar el servidor MCP por sí solo
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"
}
}
}
Solución de problemas
- Si no puede ver su servidor MCP de CData en Claude Desktop, asegúrese de haber cerrado completamente Claude Desktop (Windows: use el Administrador de tareas, Mac: use el Monitor de actividad)
- Si Claude Desktop no puede recuperar datos, asegúrese de haber configurado su conexión correctamente. Use el generador de cadenas de conexión para crear la cadena de conexión (ver arriba) y copie la cadena de conexión en el archivo de propiedades (.prp).
- Si tiene problemas para conectarse a su fuente de datos, comuníquese con el CData Support Team.
- Si tiene problemas para usar el servidor MCP, o tiene cualquier otro comentario, únase a la CData Community.
Licencia
Este servidor MCP está licenciado bajo la Licencia MIT. Esto significa que es libre de usar, modificar y distribuir el software, sujeto a los términos y condiciones de la Licencia MIT. Para más detalles, consulte el archivo LICENSE en el repositorio del proyecto.
Todas las fuentes compatibles
| 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 | ... Docenas Más |