Skip to main content
Glama

Flutter MCP

by adamsmaka

get_pub_package_info

Fetch detailed pub.dev package info, including version, description, metadata, and README content. Specify package name, optional version, and token limit for precise results. Use this tool to access Flutter package data directly.

Instructions

Get package information from pub.dev including README content.

DEPRECATED: This tool is deprecated. Please use flutter_docs() instead with the "pub:" prefix (e.g., flutter_docs("pub")).

Args: package_name: Name of the pub.dev package (e.g., "provider", "bloc", "dio") version: Optional specific version to fetch (e.g., "6.0.5", "2.5.1") tokens: Maximum token limit for response (default: 6000, min: 500)

Returns: Package information including version, description, metadata, and README

Input Schema

NameRequiredDescriptionDefault
package_nameYes
tokensNo
versionNo

Input Schema (JSON Schema)

{ "properties": { "package_name": { "title": "Package Name", "type": "string" }, "tokens": { "default": 6000, "title": "Tokens", "type": "integer" }, "version": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Version" } }, "required": [ "package_name" ], "title": "get_pub_package_infoArguments", "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