MCP catalog

logali-mcp-odata

Generic OData v2/v4 to MCP bridge

  • OData / Gateway
  • TypeScript
  • stdio
  • MIT
  • 8 tools
  • Read and write

Overview

Turns any SAP OData service (v2 or v4) into MCP tools. It introspects the $metadata, detects the protocol version, and lets you query any entity set with filtering, selection, ordering, and expansion, plus write operations with CSRF token handling.

Clean-room implementation by Logali Tech (original code, MIT license), inspired by the open-source ecosystem of SAP MCP servers.

Tools

What your assistant can call. Writes stay disabled unless you enable them.

  • list_entity_sets List the service entity sets with their type and keys. Read
  • get_metadata Summary of the $metadata (types, properties, navigations) or raw XML. Read
  • query_entities Query entities with filter/select/top/skip/orderby/expand/count. Read
  • get_entity Read one entity by its key (single or composite). Read
  • count_entities Count entities with optional filter. Read
  • create_entity Create an entity (requires LOGALI_MCP_ALLOW_WRITE). Write
  • update_entity Update an entity via PATCH/PUT (gated). Write
  • delete_entity Delete an entity (gated). Write

Installation

Clone and build, then point your MCP client at the binary. Pick your client:

Paste into claude_desktop_config.json
{
  "mcpServers": {
    "odata": {
      "command": "node",
      "args": [
        "/path/to/logali-mcp-odata/dist/index.js"
      ],
      "env": {
        "ODATA_SERVICE_URL": "<odata_service_url>"
      }
    }
  }
}

Configuration

Server environment variables.

Variable Required Description
ODATA_SERVICE_URL Yes OData service root URL.
ODATA_USERNAME / ODATA_PASSWORD No Basic auth (or use a bearer token).
ODATA_BEARER_TOKEN No Bearer token as an alternative to basic auth.
ODATA_CLIENT No Adds the sap-client parameter.
ODATA_EXTRA_HEADERS No Extra headers (JSON map).
LOGALI_MCP_ALLOW_WRITE No Enables create/update/delete (default false).

Related servers