Skip to main content
Glama

DHIS2 MCP Server

by Dradebo

dhis2_diagnose_cors_issues

Identify and resolve CORS-related errors in DHIS2 app development by analyzing instance URLs, local development settings, browser behaviors, and error messages.

Instructions

Diagnose and provide solutions for CORS (Cross-Origin Resource Sharing) issues in DHIS2 app development

Input Schema

NameRequiredDescriptionDefault
browserYesBrowser being used for development
dhis2InstanceYesDHIS2 instance URL (e.g., https://play.dhis2.org/2.40.4)
errorMessageNoSpecific CORS error message received
localDevelopmentUrlYesLocal development URL (e.g., http://localhost:3000)
symptomsNoSymptoms experienced

Input Schema (JSON Schema)

{ "properties": { "browser": { "description": "Browser being used for development", "enum": [ "chrome", "firefox", "safari", "edge", "unknown" ], "type": "string" }, "dhis2Instance": { "description": "DHIS2 instance URL (e.g., https://play.dhis2.org/2.40.4)", "type": "string" }, "errorMessage": { "description": "Specific CORS error message received", "type": "string" }, "localDevelopmentUrl": { "description": "Local development URL (e.g., http://localhost:3000)", "type": "string" }, "symptoms": { "description": "Symptoms experienced", "items": { "enum": [ "login_fails", "api_requests_blocked", "cookies_not_sent", "302_errors", "preflight_failed" ], "type": "string" }, "type": "array" } }, "required": [ "dhis2Instance", "localDevelopmentUrl", "browser" ], "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