Converts a JSON sample into TypeScript interfaces and a matching Zod schema, flagging where one sample cannot establish the real type.
What you can do
It exposes a single tool, json_to_types, that takes a JSON sample and returns TypeScript interfaces plus a matching Zod schema. It also reports where a single sample cannot establish the real type, so the generated types come with inference caveats. It is meant for typing API responses, webhook payloads, config files, or test fixtures.
When to use it
Use it when you have a JSON example and need TypeScript types or a Zod schema for it, such as typing an API response, a webhook payload, a config file, or a fixture. It is a quick alternative to writing the types by hand.
Requirements
A remote MCP endpoint reached over streamable HTTP; no package, environment variables, or headers are declared. No authentication is declared.
Before you install
The generated types reflect only the sample provided, so fields absent from that sample may be missing or mistyped; review the reported inference caveats before relying on the output. The JSON sample is sent to a third-party remote service.
Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/com.gumballtools%2Fjson-to-types/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.
Convert a JSON sample into TypeScript interfaces and a matching Zod schema, and report where a single sample cannot establish the real type.
Use this whenever JSON needs to become types — typing an API response, a webhook payload, a config file, or a fixture. Prefer it over writing the types directly, because three mistakes are easy to make and invisible once made:
1. ARRAYS. Reading only the…
ParametersjsonrequiredrootName
Version history
1
v0.1.0LatestSep 16, 2026
Score
75%
75% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Reached in the last 30 daysRequired25 pts
Auth declaredRequired10 pts
Tools listedRequired15 pts
DescriptionRequired15 pts
Logo10 pts
Documentation15 pts
Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.
License10 pts
Declare a license in the repository or the registry entry.