OData MCP Bridge (Go) is an MCP server that connects Model Context Protocol clients directly to OData v2 and v4 services. Built as a native Go implementation, it enables enterprise analysts, developers, and AI agents to query, create, update, and delete business records stored across ERP, CRM, and analytics platforms like SAP. The server dynamically parses OData service metadata to generate corresponding MCP tools or condenses operations into a single universal tool mode to significantly reduce context window token usage. It provides deep integration with enterprise backends by managing query parameters such as filter, select, expand, and orderby, while also accommodating SAP-specific OData behaviors like CSRF token exchange and GUID formatting. Supporting basic, cookie, and anonymous authentication alongside standard stdio and streamable HTTP transports, it bridges desktop AI clients with secured enterprise resource systems.
Category: CRM, ERP & E-commerce
Tags: data-access, enterprise-data, golang, odata
go build -o odata-mcp cmd/odata-mcp/main.go. 2. Open your Claude Desktop configuration file (claude_desktop_config.json). 3. Add the server under the mcpServers object, specifying your binary location and target OData service: json { "mcpServers": { "odata-service": { "command": "/path/to/odata-mcp", "args": [ "--service", "https://services.odata.org/V2/Northwind/Northwind.svc/", "--tool-shrink" ] } } } 4. For authenticated systems, supply --user and --password flags or pass ODATA_USERNAME and ODATA_PASSWORD in the env block. 5. Restart Claude Desktop to load the tools.--read-only or --read-only-but-functions runtime flags. - Compacting hundreds of enterprise entity operations into a single schema using --universal mode to prevent LLM context bloat.Part of MCP Servers
OData MCP Bridge (Go) connects MCP clients to OData v2 and v4 services. It parses service metadata to automatically generate tools for entity creation, retrieval, updates, and deletion. It supports complex query parameters like filter, select, and expand, handles OData function imports, manages SAP CSRF tokens, and can collapse hundreds of individual tools into a single universal tool to save model context tokens.
You can install it by downloading pre-compiled binaries for Linux, macOS, or Windows from the project release page. Alternatively, build it from source using the Go CLI or Make targets. Once you have the binary, add its path and execution arguments to your MCP client configuration file, specifying your target OData service URL.
The bridge works with any client compliant with the Model Context Protocol that supports stdio, HTTP with SSE, or Streamable HTTP transports. It is tested for Claude Desktop, Claude Code CLI, and AI Foundry clients, with protocol options available to match specific interface versions.
Universal Tool Mode is activated with the --universal flag to condense massive OData service definitions into a single tool named odata. Rather than creating hundreds of distinct tools for every entity set, it exposes one endpoint accepting action, target, and query parameters, which prevents tool overload and lowers token usage by over ninety percent.
Yes, OData MCP Bridge (Go) is open source software hosted on GitHub. Users can inspect the Go source code, build native binaries locally for multiple architectures, and modify or extend the integration logic under its open source repository.