Category: MCP

  • MCP Tool vs Swagger–part 3–creation and usage

    Now the idea is to generate from each MCP tool a swagger function. First, we should let the user to choose what MCP to convert to Swagger. This can be done with an Attribute, MCP2OpenAPI.AddMCP2OpenApi Then the problem is what to generate – I decide to generate POST api in an url /api/mcp/{class}/{function} And a…

  • MCP Tool vs Swagger–part 2–analysis

    Being a programmer, Swagger/OpenAPI is the first choice in order to have system functionality accessible by  something else than (web) UI . So the first thinking was –let’s automatically generate MCP tools from Swagger / OpenAPI definition. However, I realized that the OpenAPI is way too fine grained – and MCP is more directed towards…

  • MCP Tool vs Swagger–part 1

    MCP Tools and Swagger seems very …. well , very similar Topic MCP Tool Swagger (OpenAPI) Purpose Let LLMs safely call backend functions. Document and test REST APIs. Audience AI models + AI app developers. Human developers. Describes Tools (actions), not endpoints. HTTP endpoints, request/response formats. Used by ChatGPT, LLM apps, agents. FrontEnd + BackEnd…