{"data":{"name":"com.gumballtools/json-to-types","title":"JSON to Types","description":"Convert JSON samples into TypeScript interfaces and Zod schemas, with inference caveats.","version":"0.1.0","websiteUrl":"https://json-to-types.gumballtools.com","repositoryUrl":"https://github.com/bwalvoord/gumball","remotes":[{"url":"https://json-to-types.gumballtools.com/api/mcp","type":"streamable-http"}],"packages":[],"status":"active","isLatest":true,"publishedAt":"2026-09-05T20:40:52.615Z","updatedAt":"2026-09-05T20:40:52.615Z","source":"official-registry","verification":"official","confidence":100,"stars":null,"sources":[{"stars":null,"title":"JSON to Types","source":"official-registry","sourceId":"com.gumballtools/json-to-types","updatedAt":"2026-09-05T20:40:52.615Z","confidence":100,"websiteUrl":"https://json-to-types.gumballtools.com","description":"Convert JSON samples into TypeScript interfaces and Zod schemas, with inference caveats.","verification":"official","repositoryUrl":"https://github.com/bwalvoord/gumball"}],"toolIndex":{"tools":[{"serverName":"com.gumballtools/json-to-types","endpointFingerprint":"e5fde3390d90a1ea81378fdb5bf10e1bd6d0f187c51275758f4c5e1afb364873","name":"json_to_types","title":"JSON to TypeScript and Zod","description":"Convert a JSON sample into TypeScript interfaces and a matching Zod schema, and report where a single sample cannot establish the real type.\n\nUse 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:\n\n1. ARRAYS. Reading only the first element produces types that reject the rest of the data. This merges every element into a union.\n2. NULL VS ABSENT. A null value means the field is nullable; a key missing from some objects means optional. Different types, routinely conflated.\n3. EMPTY CONTAINERS. Nothing can be inferred from [] or {}. This emits unknown and says so instead of inventing a plausible shape.\n\nIt is also far cheaper in output tokens than generating types inline for a large payload, and the result is deterministic.\n\nInput: `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\".\n\nReturns: `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.","inputSchema":{"type":"object","properties":{"json":{"type":"string","description":"Raw JSON text — concrete sample data, not a JSON Schema and not an OpenAPI document. Up to 200000 characters. Include several array elements if the shapes vary; only the variety matters, not the volume."},"rootName":{"description":"Name for the top-level interface. Must be a valid TypeScript identifier. Defaults to \"Root\".","type":"string"}},"required":["json"],"$schema":"https://json-schema.org/draft/2020-12/schema"},"annotations":{"readOnlyHint":true,"openWorldHint":false},"definitionHash":"39d793e6635e2fa1e96f911f9a116d780d6ba999f1bae02a9bf35b7b9f5336ef","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-15T20:46:16.866Z","metadataTrust":"untrusted"}],"endpoints":[{"endpointFingerprint":"e5fde3390d90a1ea81378fdb5bf10e1bd6d0f187c51275758f4c5e1afb364873","protocol":"streamable-http","status":"indexed","toolCount":1,"observedAt":"2026-11-15T20:46:16.866Z"}],"authentication":"unknown"},"connectionConfigurations":{"status":"ready","authentication":"not embedded","clients":{"Claude Desktop":{"mcpServers":{"com.gumballtools/json-to-types":{"url":"https://json-to-types.gumballtools.com/api/mcp"}}},"Cursor":{"mcpServers":{"com.gumballtools/json-to-types":{"url":"https://json-to-types.gumballtools.com/api/mcp"}}},"VS Code":{"servers":{"com.gumballtools/json-to-types":{"type":"http","url":"https://json-to-types.gumballtools.com/api/mcp"}}}}},"resourceType":"mcp-server","callable":true,"runtime":{"callable":true,"protocols":["mcp"]},"interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://json-to-types.gumballtools.com/api/mcp"}],"profile":{"apiVersion":"1","schemaVersion":"1","id":"mcp-server:com.gumballtools%2Fjson-to-types","resourceType":"mcp-server","canonicalUrl":"https://www.agentsjunction.com/api/v1/servers/com.gumballtools%2Fjson-to-types","name":"com.gumballtools/json-to-types","description":"Convert JSON samples into TypeScript interfaces and Zod schemas, with inference caveats.","interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://json-to-types.gumballtools.com/api/mcp"}],"capabilities":[],"identity":{"source":"official-registry","websiteUrl":"https://json-to-types.gumballtools.com","repositoryUrl":"https://github.com/bwalvoord/gumball","version":"0.1.0"},"verification":{"state":"official","confidence":100},"operations":{"resourceType":"mcp-server","name":"com.gumballtools/json-to-types","status":"online","lastCheckedAt":"2026-11-20T06:18:14.654Z","lastSuccessfulCheck":"2026-11-20T06:18:14.654Z","latencyMs":133,"consecutiveFailures":0,"isStale":false,"checks":{"endpointReachable":true,"protocolValid":true,"agentCardValid":null,"mcpHandshakeValid":true},"lastSeen":null,"lastSuccessfulInteraction":null,"lastHealthCheck":"2026-11-20T06:18:14.654Z","source":{"type":"health-check","url":null},"observedAt":"2026-11-20T06:18:14.654Z"},"security":null,"timestamps":{"createdAt":"2026-09-05T20:40:52.615Z","updatedAt":"2026-09-05T20:40:52.615Z","observedAt":"2026-11-20T06:18:14.654Z"},"compatibility":{"serverVersion":"0.1.0","protocolVersions":[{"protocol":"mcp","version":null}]}}}}