dhis3/go
sectorDHIS2ecosystem

MCP at the Compositor

On the first of November 2026, the dirigent project shipped version 0.30.0 and moved an agent-readable protocol from the demo column to the infrastructure column. "Every instance serves MCP over HTTP at /mcp," the release notes say. The dispatch is about what it means when an agent-readable interface becomes a default-on feature of the data layer, and why this particular release is the third independent data point in six weeks pointing in the same direction.

What MCP is

MCP (the Model Context Protocol) is a protocol specification first published by Anthropic in late 2024 and subsequently adopted, with varying enthusiasm, across the AI-platform landscape. It is one of the several candidate answers to the same practical question: how does an AI agent talk to an external system? HTTP APIs answer this question, but they require the agent to know the shape of the system's endpoints, the authentication scheme, the data schemas, and the error conventions, and to be prompted with that knowledge at the time of its conversation. MCP's idea is to standardise the handshake: the agent talks to a single MCP-speaking server; the server advertises, in a machine-readable form, what questions the agent can ask and what tools the agent can call; the agent can discover that surface at the moment of connection rather than at the moment of fine-tuning.

An MCP server, in other words, is a wrapper around an existing system that exposes the system's capabilities in a form an AI agent is expected to understand without pre-briefing. A system that ships an MCP server by default is a system that has decided to be reachable by agents as a native feature, not as an afterthought.

What dirigent is

Dirigent is a Python compositor for DHIS2 and FHIR environments. It is maintained in the open at github.com/winterop-com/dirigent, and it has a particular technical niche: it stitches together configuration packs (DHIS2 instances, FHIR servers, metadata schemas, validation rules, measure definitions) into coherent deployments. The November first release landed three substantive changes. A new dirigent-fhir package bundles FHIR R4 server support (search, FHIRPath, validation, CQL, measures) as a standalone pack. A dirigent-contrib package splits out contribution utilities into their own versioned wheel. And every dirigent instance, beginning with v0.30.0, serves an MCP endpoint at the path /mcp, authenticated with the same API token scheme the rest of the compositor uses.

The release notes describe the MCP addition in a single sentence. It is the smallest sentence in the release notes, and the one most likely to matter in a year's time.

The three data points

I would like a reader to notice that this release does not stand alone. The DHIS2-adjacent Python ecosystem has produced three independent MCP-related moves in the six weeks prior to this post.

In July 2026, a community member posting as ctejo on the DHIS2 Discourse demonstrated an AI chatbot speaking to a DHIS2 instance's configuration surface through an MCP server. The demonstration was a single implementer's experiment, framed as a prototype.

In October 2026, HISP Rwanda demonstrated an agentic AI tool called HMIS Digest at the HISP Africa Convening in Addis Ababa, querying DHIS2 APIs through locally-hosted agent tooling. (The published summary did not specify whether the tool used MCP or a different agent protocol; the pattern-level point is that the Rwanda demonstration treated agent-oriented access to a DHIS2 instance as a working national-prototype capability.) It was presented on infrastructure the host country controlled.

In November 2026, the dirigent release ships MCP as a default feature of every deployment. This is not a demonstration. This is a shipped artefact in a stable release of a Python package that is regularly installed in production DHIS2 adjacent environments. The feature is not opt-in; it is on by default.

The progression, over the six-week window, is from experiment, to prototype, to default. That is the usual shape of a pattern crystallising into infrastructure. It is worth attending to even if (perhaps especially if) a reader is sceptical that agent-readable infrastructure is an unalloyed good.

What this means for the port

The DHIS3/go port currently does not ship an MCP endpoint. It also does not ship any other agent-oriented interface. It ships the DHIS2 Web API as faithfully as the parity harness can prove, which is the correct first job of a port that intends to be a strangler-fig replacement rather than a different animal. The question of whether and when the port should grow an MCP endpoint is not yet on the port's roadmap, and the right time to put it on the roadmap is probably not today. But a reader of this journal who is also an implementer will want to notice that the broader ecosystem the port will eventually interoperate with has decided that MCP is the vocabulary agent-readable interfaces will use. A port that preserves the DHIS2 Web API byte-for-byte and is deployed alongside a dirigent instance will find that its users have agent-readable access to the dirigent-mediated portion of the stack whether or not the port itself grows an MCP surface. The question that gets answered first is not the port's; it is the ecosystem's.

The question the port's roadmap will have to answer, in time, is whether the native agent-readable surface for DHIS2 data should live at the compositor layer (dirigent-style, on top of multiple systems), at the application layer (inside the port itself), or in the handler layer of a specific API endpoint. All three are legitimate answers. All three are being prototyped somewhere. None has crystallised into an on-by-default property yet.

Six weeks ago an experiment, three weeks ago a prototype, this week a default. When that sequence happens at that speed in a sector that is as careful as this one, it is worth sitting with the sentence that describes it until the shape is clear.