About Btp Sap Odata To MCP Server
Btp Sap Odata To MCP Server is an MCP server published by lemaiwo in the Cloud category: bTP CloudFoundry Node.js MCP server for SAP OData services integration. Conduid read 3 tools from its source: discover-sap-data, execute-sap-operation and get-entity-metadata. No package is published for it, so it installs from a source checkout.
The repository has 145 stars and 70 forks, is licensed MIT, and its last commit was on 22 May 2026. Conduid has no tagged release on record for it. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Its topics include cloud.
Install
git clone https://github.com/lemaiwo/btp-sap-odata-to-mcp-serverTools (3)
discover-sap-data[LEVEL 1 - DISCOVERY] Search for SAP services and entities. Returns MINIMAL data (serviceId, serviceName, entityName) optimized for LLM decision making. If query matches, returns relevant results. If NO matches found, returns ALL available services with entities. After this call, use get-entity-metadata (Level 2) to get full schema details for your selected entity. Uses technical user (no auth needed).| Parameter | Type | Description |
|---|---|---|
| category | string | Service category filter. Valid values: business-partner, sales, finance, procurement, hr, logistics, all. Default: all. Narrows search to specific business area. |
| limit | number | Maximum number of results. Default: 20. Use higher limits when returning all services. |
| query | string | Search term to find services or entities. Searches service names, entity names. Examples: 'customer', 'sales order', 'employee'. If omitted or no matches found, returns ALL services with their entities (minimal fields only). |
execute-sap-operation[LEVEL 3 - EXECUTION] AUTHENTICATION REQUIRED: Perform CRUD operations on SAP entities using authenticated user context. Requires valid JWT token for authorization. Use get-entity-metadata (Level 2) first to understand entity schema, then call this to execute operations. Operations execute under user's SAP identity with full audit trail.| Parameter | Type | Description |
|---|---|---|
| entityName * | string | The entity name from discover-sap-data. IMPORTANT: Use the 'name' field from the results, NOT the 'entitySet' field. |
| expandString | string | OData $expand query option value. Comma-separated list of navigation properties to expand, without the '$expand=' prefix. Example: "Customer,Items" or "OrderDetails". |
| filterString | string | OData $filter query option value. Use OData filter syntax without the '$filter=' prefix. Examples: "Status eq 'Active'", "Amount gt 1000", "Name eq 'John' and Status eq 'Active'". Common operators: eq (equals), ne (not equals), gt (greater than), lt (less than), ge (greater/equal), le (less/equal), and, or, not. |
| operation * | string | The operation to perform. Valid values: read, read-single, create, update, delete |
| orderbyString | string | OData $orderby query option value. Specify property name and direction (asc/desc), without the '$orderby=' prefix. Examples: "Name desc", "CreatedDate asc", "Amount desc, Name asc". |
| parameters | object | Operation parameters such as keys, filters, and data. For read-single/update/delete operations, include the entity key properties. For create/update operations, include the entity data fields. |
| selectString | string | OData $select query option value. Comma-separated list of property names to include in the response, without the '$select=' prefix. Example: "Name,Status,CreatedDate" or "CustomerID,CustomerName". WARNING: Not all SAP OData APIs fully support $select. If the operation fails with a $select-related error, retry WITHOUT this parameter to get all properties. |
| serviceId * | string | The SAP service ID from discover-sap-data. IMPORTANT: Use the 'id' field from the search results, NOT the 'title' field. |
| skipNumber | number | OData $skip query option value. Number of records to skip (offset for pagination). This will be converted to the $skip parameter. Example: 20 skips first 20 records. |
| topNumber | number | OData $top query option value. Number of records to return (limit/page size). This will be converted to the $top parameter. Example: 10 returns top 10 records. |
| useUserToken | boolean | Use the authenticated user's token for this operation. Default: true for data operations |
get-entity-metadata[LEVEL 2 - METADATA] Get complete schema details for a specific entity. Returns ALL properties with types, keys, nullable flags, maxLength, and capabilities (creatable, updatable, deletable). Use this after discover-sap-data to get full details needed for execute-sap-operation. Uses technical user (no auth needed).| Parameter | Type | Description |
|---|---|---|
| entityName * | string | Entity name from discover-sap-data results. Use the 'entityName' field exactly as returned. |
| serviceId * | string | Service ID from discover-sap-data results. Use the 'serviceId' field exactly as returned. |
Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.3K words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 15 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPsrc/mcp-server.ts:4, src/index.ts:5
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 2 callssrc/services/auth-service.ts:74, src/services/auth-service.ts:114
- Writes or deletes files
- No file writes or deletes
- Lockfile
- package-lock.json
Pattern matches on the source text of 15 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 1.3K words, fetched a month ago. The original in the repository is authoritative.
Read full README