flocks_mcp 0.1.1
flocks_mcp: ^0.1.1 copied to clipboard
Servidor MCP que serve o catálogo de 131 componentes do Flocks (props, uso, a11y) a agentes.
Changelog #
Every relevant change to this package. The format follows Keep a Changelog, and the numbering follows SemVer.
On the numbering. This package moves in lockstep with
flocks: what it serves is theflockscomponent catalog, and a version line of its own would only create a compatibility matrix between server and catalog. The public line starts at0.1.0, next to the core; theflocksCHANGELOG explains why0.x. It published afterflocks, because the core's0.1.0is what settles the catalog schema this package embeds.
0.1.1 - 2026-08-10 #
Added #
- An
example/, with the three ways in: registering the command with an agent, the same conversation by hand over a pipe (newline-delimited JSON-RPC, for when a client misbehaves and you need to know which side is wrong), andFlocksCatalogused directly from Dart. Every output shown there was captured from a real run, not written from memory. It is also the last of the five pub.dev checks:0.1.0scored 150/160, and "no example found" was the whole gap.
Fixed #
- O
LICENSEvolta a ser reconhecível como MIT. Ele trazia o texto SPDX seguido de uma nota sobre o catálogo embarcado, e qualquer texto apensado derruba a confiança dolicense_detector— que é justamente quem pontua a licença no pub.dev, onde a0.1.0deste pacote já está. A explicação do catálogo está no README, e o.mcpbcontinua levando oLICENSEdentro.
Changed #
- Versão em lockstep com o
flocks0.1.1, para o Release do bundle sair com a licença corrigida. - The package
descriptionis shorter — 92 characters, down from 104. The MCP Registry refuses anything above 100 and answers422at publish time; pub.dev has no such ceiling and had already accepted the longer one, so0.1.0keeps it there for good. The window now belongs to both destinations, andtest/server_json_test.dartgates it from both sides: at most 100 for the registry, at least 60 before pub.dev starts calling the description too short.
0.1.0 - 2026-08-10 #
Added #
- An MCP server over stdio, exposing the
flockscomponent catalog to agents through three tools:list_components,get_componentandsearch_components. Every one of them takeslang(enorpt, defaulting toen) — the catalog is bilingual at the source, per field, so there is no fallback to invent. - The catalog travels embedded, as generated Dart
(
lib/src/catalog_data.g.dart, written bytool/embed_catalog.dart). A package installed bydart pub global activatecannot see a sibling package'sdoc/, so readingflocks' JSON at runtime was never an option.test/catalog_embed_freshness_test.dartcompares the embedded copy with the source byte for byte, so a stale catalog fails a test instead of being served in silence. - Errors that teach rather than merely reject: an unknown
idanswers with the nearest ids it does know, and an invalidlangorcategoryanswers with the valid values. The consumer is a model, and a model corrects itself from a good error. - An MCP Bundle (
flocks-mcp.mcpb), built by CI on everyv*tag and attached to the GitHub Release with its SHA-256: one archive with native executables for macOS (arm64/x64), Linux (x64) and Windows (x64), installable into Claude Desktop with two clicks and no Dart SDK. The manifest is generated from the pubspec (tool/generate_mcpb_manifest.dart, gated bytest/mcpb_manifest_test.dart), and the release also attaches a generatedserver.json, ready for a deliberate MCP Registry publication underio.github.jotapeconsultoria/flocks-mcp.