Upgrade to Pro — share decks privately, control downloads, hide ads and more …

From OpenAPI to MCP: Making Existing APIs Agent...

From OpenAPI to MCP: Making Existing APIs Agent-Ready

Delivered at Apidays Australia | October 2026

Demo tool: https://github.com/oapicf/oag-mcp

Cliffano Subagio

November 01, 2026

Transcript

50 slides
  1. Agenda 1. The Agentic Shift 2. MCP to the Rescue

    3. OpenAPI, Meet MCP 4. Deployment model 5. Tool exposure strategy 6. Authentication and Identity
  2. What could go wrong? • Hallucinations, payload errors • Limited

    context • Secret exposure • NxM integration nightmare 9 © 2020 Shine Solutions Group
  3. What is MCP? • Model Context Protocol • Open standard,

    initiated by Anthropic • Architecture: MCP servers and MCP clients • Transports: stdio and streamable-http • Tool executions • Security boundary 13 © 2020 Shine Solutions Group
  4. Payload and intent • API is deterministic AI agent is

    non-deterministic and can hallucinate Payload construction provides determinism • API can contain hundreds of endpoints AI agent has limited context, can’t fit API knowledge Tools reduce how much AI agent needs to know 15 © 2020 Shine Solutions Group
  5. OpenAPI • Standard format for REST API • Documents endpoints,

    parameters, authentication, responses • Currently managed by OpenAPI Initiative • Created by Tony Tam (Wordnik, SmartBear) 20 © 2020 Shine Solutions Group
  6. What to assess? • Deployment model • Tool exposure strategy

    • Authentication and identity 27 © 2020 Shine Solutions Group
  7. Supported Authentication HOP 1 AI Agent to MCP Server (MCP

    Spec) HOP 2 MCP Server to API Endpoint (OpenAPI Spec) Stdio - Environment credentials API Key Streamable HTTP - OAuth 2.1 HTTP Basic, Bearer OAuth 2.0 OpenID Connect Mutual TLS 43 © 2020 Shine Solutions Group
  8. Identity 44 PATTERN Identity at MCP Identity at API Notes

    Service credential Optional user identity MCP server’s identity MCP server has to manage secret. MCP server needs to log user identity if provided. Identity forwarding User identity MCP server’s identity with header X-On-Behalf-Of: <User> API must trust MCP server. Per-user vault User identity User identity IDP can differ between MCP and API. MCP server has to manage vault. Token exchange on-behalf-of User identity User identity Same IDP used by Token contains MCP server MCP and API. ’s identity © 2020 Shine Solutions Group
  9. Resources • https://puiij.com/index.php/research/article/view/197 • https://cdn.openai.com/pdf/5d1e1489-21c0-43e4-9d42- f87efdbf0082/the-shift-to-agentic-ai-evidence-from-codex.pdf • https://www.anthropic.com/research/employment-atanthropic • https://modelcontextprotocol.io/docs/2026-07-28/gettingstarted/intro

    • https://www.openapis.org/what-is-openapi • https://openapi-generator.tech/ • https://gofastmcp.com/integrations/openapi • https://awslabs.github.io/mcp/servers/openapi-mcp-server • https://springdoc.org/mcp.html 48 © 2020 Shine Solutions Group
  10. Resources • https://developers.cloudflare.com/agents/model-context- protocol/guides/build-codemode-openapi-mcp-server/ • https://gofastmcp.com/python-sdk/fastmcp-experimentaltransforms-code_mode.md • https://www.stainless.com/docs/mcp/ • https://speakeasy.com/product/mcp-server

    • https://github.com/harsha-iiiv/openapi-mcp-generator • https://mcp.so/servers/swagger-to-mcp-generator • https://learning.postman.com/docs/postman-ai/mcp-servers/ generate/ • https://learn.microsoft.com/azure/api-management/exportrest-mcp-server 49 © 2020 Shine Solutions Group
  11. Resources • https://developers.googleblog.com/turn-your-rest-apis-into- mcp-tools-with-google-cloud-api-gateway/ • https://zuplo.com/learning-center/mcp-first-class-api-style • https://docs.aws.amazon.com/bedrock-agentcore/latest/ devguide/gateway-outbound-auth.html •

    https://developer.konghq.com/mcp/autogenerate-mcp-tools • https://apim.docs.wso2.com/en/4.6.0/ai-gateway/mcpgateway/overview/ • https://github.com/IBM/mcp-context-forge • https://github.com/topics/openapi-to-mcp • https://github.com/oapicf/oag-mcp 50 © 2020 Shine Solutions Group

More Decks by Cliffano Subagio

Other Decks in Technology