Skip to main content
Glama

DHIS2 MCP Server

by Dradebo

dhis2_create_ui_components

Generate customizable UI components for DHIS2 applications, including forms, tables, dashboards, and modals. Supports validation, pagination, search, export, and responsiveness for streamlined development.

Instructions

Generate common UI components using DHIS2 UI library patterns

Input Schema

NameRequiredDescriptionDefault
componentNameYesName of the component
componentTypeYesType of component to generate
dataIntegrationNo
featuresNo
stylingNo

Input Schema (JSON Schema)

{ "properties": { "componentName": { "description": "Name of the component", "type": "string" }, "componentType": { "description": "Type of component to generate", "enum": [ "form", "table", "dashboard", "modal", "navigation", "chart", "list" ], "type": "string" }, "dataIntegration": { "properties": { "apiEndpoint": { "description": "DHIS2 API endpoint to integrate with", "type": "string" }, "useDataMutation": { "description": "Use DHIS2 data mutation hooks", "type": "boolean" }, "useDataQuery": { "description": "Use DHIS2 data query hooks", "type": "boolean" } }, "type": "object" }, "features": { "properties": { "export": { "description": "Include export functionality", "type": "boolean" }, "pagination": { "description": "Include pagination for tables/lists", "type": "boolean" }, "responsive": { "description": "Make component responsive", "type": "boolean" }, "search": { "description": "Include search functionality", "type": "boolean" }, "validation": { "description": "Include form validation", "type": "boolean" } }, "type": "object" }, "styling": { "properties": { "customCss": { "description": "Include custom CSS classes", "type": "boolean" }, "theme": { "description": "Theme to apply", "enum": [ "default", "dark", "light", "custom" ], "type": "string" } }, "type": "object" } }, "required": [ "componentType", "componentName" ], "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/Dradebo/dhis2-mcp'

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