Quicktype Mcp
@AscEmon
About Quicktype Mcp
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"quicktype-mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/quicktype-mcp",
"run",
"main.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Quicktype Mcp?
Quicktype Mcp is an MCP (Model Context Protocol) server specialized in generating Dart models from JSON input. It uses the quicktype.io API to create type-safe, null-safe Dart classes with serialization and deserialization methods, primarily targeting Flutter and Dart developers.
How to use Quicktype Mcp?
Configure the server in your MCP client using the provided JSON snippet, specifying the command uv with the directory path and --directory argument pointing to the Quicktype Mcp installation folder, followed by run main.py. The server exposes the generate_model tool, which accepts a json_input string and an optional class_name (default: “Model”) and language (currently only supports dart).
Key features of Quicktype Mcp
- Specialized for generating Dart models from JSON
- Automatic JSON validation and fixing
- Generates null-safe Dart models
- Handles complex nested JSON structures
- Includes
fromJsonandtoJsonmethods
Use cases of Quicktype Mcp
- Quickly create type-safe Dart models for Flutter applications
- Convert complex nested JSON API responses into Dart classes
- Automate Dart model generation from JSON schemas or sample data
FAQ from Quicktype Mcp
What are the prerequisites to run Quicktype Mcp?
Python 3.10 or higher and an active internet connection to access the quicktype.io API are required.
What languages does Quicktype Mcp support?
Currently, the server only supports generating models in Dart. The language parameter must be set to dart.
How does Quicktype Mcp handle nested JSON structures?
The server properly handles nested objects by generating their own classes, and correctly handles lists and maps with their generic types.
What should I do if the generated models have errors?
Ensure your JSON is valid, try simplifying complex JSON structures if you encounter errors, and check that the class name follows Dart naming conventions.
More Other MCP servers
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Servers
modelcontextprotocolModel Context Protocol Servers
Comments