D

Drupal Code Query

Analyze Drupal upgrades, API changes, contrib compatibility, patches, projects, issues, and indexed code through MCP.

Install Drupal Code Query

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://mcp.tresbien.tech/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Hosted endpointLive · 14h agoLive Remote EndpointOur automated health check connected to this remote MCP endpoint successfully.Last checked 14h ago · Nov 30, 2026, 17:15 UTC

Clients with native remote MCP support can connect directly to this URL.

Remote endpoint
https://mcp.tresbien.tech/mcp

Overview

Drupal Code Query MCP server connects MCP clients to Drupal core and contributed-project data, source indexes, release metadata, and upgrade analysis tools. It can check and re-roll Composer patches, trace core API changes and symbol usage, assess project readiness for a target core version, and search Drupal code. Reach for it when planning a Drupal upgrade, reviewing deprecated APIs, investigating patch conflicts, or querying the underlying dataset. The hosted MCP endpoint is https://mcp.tresbien.tech/mcp.

Use cases

  • Check Composer patches after a Drupal core upgrade
  • Find contributed projects using deprecated or removed core symbols
  • Assess a project’s readiness for a target Drupal core version
  • Compare Drupal core API changes between minor versions
  • Search indexed Drupal code for a pattern or symbol

Key features

  • Composer release and patch compatibility scans
  • Patch conflict analysis and automated re-rolling
  • Core change-record and symbol lifecycle lookup
  • Contrib project upgrade and dependency reports
  • Indexed Drupal source-code search
  • Read-only DuckDB dataset queries

Tools20

What Drupal Code Query lets your agent do. Expand a tool for its parameters.

Verified live~14.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 83d

What it can do

From the 20 tools this server returned when we ran it.

Can delete or modify data · 3Makes network requests · 5Read-only tools · 17
Tool definitions changed on 2026-11-30. Review them if you approved this server earlier.

Observed 2026-11-30 in an isolated sandbox. A description of reach, not a security audit.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Availability100%Our rolling endpoint + install checks that succeeded.
Tools exposed20Callable tools this server registers over MCP.

How Drupal Code Query works

What Drupal Code Query does

Drupal Code Query focuses on Drupal maintenance and upgrade analysis. Its catalog covers Drupal core change records, core symbol lifecycle data, contributed-project releases and development branches, project install information, Composer compatibility, indexed source code, and issue metadata.

The tools answer both targeted questions and broader inventory questions. You can identify projects still using an API scheduled for removal, find projects that support a core minor, inspect a change record and its adoption, or determine which patches remain necessary after an upgrade. The service also exposes a read-only dataset for questions that do not fit one of the typed tools.

How it works

Clients connect to the hosted MCP endpoint at https://mcp.tresbien.tech/mcp. The server returns structured results from its Drupal data catalog and code indexes rather than requiring a local Drupal checkout.

Patch analysis uses the installed package version and the patch content supplied by the caller. check_patches evaluates patches against the matching release tag, reports whether they apply, and distinguishes already-merged fixes, conflicts, fuzzy application, unknown versions, and syntax problems. reroll_patch can produce a replacement diff after a conflict or fuzzy result; callers provide any required region resolutions.

The catalog separates development-branch evidence from release-tag data in several reports. Usage and adoption counts therefore describe scanned development branches where specified, rather than every released copy of a project. Dataset queries use read-only DuckDB SELECT statements. Call describe_dataset before query_dataset to learn the available views, joins, invariants, and recipes.

Setup and configuration

Configure an MCP client to use the streamable HTTP endpoint:

text
https://mcp.tresbien.tech/mcp

No environment variables are required for the hosted service. Patch workflows require the caller to provide patch text; URL-based patches must be fetched by the caller before sending them. Composer scans accept the relevant composer.json and composer.lock content, with additional patch files when the project stores patches outside extra.patches.

Tools and capabilities

  • Scan Composer dependencies for releases compatible with a target Drupal core version using scan_composer.
  • Check every declared patch with check_patches, including whether its fix is already shipped.
  • Re-roll conflicting or fuzzy patches with reroll_patch and inspect merged regions, dropped paths, and syntax errors.
  • Inspect core change records, API lifecycle status, symbol users, class relationships, and version-to-version changes.
  • Review project support, releases, dependencies, install trends, core constraints, and upgrade work through project_profile and project_upgrade_report.
  • Search indexed Drupal and contributed-project source with search_code, query core issues, generate review queues, and analyze subsystem coupling.
  • Run bounded read-only SQL against the catalog with query_dataset.

Limitations and notes

Patch verdicts are based on git apply --check; an applying patch can still be incorrect at runtime. The service does not download releases or run patch --dry-run, and the caller must fetch URL patches before submitting them. Patch results can be truncated by response limits.

Evidence-based reports depend on the catalog's indexed branches, release data, and build dates. An unreleased core tip is not treated as a released minor in project compatibility checks. query_dataset permits only one read-only statement per supplied query, enforces a time limit, and caps returned rows and result size. When a typed tool answers a question, it is preferred over a custom dataset query.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Drupal Code Query

Drupal Code Query is an MCP server that connects AI clients to Drupal core and contributed-project data, source indexes, release metadata, and upgrade reports. Its main tools check and re-roll Composer patches, inspect change records and core symbols, assess project compatibility, search code, review issues, and run read-only dataset queries.

Connect an MCP client to https://mcp.tresbien.tech/mcp. The service is hosted, so no local package installation or environment variables are required. For patch and Composer analysis, send the requested Composer documents and patch contents through the relevant tool.

Call check_patches with the installed Composer package data and each patch’s text or fetched URL. The result reports whether each patch is merged, still applies, conflicts, applies fuzzily, or could not be judged, along with follow-up steps and counts.

Use list_symbol_users with filters such as status=scheduled_removal and removal_in, or resolve a specific symbol with lookup_core_symbol. Results identify matching projects, branches, occurrences, and related change-record IDs.

Yes, Cursor can connect through its MCP support using the hosted streamable HTTP endpoint. Configure the endpoint as an MCP server, then use the available Drupal analysis tools from the client.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDrupal Code Query AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/drupal-code-query?style=directory)](https://allmcps.com/mcp/drupal-code-query)
HTML Embed
<a href="https://allmcps.com/mcp/drupal-code-query"><img src="https://allmcps.com/api/badge/drupal-code-query?style=directory" alt="Drupal Code Query on AllMCPs" /></a>