mcp_form 0.1.0 copy "mcp_form: ^0.1.0" to clipboard
mcp_form: ^0.1.0 copied to clipboard

Form document creation, validation, rendering, and management for the MCP ecosystem.

MCP Form #

Form document creation, validation, rendering, and management for the MCP ecosystem. Implements the FormPort / FormRendererPort / FormTemplatePort Contract Layer defined in mcp_bundle.

Components #

  • Template — field types, layout extensions, schema validator, defaults, summary, version compatibility / validator.
  • Document — factory, extensions, summary.
  • Validator — form / layout / schema validators with autofix engine.
  • Binding — runtime data binding engine connecting templates to documents.
  • Standard port adapters — implementations of mcp_bundle form Contract Layer.

Quick Start #

import 'package:mcp_form/mcp_form.dart';

final template = FormTemplateFactory.create(...);
final doc = DocumentFactory.fromTemplate(template);

final validator = FormValidator();
final result = validator.validate(doc);
if (!result.isValid) {
  final fixed = AutofixEngine().apply(doc, result);
}

Support #

License #

MIT — see LICENSE.

0
likes
130
points
164
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Form document creation, validation, rendering, and management for the MCP ecosystem.

Homepage
Repository (GitHub)
View/report issues

Topics

#form #mcp #ai #dart #document

License

MIT (license)

Dependencies

collection, mcp_bundle, meta

More

Packages that depend on mcp_form