Labsco
zodromon logo

mcp-gen

from zodromon

Turn your typed TypeScript functions into an MCP server; tool, resource, and prompt schemas are inferred from your types and JSDoc. No schema library, no decorators, no boilerplate.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedAccount requiredNeeds API keys

⌁ labsco summary β€” our analysis, not the vendor's

What it is β€” A developer tool that turns exported, typed TypeScript functions into an MCP server, inferring tool/resource/prompt schemas from your types and JSDoc β€” no schema library or decorators.

What you get β€”

  • Schema inference β€” the TS type checker (via ts-morph) turns each parameter into JSON Schema and each JSDoc comment into a description; run mcp-gen tools.ts to emit them
  • A live playground β€” mcp-gen dev tools.ts watches your file and renders an input form per tool you call in the browser
  • A real server β€” mcp-gen serve tools.ts --port 3000, bound to loopback by default
  • Opt-in exposure β€” --host 0.0.0.0 with a warning, plus bearer-token auth

Requirements β€” nothing external; the MCP_GEN_API_KEYS env var holds bearer tokens you define to protect the endpoint, not any third-party account.

Cost snapshot β€” free and MIT-licensed; no paid service behind it.

Setup effort β€” npx/CLI one-liner against your tools.ts.

Our take β€” Great for shipping an MCP server straight from typed functions, but note serve executes your local code when tools are called, so turn on bearer auth before exposing it beyond loopback.

Source: the project README β€” summarized 2026-07-08.