Skip to main content
Glama

DHIS2 MCP Server

by Dradebo

dhis2_configure_build_system

Configure build system for DHIS2 apps by setting up d2.config.js, webpack, entry points, custom authorities, PWA features, and proxy options to streamline development and deployment.

Instructions

Set up build system configuration for DHIS2 app (d2.config.js, webpack, etc.)

Input Schema

NameRequiredDescriptionDefault
appNameYesName of the application
customAuthoritiesNoCustom authorities required by the app
entryPointsNo
proxyNo
publicPathNoPublic path for assets (for CDN deployment)
pwaNo

Input Schema (JSON Schema)

{ "properties": { "appName": { "description": "Name of the application", "type": "string" }, "customAuthorities": { "description": "Custom authorities required by the app", "items": { "type": "string" }, "type": "array" }, "entryPoints": { "properties": { "app": { "description": "Main app entry point (default: \"./src/App.js\")", "type": "string" }, "plugin": { "description": "Plugin entry point for dashboard widgets", "type": "string" } }, "type": "object" }, "proxy": { "properties": { "auth": { "properties": { "password": { "description": "Password for proxy authentication", "type": "string" }, "username": { "description": "Username for proxy authentication", "type": "string" } }, "required": [ "username", "password" ], "type": "object" }, "target": { "description": "Proxy target DHIS2 instance URL", "type": "string" } }, "required": [ "target" ], "type": "object" }, "publicPath": { "description": "Public path for assets (for CDN deployment)", "type": "string" }, "pwa": { "properties": { "enabled": { "description": "Enable PWA features", "type": "boolean" }, "workboxOptions": { "description": "Workbox configuration for service worker", "type": "object" } }, "type": "object" } }, "required": [ "appName" ], "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