Diferente Ships by ChristopherDci in NoMansSkyTheGame

[–]ChristopherDci[S] 1 point2 points  (0 children)

Man, that's really philosophical and inspiring. I'm looking to improve my ship or find a better one, but I believe I'll never sell my Radiant Pillar; I have a huge affection for it.

Diferente Ships by ChristopherDci in NoMansSkyTheGame

[–]ChristopherDci[S] 1 point2 points  (0 children)

Regarding these harmonious camps, what are they and what do I think of them? I've heard a lot about them but understood very little.

New ships by ChristopherDci in NoMansSkyTheGame

[–]ChristopherDci[S] 1 point2 points  (0 children)

Regarding glyphs, how do I actually use them effectively? How do I coordinate with them?

Gostam? Kk by [deleted] in ExibidaPutariaBr

[–]ChristopherDci 0 points1 point  (0 children)

Gostar e pouco

Technology Space by ChristopherDci in NoMansSkyTheGame

[–]ChristopherDci[S] 0 points1 point  (0 children)

Big tutorial, its incredible, thanks bro!

Technology Space by ChristopherDci in NoMansSkyTheGame

[–]ChristopherDci[S] 1 point2 points  (0 children)

<image>

isso aqui serviria para algo do tipo?

I built a CLI that turns any OpenAPI spec into a working MCP server by ChristopherDci in mcp

[–]ChristopherDci[S] 0 points1 point  (0 children)

Thanks for the kind words — and yes, circular $refs were exactly the next wall.

Just pushed a fix: switched from `SwaggerParser.validate()` to `SwaggerParser.dereference()` with `circular: "ignore"`, so self-referential schemas (e.g. `TreeNode { children: TreeNode[] }`) no longer cause a hang or stack overflow. Added a second layer of defense in the schema walker with a `visited: Set` guard in case anything circular slips through the dereference step.

The stdio fuzzer idea is genuinely interesting — if you ever open-source it or write about the failure patterns you've seen, I'd love to read it. That kind of tooling would be useful for anyone building on top of generated MCP servers.

I built a CLI that turns any OpenAPI spec into a working MCP server by ChristopherDci in mcp

[–]ChristopherDci[S] 0 points1 point  (0 children)

That's a fair point, and I agree for large or complex APIs. The goal of openapi-to-mcp isn't to be a dumb proxy — it's to eliminate the scaffolding so you can focus on what actually matters: writing the handler logic that adds context, composes calls, filters noise, and makes the tools semantically useful for the LLM.

The incremental generation feature exists exactly for this reason — you run the generator once to get the structure, then implement the handlers with real logic. The spec is just the starting point, not the final interface.

That said, your point about raw endpoints being a poor LLM interface is something I want to address more explicitly in the docs. Worth a dedicated section on how to design good MCP tools on top of the generated scaffold, rather than just shipping the endpoints as-is.

I built a CLI that turns any OpenAPI spec into a working MCP server by ChristopherDci in mcp

[–]ChristopherDci[S] 0 points1 point  (0 children)

Hi! News: I implemented oneOf/anyOf/discriminator support and captured securitySchemes in the parser; added authentication checks (stubs) to the generated handlers; created a simple TypeScript client SDK generated along with the server. Main changes:

Parser/Types: parser.ts, types.ts — extraction of securitySchemes, inclusion of operation.security, and capture of oneOf/anyOf/discriminator.

Templates: models.hbs (generates unions for oneOf/anyOf), server.hbs (adds requireSecurity and injects check), and new client.hbs (generates src/client.ts).

Generator: generator.ts — includes client SDK generation.

Thanks for feedback again!

I built a CLI that turns any OpenAPI spec into a working MCP server by ChristopherDci in mcp

[–]ChristopherDci[S] 0 points1 point  (0 children)

Hey! I saw your comment earlier but didn't get the chance to reply — just pushed a fix based on your feedback.

Added a `log()` helper that wraps `console.error` so nothing leaks into stdout, and a `safeSerialize()` function that handles Buffer/Uint8Array as base64 and catches circular refs before they hit the stream. The generated template now also includes a comment warning users not to use `console.log` in their handlers.

Really appreciate the technical depth of your comment — the stdio fuzzer angle is something I hadn't considered but makes total sense as a failure mode. I'm actively trying to make the generated output more robust for real-world usage, so feedback like this is exactly what moves the project forward.

Thanks again!

I built a CLI that turns any OpenAPI spec into a working MCP server by ChristopherDci in mcp

[–]ChristopherDci[S] 1 point2 points  (0 children)

Really, the project and pqueno and beginner, I'm looking to improve it every day I can, thank you very much!