oisee/odata_mcp_go — reverse-engineered prompt
Reverse engineered prompt
Build me a Go command line app that acts as a bridge between OData services and MCP, so tools like Claude Desktop can explore and use OData APIs without custom coding. It should work with both OData v2 and v4, read the service metadata, and automatically expose useful tools for listing, filtering, creating, updating, deleting, and calling function imports. I want a normal mode where each entity gets its own tool, and also a universal mode with a single compact tool for very large services so the token footprint stays small.
Please include support for basic auth, cookies, anonymous access, and optional forwarding of MCP request headers to the OData backend for per request auth. It should handle SAP specific quirks too, including CSRF tokens and GUID formatting. Add read only options, common query features like select, expand, orderby, and filter, and let me limit which entities become tools. Make it easy to run on Windows, Mac, and Linux, with stdio by default and optional HTTP style transports. Include practical docs and example Claude Desktop config, and look up current MCP details online if needed.
Want more depth? Deep Reverse