Skip to main content
Glama

DHIS2 MCP Server

by Dradebo

dhis2_generate_ui_form_patterns

Automatically create @dhis2/ui form patterns, including inputs, validation, date picker, file upload, and multi-select components, tailored for DHIS2 health information systems.

Instructions

Generate @dhis2/ui form patterns (inputs, validation, date picker, file upload, multi-select)

Input Schema

NameRequiredDescriptionDefault
accessibilityNoAdd accessibility attributes and checklist
componentNameNoComponent name
densityNoForm density guidance
i18nNoInclude @dhis2/d2-i18n usage
includeDatePickerNoInclude DatePicker
includeFileUploadNoInclude FileInput upload
includeMultiSelectNoInclude MultiSelect
includeSelectsNoInclude SingleSelect inputs
includeValidationNoInclude client-side validation
rtlNoAdd RTL considerations

Input Schema (JSON Schema)

{ "properties": { "accessibility": { "description": "Add accessibility attributes and checklist", "type": "boolean" }, "componentName": { "description": "Component name", "type": "string" }, "density": { "description": "Form density guidance", "enum": [ "comfortable", "compact" ], "type": "string" }, "i18n": { "description": "Include @dhis2/d2-i18n usage", "type": "boolean" }, "includeDatePicker": { "description": "Include DatePicker", "type": "boolean" }, "includeFileUpload": { "description": "Include FileInput upload", "type": "boolean" }, "includeMultiSelect": { "description": "Include MultiSelect", "type": "boolean" }, "includeSelects": { "description": "Include SingleSelect inputs", "type": "boolean" }, "includeValidation": { "description": "Include client-side validation", "type": "boolean" }, "rtl": { "description": "Add RTL considerations", "type": "boolean" } }, "type": "object" }

Other Tools from DHIS2 MCP Server

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/Dradebo/dhis2-mcp'

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