Agoda Open Sources APIAgent to Convert Any REST Pr GraphQL API Into an MCP Server with Zero Code

Agoda Open Sources APIAgent to Convert Any REST Pr GraphQL API Into an MCP Server with Zero Code

MarkTechPost
MarkTechPostFeb 17, 2026

Companies Mentioned

Why It Matters

APIAgent eliminates the manual, time‑consuming work of building custom MCP adapters, accelerating AI‑assistant development and cutting operational costs for firms that rely on extensive microservice ecosystems.

Key Takeaways

  • APIAgent converts any REST/GraphQL API to MCP server.
  • Zero‑code setup via OpenAPI or GraphQL schema.
  • DuckDB enables local SQL filtering and aggregation.
  • Recipe Learning caches query patterns, cutting latency and cost.
  • Read‑only default ensures security; mutating calls require whitelist.

Pulse Analysis

Enterprises building generative-AI assistants have hit a familiar roadblock: translating natural-language requests into concrete API calls. While the Model Context Protocol (MCP) standardised the handshake between large language models and external services, developers still spent hours writing bespoke adapters for each microservice. Agoda’s new open-source project, APIAgent, tackles this “integration tax” by automating the bridge between any REST or GraphQL endpoint and an MCP server. The result is a plug-and-play layer that eliminates manual boilerplate, letting product teams focus on conversational logic rather than low-level plumbing.

The engine behind APIAgent combines three lightweight components. FastMCP provides the core MCP server, while the OpenAI Agents SDK orchestrates model prompts and tool selection. Crucially, the system leverages DuckDB, an in-process SQL engine, to perform on-the-fly data shaping—sorting, aggregating, or joining large result sets before they reach the LLM. Developers simply point the proxy at an OpenAPI or GraphQL schema, and APIAgent introspects the definition, generates tool descriptors, and exposes them to the model without writing a single line of code. This configuration-first approach dramatically reduces deployment friction.

For organisations with thousands of internal APIs, APIAgent promises measurable cost and speed gains. Its “Recipe Learning” feature records successful query traces and replays them as parameterised templates, slashing LLM inference cycles and latency on repeat requests. Security is baked in: the proxy defaults to read-only mode, blocking mutating operations unless explicitly whitelisted, which aligns with compliance mandates. By open-sourcing the framework, Agoda invites the broader community to extend and audit the code, accelerating adoption of MCP across the travel sector and beyond, and setting a new benchmark for zero-code AI integration.

Agoda Open Sources APIAgent to Convert Any REST pr GraphQL API into an MCP Server with Zero Code

Comments

Want to join the conversation?

Loading comments...