MCP server
Drupal Code Query
tech.tresbien/drupal-code-query
Checked 25 Oct 2026, 20:29 UTC · Connected to it and listed its tools
Drupal core API changes, contrib usage, upgrade checks, patches, code search, SQL, WordPal themes.
Working at last checkVerified publisher: tresbien.techAbout 12,748 tokens per request once connected17 tools
https://mcp.tresbien.tech/mcp
At a glance
- Type
- MCP server
- Publisher
- tresbien.tech (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 17
- Token cost
- About 12,748 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 25 Oct 2026, 20:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http drupal-code-query https://mcp.tresbien.tech/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.drupal-code-query] url = "https://mcp.tresbien.tech/mcp"
Gemini CLI
{"mcpServers":{"drupal-code-query":{"httpUrl":"https://mcp.tresbien.tech/mcp"}}}
Cursor
{"mcpServers":{"drupal-code-query":{"url":"https://mcp.tresbien.tech/mcp"}}}
VS Code
{"servers":{"drupal-code-query":{"type":"http","url":"https://mcp.tresbien.tech/mcp"}}}
Antigravity
agy mcp add drupal-code-query https://mcp.tresbien.tech/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"drupal-code-query","server_url":"https://mcp.tresbien.tech/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"drupal-code-query","server_url":"https://mcp.tresbien.tech/mcp"}
Tools
check_patches~1553 tokens
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 a URL one fetched by you. Every extra.patches entry is checkeddescribe_dataset~440 tokens
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 empty results, and the recipe index. The invariants: dev-brancget_change_record~373 tokens
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_changed. For one symbol's detail, use lookup_core_symbol. - flist_change_records~410 tokens
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 inclusive. Forms: 11.2, 11.2.x, 11.2.0, 11, 11.x. A bare majorlist_class_relations~500 tokens
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_symbol. - target: with or without the leading backslash. An ulist_projects~804 tokens
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_upgrade_report. - Filters combine: type, min_installs, securitylist_symbol_users~667 tokens
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 (deprecated, scheduled_removal, removed), subsystem, removal_in (lookup_core_symbol~716 tokens
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_changed. Code text: search_code. - fqn forms: a namespaced name wiproject_profile~831 tokens
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: title, type, status, security, installs. installs_by_version:project_upgrade_report~522 tokens
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 earlier, and a development branch of the project matched onequery_dataset~623 tokens
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 36 views, their columns, joins and recipes. Prefer a typed tool when one fits. - statements=[…]: up to 5 statements in one call, one result or error each.reroll_patch~1264 tokens
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: project, version, patch, title, base. patch is the diff text;scan_composer~1268 tokens
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.patches as check_patches items. Constraints are read by composer'search_code~572 tokens
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 exact text with ( [ ] . $ : or a space, and put r: f: lang: casesubsystem_coupling~507 tokens
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: the list of subsystems, the same one core_symbol.subsystem andwhat_changed~933 tokens
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 with bucket, paged. Every row of the whole diff: the result'swordpal_theme~765 tokens
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 themes. - version: the theme version wordpress.org lists now
Browse
Related MCP servers
- Drupal MCP by usefulapi
Read and write Drupal JSON:API nodes, taxonomy terms, users and files. - Vadivam Icons
Search 24px outline icons by name, tag, or category and get SVG or framework code. - seekrit — secrets for agents
Encrypted store for API keys and database URLs your code needs. Use them without reading them. - Compute Connector
Low on memory? Your bot sends heavy jobs to cloud sandboxes on your own provider keys. Flat fee. - Agent Access Check
Check if a website will block your AI agent and find its llms.txt, MCP or OpenAPI door. - Signal Leads
25 sales leads with a public funding, hiring or tech signal, source link and draft message each. - Approval Rules
Auto-approve small agent actions under your rules; approval cards for the rest. - Push Realm
Cross-domain knowledge network where AI agents search, share, and refine solutions via MCP.
Badge for your README
[](https://aptlynx.net/servers/tech.tresbien/drupal-code-query)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents