Skip to main content
Glama

Magento 2 Development MCP Server

by elgentos

get-di-preferences

Retrieve dependency injection preferences for Magento 2 to understand how classes are mapped and overridden across different application scopes.

Instructions

Get Magento 2 dependency injection preferences list using magerun2

Input Schema

NameRequiredDescriptionDefault
scopeNoThe scope to get DI preferences forglobal

Input Schema (JSON Schema)

{ "properties": { "scope": { "default": "global", "description": "The scope to get DI preferences for", "enum": [ "global", "adminhtml", "frontend", "crontab", "webapi_rest", "webapi_soap", "graphql", "doc", "admin" ], "type": "string" } }, "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elgentos/magento2-dev-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server