list_class_relations — Drupal Code Query MCP Tool Read-only
list_class_relations
(list class relations) is one of 16 tools on the
Drupal Code Query
MCP server. Connect the server and your client discovers it on the handshake.
by client
How to call list_class_relations from your client
- Claude Code Drupal Code Query list_class_relations run in your project directory
- Claude Desktop Drupal Code Query list_class_relations ~/Library/Application Support/Claude/claude_desktop_config.json
- Cursor Drupal Code Query list_class_relations ~/.cursor/mcp.json
- VS Code Drupal Code Query list_class_relations .vscode/mcp.json
- Zed Drupal Code Query list_class_relations ~/.config/zed/settings.json
- Windsurf Drupal Code Query list_class_relations ~/.codeium/windsurf/mcp_config.json
- Cline Drupal Code Query list_class_relations ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
- Gemini CLI Drupal Code Query list_class_relations ~/.gemini/settings.json
- Grok Drupal Code Query list_class_relations .mcp.json (in your project root)
- ChatGPT Drupal Code Query list_class_relations Settings → Connectors → Advanced → Developer mode
- Claude.ai Drupal Code Query list_class_relations Settings → Connectors → Add custom connector
- LangChain Drupal Code Query list_class_relations pip install langchain-mcp-adapters
Fastest route
claude mcp add --transport http drupal-code-query https://mcp.tresbien.tech/mcp
Other tools on this server
This list was read from the server itself, by connecting to it and calling tools/list on 24 September 2026. It is what
the server actually exposes, not what its listing claims.
Mutating and Read-only are read off each tool's name, not its schema — a hint, not a guarantee. The registry stores tool names only; connect the server for its live schemas.