Search / com.gumballtools/json-to-types
JSON to Types
R0· no sign-inConvert JSON samples into TypeScript interfaces and Zod schemas, with inference caveats.
v0.1.0 · active · repository · website · descriptor JSON · versions
Search / com.gumballtools/json-to-types
R0· no sign-inConvert JSON samples into TypeScript interfaces and Zod schemas, with inference caveats.
v0.1.0 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"json-to-types": {
"type": "http",
"url": "https://json-to-types.gumballtools.com/api/mcp"
}
}
}claude mcp add --transport http json-to-types https://json-to-types.gumballtools.com/api/mcp[mcp_servers.json-to-types]
url = "https://json-to-types.gumballtools.com/api/mcp"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"json-to-types": {
"type": "remote",
"url": "https://json-to-types.gumballtools.com/api/mcp",
"enabled": true
}
}
}{
"mcpServers": {
"json-to-types": {
"type": "http",
"url": "https://json-to-types.gumballtools.com/api/mcp"
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=json-to-types&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vanNvbi10by10eXBlcy5ndW1iYWxsdG9vbHMuY29tL2FwaS9tY3AifQ%3D%3D"
}{
"servers": {
"json-to-types": {
"type": "http",
"url": "https://json-to-types.gumballtools.com/api/mcp"
}
}
}{
"mcpServers": {
"json-to-types": {
"httpUrl": "https://json-to-types.gumballtools.com/api/mcp"
}
}
}extensions:
"json-to-types":
enabled: true
name: "json-to-types"
type: streamable_http
uri: "https://json-to-types.gumballtools.com/api/mcp"
timeout: 300
protocol.modernsupports 2026-07-28 (server/discover)protocol.statelessanswers without a sessionprotocol.transportstreamable HTTPprotocol.list_ttltools/list declares ttlMs 0, so clients re-fetch it on every useauth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptionsevery tool has a descriptiontools.description_length1 tools have descriptions over 1,024 characters, which crowds the contexttools.schemasevery tool has an object input schematools.annotations1 of 1 tools declare readOnlyHint or destructiveHinttools.directory_hintsno tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: json_to_types (destructiveHint, idempotentHint)tools.token_costabout 501 tokens to load every tooltools.api_dumptools are not a one-to-one API dumpstability.changesno tool changes in 30 daysstability.rug_pullno tool changed its meaning under the same namedeps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI packageNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +dns-namespace +website +reachable +uptime-100% ~updated-44d-ago -duplicate-repo(16 names)
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
| remote | auth | reachable | uptime 30d | p50 | protocol | last ok |
|---|---|---|---|---|---|---|
https://json-to-types.gumballtools.com/api/mcp streamable-http | none | yes | 100% | 901 ms | 2026-07-28 | 2026-10-19 |
json_to_typesread-only | 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 first element produces types that reject the rest of the data. This merges every element into a union. 2. NULL VS ABSENT. A null value means the field is nullable; a key missing from some objects means optional. Different types, routinely conflated. 3. EMPTY CONTAINERS. Nothing can be inferred from [] or {}. This emits unknown and says so instead of inventing a plausible shape. It is also far cheaper in output tokens than generating types inline for a large payload, and the result is deterministic. Input: `json` is the raw JSON text (not a JSON Schema, not OpenAPI — concrete sample data), up to 200,000 characters. `rootName` optionally names the top-level interface and defaults to "Root". Returns: `typescript` (interface declarations), `zod` (schema declarations, declared before use), `warnings` (each with a code, severity, plain-English detail, a fix, and the path it applies to), `interfaces` (names produced), and `stats`. Read the warnings before trusting the output — they are the part a model generating types inline cannot give you. |
Schemas: list_tools.
15 other active names share this repository (showing 10): com.crontoenglish/cron-translator, com.gumballtools/amortize, com.gumballtools/body-metrics, com.gumballtools/check-digit, com.gumballtools/color-companion, com.gumballtools/due-date, com.gumballtools/equation-steps, com.gumballtools/iso-week, com.gumballtools/payload-validator, com.gumballtools/penny-rounding
And 8 more from this publisher.
{
"name": "com.gumballtools/json-to-types",
"title": "JSON to Types",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://json-to-types.gumballtools.com/api/mcp",
"type": "streamable-http"
}
],
"version": "0.1.0",
"repository": {
"url": "https://github.com/bwalvoord/gumball",
"source": "github"
},
"websiteUrl": "https://json-to-types.gumballtools.com",
"description": "Convert JSON samples into TypeScript interfaces and Zod schemas, with inference caveats."
}