A Java program that generates a Quarkus MCP server form an Open API Swagger file
A Java program that generates a Quarkus MCP server form an Open API Swagger file. Exposed over MCP by the openapi to mcp generator mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.
This project provides a powerful tool for automatically converting OpenAPI/Swagger specifications into Model Context Protocol (MCP) servers, allowing LLMs to interact with any REST API through standardized tools.
Everything the assistant can do here goes through one of these:
GeneratedMcpServer — Name of the output Java file (without .java extension)You will need 5 environment variables: SERVER_INDEX, SERVER_URL, API_KEY, API_KEY_HEADER, BEARER_TOKEN. 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.
Installation goes through your MCP client rather than a global install: point it at clever-tools on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. OpenAPI To MCP Generator's toolset — GeneratedMcpServer — is a fair guide to whether it matches your workflow. It is maintained by LostInBrittany; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against OpenAPI To MCP Generator's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| GeneratedMcpServer | Name of the output Java file (without .java extension) |
{
"mcpServers": {
"swagger-to-mcp-generator": {
"command": "npx",
"args": ["-y", "clever-tools"],
"env": {
"SERVER_INDEX": "your-value",
"SERVER_URL": "your-value",
"API_KEY": "your-value",
"API_KEY_HEADER": "your-value",
"BEARER_TOKEN": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| SERVER_INDEX | Configuration value read at startup. | Optional |
| SERVER_URL | Endpoint or connection string the server talks to. | Yes |
| API_KEY | Credential the server authenticates with. | Yes |
| API_KEY_HEADER | Credential the server authenticates with. | Yes |
| BEARER_TOKEN | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.