Skip to main content
Glama

Flutter MCP

by adamsmaka

get_flutter_docs

Retrieve Flutter class documentation with smart truncation for efficient usage. Specify class name, library, and token limit to access detailed API information. (Note: Deprecated; use flutter_docs() for improved functionality.)

Instructions

Get Flutter class documentation on-demand with optional smart truncation.

DEPRECATED: This tool is deprecated. Please use flutter_docs() instead. The new tool provides better query resolution and unified interface.

Args: class_name: Name of the Flutter class (e.g., "Container", "Scaffold") library: Flutter library (e.g., "widgets", "material", "cupertino") tokens: Maximum token limit for truncation (default: 8000, min: 500)

Returns: Dictionary with documentation content or error message

Input Schema

NameRequiredDescriptionDefault
class_nameYes
libraryNowidgets
tokensNo

Input Schema (JSON Schema)

{ "properties": { "class_name": { "title": "Class Name", "type": "string" }, "library": { "default": "widgets", "title": "Library", "type": "string" }, "tokens": { "default": 8000, "title": "Tokens", "type": "integer" } }, "required": [ "class_name" ], "title": "get_flutter_docsArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adamsmaka/flutter-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server