Drupal Code Query
tech.tresbien/drupal-code-query
Drupal core API changes, review queues, contrib usage, upgrades, patches, code search, SQL, WordPal.
Description fournie par l’auteur dans le registre officiel MCP (en anglais).
- Site
- mcp.tresbien.tech/
- Adresse du serveur
https://mcp.tresbien.tech/mcp(streamable-http)- Version
- 0.50.0
- Auteur
- tresbien.tech (espace de noms vérifié par le registre)
- Source
- Registre officiel MCP (mis à jour le 27 nov. 2026)
Comment l’installer
Claude Code
Dans un terminal :
claude mcp add --transport http drupal-code-query https://mcp.tresbien.tech/mcpClaude (application et claude.ai)
Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.
https://mcp.tresbien.tech/mcpChatGPT
Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.
https://mcp.tresbien.tech/mcpCursor ~/.cursor/mcp.json
Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :
{
"mcpServers": {
"drupal-code-query": {
"url": "https://mcp.tresbien.tech/mcp"
}
}
}VS Code .vscode/mcp.json
Ajoutez ceci au fichier .vscode/mcp.json de votre projet :
{
"servers": {
"drupal-code-query": {
"type": "http",
"url": "https://mcp.tresbien.tech/mcp"
}
}
}Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.
Notre test
Répond Le serveur répond au protocole MCP et liste ses outils.
- Date
- 28 nov. 2026, 09:41 (test fait par L’Atlas)
- Temps de réponse
- 968 ms (test complet)
- Outils trouvés
- 20
- Nom annoncé
- drupal-code-query 0.50.0
- Protocole
- MCP 2025-11-25
- Prochain test
- 5 déc. 2026
Voir les outils (20)
check_patches
Does each composer patch still apply to the release the site installed, and is its fix already in that release? - Send composer_json and composer_lock after composer update. Add patch_files for every patch, a local one read from disk and adescribe_dataset
Learn the dataset before writing SQL for query_dataset. Call it with no arguments first. Returns text. Prefer a typed tool when one answers the question. - No arguments: one line per view, the join map, the four invariants, the causes of emexplain_issue_attention
Answer "why does this Drupal core issue have this attention or this rank". For a list of issues, call list_core_issues. For what to review, call review_queue. - attention: from 0 to 100, the order a review queue lists issues in. It comes frget_change_record
Return one core change record in full: title, flavour, target version, machine-checkable tracks, linked issues, linked core symbols, and contrib adoption counts. To find records, use list_change_records or the change_record_nids from what_clist_change_records
List the core change records (the human write-ups) that target a range of core versions, tagged by flavour and ranked, with counts. For the symbol-level diff, use what_changed. For one record in full, use get_change_record. - Bounds are inclist_class_relations
List the contrib classes that extend, implement or use a core class, interface or trait, one row per edge with file and line, paged. Example: "who subclasses FormBase". Call-site counts: list_symbol_users. The symbol's status: lookup_core_slist_core_issues
Answer "which Drupal core issues match these filters". For "what should I review", call review_queue first: each of its buckets holds the arguments for this tool. - With no filter: the open core issues that have not moved to GitLab, last chlist_projects
List drupal.org projects after filters, largest install base first, paged. Examples: "top modules without an 11.4 branch", "themes over 10k installs without security coverage". One project: project_profile. Its pending records: project_upgrlist_symbol_users
List every contrib project using one core symbol, or any symbol in a class of symbols, one row per project, paged, with the matched symbols. lookup_core_symbol answers one symbol with a head of 30. - Pass fqn, or filters: kind, status (deprlookup_core_symbol
Answer "is this core symbol safe to use, and who still uses it" for one symbol. A name that resolves to nothing returns the catalog entries containing it instead. Every user in pages: list_symbol_users. Changed between versions: what_changeproject_profile
Answer "what is this contrib project, how big is it, which core versions does it support, what moves with it" for one drupal.org project. Pending change records: project_upgrade_report. Core symbols it calls: list_symbol_users. - project: tproject_upgrade_report
Answer "is this contrib project ready for a target core version, and what work is left". For one record's detail, use get_change_record. For a symbol's users, use list_symbol_users. - A record applies when it targets the target version or equery_dataset
Run read-only DuckDB SELECTs over the dataset behind the other tools, for a question none of them asks. Call describe_dataset first; it lists the 44 views, their columns, joins and recipes. Prefer a typed tool when one fits. - statements=[…reroll_patch
Re-roll one composer patch that check_patches reported conflicts or fuzzy: a new diff that applies to the installed release. Call check_patches first for the whole list. Call this once per patch that came back conflicts or fuzzy. - Input: preview_queue
Answer "what should I review in Drupal core". Give a drupal.org username, a role, or both. For a filtered list of core issues, call list_core_issues. - username: its roles come from core's MAINTAINERS.txt. It also gets the followed bucket:scan_composer
Which of a site's drupal/* packages need a new release for a target core, and which have none? Send composer.lock and composer.json once; do not query one package at a time. The answer is the release scan for every package, plus extra.patchsearch_code
Search the source of every indexed contrib project, plus core, for a code pattern: which files, or with by_repo which projects. Who-uses-a-core-symbol counts: list_symbol_users or lookup_core_symbol. - query is a regex. Set literal for exacsubsystem_coupling
Answer "what else tends to fail when a merge request touches this core subsystem" from CI history over about 9,000 core merge requests. With issue_nid: "which subsystems does this issue touch, and what co-fails with them". No arguments: thewhat_changed
Answer "what changed in the core API between two core versions": symbols added, deprecated and removed, as ranked groups with counts. One symbol: lookup_core_symbol. Human write-ups: list_change_records. Every row of one bucket: flat=true wwordpal_theme
Answer "does this WordPress block theme convert to Drupal with WordPal". The WordPal gallery converts every block theme on wordpress.org each night. With slug: one theme and its routes. Without slug: counts by status and the most installed
Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus
Avis
Pas encore d’avis.
Connectez-vous pour donner votre avis. Il suffit de votre e-mail.
Commentaires
Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.
Connectez-vous pour commenter.
C’est votre projet ? Connectez-vous pour revendiquer la fiche.
Badge pour votre README
Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.
Markdown (GitHub)
[](https://lagora.dev/fiche/tech.tresbien/drupal-code-query)HTML
<a href="https://lagora.dev/fiche/tech.tresbien/drupal-code-query"><img src="https://lagora.dev/badge/tech.tresbien/drupal-code-query.svg" alt="tech.tresbien/drupal-code-query sur L’Agora" height="20"></a>Réservé à l’auteur de la fiche : connectez-vous pour continuer.