Drupal Code Query Adds MCP Server for Core and Contrib Analysis

Drupal themed graphic showing a code query feeding into an MCP connection that links coding tools with core changes and contributed project information. The visual illustrates how agent workflows can reach structured Drupal ecosystem data beyond a single repository.

Coding agents can now query Drupal ecosystem data through a hosted Model Context Protocol server added to Drupal Code Query. Drupal core JavaScript maintainer Théodore Biadala, creator of the service, announced the MCP interface in a 20 August 2026 blog post published by Très Bien Tech. Théodore said the underlying dataset and query API have been available since February, with the MCP server providing a new interface optimised for language models.

The interface gives coding agents access to evidence beyond the repository currently being edited. Its tools can search indexed Drupal core and contributed-project source code, compare core APIs between versions, retrieve change records, identify contrib users of core symbols, and generate project upgrade reports. Other tools cover project usage trends, declared dependencies and projects reported together on sites without declared dependencies, while a subsystem-coupling tool draws on continuous integration history from roughly 9,000 Drupal core merge requests to identify areas whose tests tend to fail together. The server also exposes read-only DuckDB queries for questions not covered by the dedicated tools.

The MCP layer extends tooling previously covered by The DropTimes. February coverage examined the contrib code-search service and its API, while May coverage looked at Théodore's use of the dataset to analyse long-term Drupal core and contrib changes. The new interface packages that existing evidence for agent-facing queries, including investigations of core API changes, contrib dependencies, change-record adoption, and project readiness for target Drupal versions.

Disclosure: This content is produced with the assistance of AI.

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related Drupal Initiatives

Related Organizations

Upcoming Events