Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MAGENTO_GRAPHQL_DOCS_PATH | No | Path to the Magento 2 GraphQL documentation directory (from commerce-webapi/src/pages/graphql). Can be absolute, relative, or home directory relative path. | |
| MAGENTO_GRAPHQL_DOCS_TOP_K | No | Number of search results to return | 5 |
| MAGENTO_GRAPHQL_DOCS_DB_PATH | No | Custom path where the SQLite database should be stored | ~/.mcp/magento-graphql-docs/database.db |
| MAGENTO_GRAPHQL_DOCS_MAX_FIELDS | No | Maximum fields per GraphQL element | 20 |
| MAGENTO_GRAPHQL_DOCS_CODE_PREVIEW | No | Maximum code preview length in characters | 400 |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |