Skip to main content
Glama

DHIS2 MCP Server

by Dradebo

dhis2_configure_cors_allowlist

Configure Cross-Origin Resource Sharing (CORS) allowlist for DHIS2 health systems by specifying allowed origins and generating setup instructions to enable secure access from external applications.

Instructions

Generate instructions and configuration for DHIS2 CORS allowlist setup

Input Schema

NameRequiredDescriptionDefault
allowedOriginsYesURLs to add to CORS allowlist (e.g., ["http://localhost:3000", "https://myapp.example.com"])
dhis2VersionNoDHIS2 version (e.g., "2.40.4")
includeStepsNoInclude step-by-step configuration instructions

Input Schema (JSON Schema)

{ "properties": { "allowedOrigins": { "description": "URLs to add to CORS allowlist (e.g., [\"http://localhost:3000\", \"https://myapp.example.com\"])", "items": { "type": "string" }, "type": "array" }, "dhis2Version": { "description": "DHIS2 version (e.g., \"2.40.4\")", "type": "string" }, "includeSteps": { "description": "Include step-by-step configuration instructions", "type": "boolean" } }, "required": [ "allowedOrigins" ], "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