SAP OData to MCP
Transforms SAP S/4HANA or ECC systems into conversational AI interfaces by exposing all OData services as dynamic MCP tools. Enables natural language interactions with ERP data for querying, creating, updating, and deleting business entities through
What is SAP OData to MCP?
SAP OData to MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to transforms sap s/4hana or ecc systems into conversational ai interfaces by exposing all odata services as dynamic mcp tools. enables natural language interactions with erp data for querying, creating,...
Transforms SAP S/4HANA or ECC systems into conversational AI interfaces by exposing all OData services as dynamic MCP tools. Enables natural language interactions with ERP data for querying, creating, updating, and deleting business entities through
This server falls under the Business Applications category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Transforms SAP S/4HANA or ECC systems into conversational AI
Use Cases
Maintainer
Works with
Installation
NPM
npx -y btp-sap-odata-to-mcp-serverManual Installation
npx -y btp-sap-odata-to-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use SAP OData to MCP
The SAP OData to MCP Server dynamically transforms any SAP S/4HANA, SAP ECC, or BTP-hosted OData service into a conversational AI interface by exposing all OData endpoints as MCP tools at runtime—no hardcoded schema required. Its three-step progressive discovery architecture lets AI assistants first search for services, then inspect entity schemas, and finally execute full CRUD operations against live SAP data. Business analysts and SAP developers use it to query ERP data, create purchase orders, update master records, and explore SAP entity relationships all through natural language without writing ABAP or OData queries.
Prerequisites
- Node.js 18.x or higher with npm and npx
- Access to a SAP S/4HANA, SAP ECC, or BTP system with OData services enabled
- SAP user credentials with appropriate authorization objects for the OData services you intend to access
- An MCP-compatible client such as Claude Desktop or Claude Code
Verify Node.js version
Confirm you have Node.js 18 or later installed, as required by the server.
node --versionRun the server with npx
Launch the SAP OData MCP server directly using npx. This downloads and runs the latest version without a permanent install.
npx -y btp-sap-odata-to-mcp-serverAdd the server to your MCP client configuration
Configure Claude Desktop to connect to the server by editing claude_desktop_config.json. Provide your SAP system base URL and credentials in the env block.
{
"mcpServers": {
"sap-odata": {
"command": "npx",
"args": ["-y", "btp-sap-odata-to-mcp-server"],
"env": {
"SAP_BASE_URL": "https://your-s4hana-system.example.com",
"DISABLE_READ_ENTITY_TOOL": "false"
}
}
}
}Discover SAP services using the AI assistant
Once connected, ask the AI to discover available OData services using the discover-sap-data tool. It returns lightweight metadata so the AI knows what services exist.
Explore entity schemas and execute operations
Use get-entity-metadata to retrieve the full field schema for any entity, then use execute-sap-operation to run read, create, update, or delete operations with proper field names.
SAP OData to MCP Examples
Client configuration
Claude Desktop configuration for the SAP OData to MCP server using the btp-sap-odata-to-mcp-server npm package.
{
"mcpServers": {
"sap-odata": {
"command": "npx",
"args": ["-y", "btp-sap-odata-to-mcp-server"],
"env": {
"SAP_BASE_URL": "https://your-s4hana.example.com",
"DISABLE_READ_ENTITY_TOOL": "false"
}
}
}
}Prompts to try
These prompts demonstrate the discover-read-write workflow across SAP OData entities.
- "Search for SAP OData services related to business partners"
- "Get the entity schema for the Customer entity in the API_BUSINESS_PARTNER service"
- "Read all customers where the CustomerName contains ACME"
- "Create a new supplier record in the SupplierService with the name Test Supplier GmbH"
- "Update the phone number for BusinessPartner with ID 1000234"
- "List all purchase orders created in the last 30 days"Troubleshooting SAP OData to MCP
Connection refused or network errors when connecting to SAP_BASE_URL
Verify the SAP_BASE_URL is accessible from your machine—try opening it in a browser. For BTP systems, ensure you are on the correct network or VPN. The URL should point to the OData service catalog root, not an individual entity set.
execute-sap-operation returns 403 Unauthorized for create or update operations
Your SAP user needs the appropriate authorization objects for write operations (e.g., S_SERVICE for OData service access, and object-specific authorizations). Contact your SAP Basis administrator to grant the required roles.
Frequently Asked Questions about SAP OData to MCP
What is SAP OData to MCP?
SAP OData to MCP is a Model Context Protocol (MCP) server that transforms sap s/4hana or ecc systems into conversational ai interfaces by exposing all odata services as dynamic mcp tools. enables natural language interactions with erp data for querying, creating, updating, and deleting business entities through It connects AI assistants to external tools and data sources through a standardized interface.
How do I install SAP OData to MCP?
Install via npm with the command: npx -y btp-sap-odata-to-mcp-server. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with SAP OData to MCP?
SAP OData to MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is SAP OData to MCP free to use?
Yes, SAP OData to MCP is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
SAP OData to MCP Alternatives — Similar Business Applications Servers
Looking for alternatives to SAP OData to MCP? Here are other popular business applications servers you can use with Claude, Cursor, and VS Code.
n8n
★ 189.1kA comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and dou
LobeHub
★ 77.5k🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.
Jeecgboot
★ 46.4kAI 低代码平台,「低代码 + 零代码」双模式驱动:低代码一键生成前后端代码,零代码 5 分钟搭建系统,AI Skills 一句话画流程、设计表单、生成整套系统。内置 AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领「AI 生成 → 在线配置 → 代码生成 → 手工合并->AI修改」开发模式,消除 Java 项目 80% 的重复工作,提效而不失灵活。
CowAgent
★ 44.7kCowAgent (chatgpt-on-wechat) 是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、通过长期记忆和知识库不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页等接入,可选择DeepSeek/OpenAI/Claude/Gemini/ MiniMax/Qwen/GLM/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助理和企业数字员工。
Minds Platform
★ 39.2kPlatform dedicated to building an open foundation for applied Artificial Intelligence, designed for people seeking production-ready AI systems they can truly control, extend and deploy anywhere.
Astrbot
★ 32.8kAI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
Browse More Business Applications MCP Servers
Explore all business applications servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up SAP OData to MCP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use SAP OData to MCP?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.