Odata MCP Go MCP Server

A Go implementation of the OData to Model Context Protocol (MCP) bridge, providing universal access to OData services through MCP tools.

Local serverstdioPython

What is the Odata MCP Go MCP server?

Odata MCP Go MCP server exists for a simple reason — assistants are far more useful when they can act on Odata MCP Go directly instead of describing what you should do. A Go implementation of the OData to Model Context Protocol (MCP) bridge, providing universal access to OData services through MCP tools.

What you get

  • Universal OData Support — Works with both OData v2 and v4 services
  • Dynamic Tool Generation — Automatically creates MCP tools based on OData metadata
  • Multiple Authentication Methods — Basic auth, cookie auth, and anonymous access
  • SAP OData Extensions — Full support for SAP-specific OData features including CSRF tokens
  • Comprehensive CRUD Operations — Generated tools for create, read, update, delete operations
  • Advanced Query Support — OData query options ($filter, $select, $expand, $orderby, etc.)

What the assistant can call

Once Odata MCP Go is connected, these are the calls the assistant has available:

  • Authentication — The Authentication tool exposed by this server

Configuration and credentials

You will need 3 environment variables: ODATA_USERNAME, ODATA_PASSWORD, ODATA_SERVICE_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Choosing this one

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Odata MCP Go's toolset — Authentication — is a fair guide to whether it matches your workflow. It is maintained by oisee; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the odata mcp go mcp server does with a few real requests.

Available tools

ToolWhat it does
AuthenticationThe Authentication tool exposed by this server.

How to install the Odata MCP Go MCP server

#### With Authentication

```json
{
    "mcpServers": {
        "my-sap-service": {
            "command": "/usr/local/bin/odata-mcp",
            "args": [
                "--service",
                "https://my-sap-system.com/sap/opu/odata/sap/MY_SERVICE/",
                "--user",
                "myusername",
                "--password",
                "mypassword",
                "--tool-shrink",
                "--entities",
                "Products,Orders,Customers"
            ]
        }
    }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
ODATA_USERNAMEConfiguration value read at startup.Optional
ODATA_PASSWORDConfiguration value read at startup.Optional
ODATA_SERVICE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Odata MCP Go to Authentication.

Frequently asked questions

It connects Odata MCP Go to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Authentication) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Odata MCP Go directly.