![]() |
VOOZH | about |
The Model Context Protocol (MCP) is an open standard that enables AI assistants to securely access data from external sources. With MCP, you can give AI assistants like Claude direct access to your data sources, allowing them to answer questions and perform actions on live data.
The CData Python MCP Server extends this capability to hundreds of data sources by leveraging CData Python Connectors. This means you can connect Claude directly to your SAP Ariba Procurement instance and interact with your data using natural language.
In this guide, we'll set up the CData Python MCP Server for SAP Ariba Procurement and configure it with Claude Desktop. You'll be able to ask Claude questions like "What are my top customers?" or "Update the status of ticket #123" and get responses based on your live SAP Ariba Procurement data.
Let's get started!
The CData Python MCP Server acts as a bridge between AI assistants and your data sources:
The server provides tools for querying data, viewing metadata, executing updates, and calling stored procedures — all through simple conversation with Claude.
First, clone the CData Python MCP Server repository:
git clone https://github.com/CDataSoftware/cdata-mcp-python.git cd cdata-mcp-python
Set up a Python virtual environment using uv:
uv venv uv pip install "mcp[cli]"
Note: With uv, you don't need to manually activate the virtual environment. The uv pip and uv run commands automatically use the .venv in the current directory.
Install the CData Python Connector for SAP Ariba Procurement that you downloaded. Make sure you're in the project directory when running this command:
uv pip install "\PATH\TO\cdata_saparibaprocurement_connector-##.0.####-cp312-cp312-win_amd64.whl"
uv pip install ~/PATH/TO/cdata_saparibaprocurement_connector-##.0.####-py3-none-any.whl
Confirm the connector is installed:
uv pip list | grep cdata # Should show: cdata-saparibaprocurement-connector
Some connectors work without explicit license activation during initial testing. If you encounter license errors, activate your license:
License Activation Stepsimport os
import cdata.saparibaprocurement
path = os.path.dirname(os.path.abspath(cdata.saparibaprocurement.__file__))
print(f"License installer location: {path}/installlic_saparibaprocurement/")
cd .venv\Lib\site-packages\cdata\installlic_saparibaprocurement .\install-license.exe YOUR-LICENSE-KEYmacOS/Linux:
cd .venv/lib/python3.12/site-packages/cdata/installlic_saparibaprocurement ./install-license.sh YOUR-LICENSE-KEY
Note: Omitting the License Key argument activates a trial license.
Before configuring Claude, verify your connector works correctly.
Export your connection details:
export CONNECTOR_MOD="cdata.saparibaprocurement" export CONNECTION_STRING=" ANID=AN02000000280; API=PurchaseOrdersBuyerAPI-V1; APIKey=wWVLn7WTAXrIRMAzZ6VnuEj7Ekot5jnU; AuthScheme=OAuthClient; InitiateOAuth=GETANDREFRESH;"
Windows users: Use set instead of export
uv run python -c "from utils.get_connection import get_connection; print('✅ Connected!' if get_connection() else '❌ Failed')"
Open the Claude Desktop configuration file:
Add your MCP server configuration:
{
"mcpServers": {
"saparibaprocurement_server": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/cdata-mcp-python",
"run",
"--active",
"main.py"
],
"env": {
"CONNECTOR_MOD": "cdata.saparibaprocurement",
"CONNECTION_STRING": "
ANID=AN02000000280;
API=PurchaseOrdersBuyerAPI-V1;
APIKey=wWVLn7WTAXrIRMAzZ6VnuEj7Ekot5jnU;
AuthScheme=OAuthClient;
InitiateOAuth=GETANDREFRESH;"
}
}
}
}
Important: Replace /absolute/path/to/cdata-mcp-python with the actual path to your cloned repository.
Now you can interact with your SAP Ariba Procurement data through natural conversation!
Claude can use these tools automatically based on your questions:
| Tool | Purpose | Example Trigger |
|---|---|---|
| get_tables | Lists all available tables/objects | "What tables are available?" |
| get_columns | Shows fields for a specific table | "What fields are in the Customer table?" |
| run_query | Executes SELECT queries | "Show me all active customers" |
| run_nonquery | Executes INSERT/UPDATE/DELETE | "Update the email for customer 123" |
| get_procedures | Lists stored procedures | "What actions can I perform?" |
| call_procedure | Executes stored procedures | "Run the RefreshCache procedure" |
For large datasets, optimize your queries:
You've successfully connected Claude to your SAP Ariba Procurement data using the CData Python MCP Server! This powerful integration allows you to:
The same setup process works for hundreds of data sources supported by CData Python Connectors, from CRMs like Salesforce to databases like MongoDB to APIs like REST endpoints.
Start your free trial or get a Community License today and give your AI assistants direct access to your enterprise data.
Download a Community License of the SAP Ariba Procurement Connector to get started:
Download NowLearn more:
👁 SAP Ariba Procurement IconPython Connector Libraries for SAP Ariba Procurement Data Connectivity. Integrate SAP Ariba Procurement with popular Python tools like Pandas, SQLAlchemy, Dash & petl.