Quicktype Mcp
@AscEmon
关于 Quicktype Mcp
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"quicktype-mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/quicktype-mcp",
"run",
"main.py"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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.
其他 分类下的更多 MCP 服务器
Awesome Mlops
visengerA curated list of references for MLOps

EverArt
modelcontextprotocolModel Context Protocol Servers
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Codelf
unbugA search tool helps dev to solve the naming things problem.
评论