Skip to main content
Glama

Flutter MCP

by adamsmaka

get_pub_package_info

Retrieve detailed pub.dev package information, including version, metadata, and README content, for Flutter/Dart packages. Accepts package name, version, and token limit as inputs.

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" }

Other Tools from Flutter MCP

Related Tools

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