u/ChristopherDci

MCP-Generator v2.0.0
▲ 15 r/MCPservers+2 crossposts

MCP-Generator v2.0.0

A feel days ago I posted a CLI that converts OpenAPI specs into MCP servers. The feedback here was brutal and exactly what I needed.

Here's what I actually fixed and shipped based on your comments:

The original post got two pieces of feedback that changed the project:

"Raw endpoints wrapped as tools is a poor LLM interface pattern" — Fair. The generator now produces a scaffold you're supposed to implement, not ship. Incremental generation (@@mcp-gen:start/end markers) means you regenerate without losing your handler logic.

"console.log leaking into stdio corrupts the JSON-RPC stream" — This was a real bug. Fixed with a log() helper that writes to stderr and a safeSerialize() that handles Buffer/Uint8Array as base64 before anything touches stdout. Circular $ref schemas were the next wall — fixed with SwaggerParser.dereference({ circular: "ignore" }) + a visited-Set guard in the schema walker.

What shipped in v2.0.0:

YAML input (.json, .yaml, .yml, URLs) Python/FastMCP + Pydantic v2 target Incremental generation — re-run the generator without losing custom handlers oneOf/anyOf/discriminator support for complex specs Auth stubs from securitySchemes Interactive CLI mode for first-time users Built-in registry: mcp-gen init --from stripe (10+ APIs: Stripe, GitHub, Slack, OpenAI, Twilio, Shopify, Kubernetes, DigitalOcean, Azure) stdout isolation + safe binary serialization Circular $ref safety Published on npm and pip

Use cases:

Give Claude instant access to any REST API in under 2 minutes Generate internal API MCP servers for your team Rapid prototyping — have a working server before writing a single handler API-first development — spec first, scaffold second, logic last

2-minute setup:

npm install -g mcp-gen mcp-gen init --from stripe --out ./stripe-mcp cd stripe-mcp && npm install && npm start

Then add it to claude_desktop_config.json and Claude has full Stripe access.

GitHub: https://github.com/ChristopherDond/MCP-Generator npm: https://www.npmjs.com/package/mcp-gen Install: npm install -g mcp-gen

Questions? Want to contribute? Drop a comment or check out CONTRIBUTING.md on GitHub: https://github.com/ChristopherDond/MCP-Generator/blob/main/CONTRIBUTING.md

Still a lot to do — oneOf edge cases, better binary streaming, more registry entries. If you find a spec it chokes on, open an issue.

Thanks for all feedbacks and stars!!!

u/ChristopherDci — 2 days ago

I was AFK at a space station when a player named Unker took me to a beautiful planet where he and several other much more experienced players lived. I only have a little over 30 hours in the game, so at first I had no idea what was going on. Communication was a bit difficult too since I’m from Brazil and my English isn’t the best.

Even so, we ended up having a really good conversation for quite a while. Unker invited me to stay and live there, and we spent some time just admiring the planet together. I’m still going to continue the game’s main missions, but now I’ll have some great company for the journey.

https://preview.redd.it/h21es1cd4tzg1.png?width=1279&format=png&auto=webp&s=4072e020928a2e48fb263f59772596460c7b4644

Unker is a very good person!

reddit.com
u/ChristopherDci — 6 days ago
▲ 3 r/mcp

https://preview.redd.it/rmyztdgg70zg1.png?width=830&format=png&auto=webp&s=85ce13f7a7da05b931ada790ce42cd5504e7dc6f

Been tired of writing MCP server boilerplate every time I want to expose a REST API to Claude.

So I built mcp-gen — a CLI that takes an OpenAPI 3.x spec and generates a complete TypeScript MCP server project:

- Every path+method becomes a registered tool

- Input schemas derived from parameters + request body

- Example responses from the spec pre-wired as stubs

- Dockerfile, GitHub Actions CI, README — all included

→ GitHub: https://github.com/ChristopherDond/MCP-Generator.git

Still early — Python/FastAPI target and YAML input coming next. Happy to answer questions or take feedback.

reddit.com
u/ChristopherDci — 10 days ago
▲ 7 r/MCPservers+1 crossposts

Been tired of writing MCP server boilerplate every time I want to expose a REST API to Claude.

So I built mcp-gen — a CLI that takes an OpenAPI 3.x spec and generates a complete TypeScript MCP server project:

- Every path+method becomes a registered tool

- Input schemas derived from parameters + request body

- Example responses from the spec pre-wired as stubs

- Dockerfile, GitHub Actions CI, README — all included

→ GitHub: https://github.com/ChristopherDond/MCP-Generator.git

Still early — Python/FastAPI target and YAML input coming next. Happy to answer questions or take feedback.

reddit.com
u/ChristopherDci — 8 days ago

https://preview.redd.it/q2dh85dvjyyg1.png?width=1043&format=png&auto=webp&s=055341bb2c9a52261186d55d47462f2605bd65cf

Hello, using transformers to optimize and prevent the base cable network from breaking works very well, but in the area of generator batteries and etc., is there a way to do something like this to prevent the cables from breaking?

https://preview.redd.it/1sseevx6kyyg1.png?width=808&format=png&auto=webp&s=c889b8b8912d1a4b147343a1dc9293d5fade00f0

maybe reduce the number of generators or something?

reddit.com
u/ChristopherDci — 10 days ago

Hi, I've recently been having some trouble with my Agent's memory. What system/plugin/skill (I'm not sure what to call it) do you recommend?

reddit.com
u/ChristopherDci — 11 days ago

Hi, I have 2 geysers of cold and hot steam that I was using as a water source, apparently for some reason, 1 of them turned into a petroleum fissure and the other into a water geyser, is that normal or is it a bug? (I'm not using any mods in my base, just the Space Out DLC)

https://preview.redd.it/v1e9l6g24lyg1.png?width=250&format=png&auto=webp&s=96d37ba605a6cbf4d5762c579edd6af5b46aadd4

https://preview.redd.it/37wcmwa54lyg1.png?width=243&format=png&auto=webp&s=e4e807aa30f20c4107f6be7386dd3c78413d8d6e

reddit.com
u/ChristopherDci — 12 days ago

https://preview.redd.it/5gqyv3n9wtxg1.png?width=1277&format=png&auto=webp&s=f68cac32b3d875b92f25a3ea125f8284df192eea

I recently bought Oxygen Not Included and absolutely loved the game. It’s a real challenge, but it’s fun right from the start. I used to watch my favorite YouTubers play it, and on a random Saturday I decided to give it a try myself. I ended up having a great time.

However, things have gotten complicated lately. I think I’ve already created around four colonies. Managing power, water, and germs was going pretty well—until stress became a serious problem for my duplicants. At first it was manageable, but it quickly turned unsustainable: vomiting, shouting, chaos everywhere. It’s still fun, but also very difficult and honestly a bit discouraging.

reddit.com
u/ChristopherDci — 16 days ago

I'm thinking of migrating from OpenClaw to Hermes (I've been trying with OpenClaw for 3 weeks and honestly, I'm getting worse with it). Is there anything OpenClaw does that Hermes doesn't?

reddit.com
u/ChristopherDci — 17 days ago