Instead of asking an AI to guess at Sylius conventions and config file locations, sylius-code-mcp gives it precise, validated tools that read your actual project: compiled container, entity files, routing config, and translation files.
string · text · int · float · bool · datetime_immutable · date · json · decimal · uuid
ManyToOne · OneToMany · ManyToMany · OneToOne
string · datetime · boolean · money · image · twig
var/cache/<env>/App_KernelDevDebugContainer.xml)Download the latest binary for your platform from the Releases page, then make it executable:
chmod +x sylius-code-mcp_*git clone https://github.com/shinyvision/sylius-code-mcp
cd sylius-code-mcp
CGO_ENABLED=1 go build -o sylius-code-mcp .The server requires the absolute path to your Sylius project root. Pass it either via the -project flag or the SYLIUS_PROJECT_ROOT environment variable.
Add the server to your project's .mcp.json:
{
"mcpServers": {
"sylius-code-mcp": {
"command": "/absolute/path/to/sylius-code-mcp",
"args": ["-project", "/absolute/path/to/your/sylius/project"]
}
}
}Add the server to ~/.codex/config.toml:
[[mcp_servers]]
name = "sylius"
command = "/absolute/path/to/sylius-code-mcp"
args = ["-project", "/absolute/path/to/your/sylius/project"]Or pass it inline when running Codex:
codex --mcp-server 'sylius:{"command":"/absolute/path/to/sylius-code-mcp","args":["-project","/absolute/path/to/your/sylius/project"]}' \
"Add a ProductReview resource to the app"Add the server to your project-level opencode.json or ~/.config/opencode/config.json:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"sylius": {
"type": "local",
"command": [
"/absolute/path/to/sylius-code-mcp",
"-project",
"/absolute/path/to/your/sylius/project"
]
}
}
}Once configured, you can ask your coding assistant things like:
"Create a
Supplierresource underApp\Supplier, addname(string) andnotes(text, nullable) fields, add an index onname, and set up a grid with those two columns."
The assistant will call the tools in the correct order: sylius_create_resource, sylius_add_entity_fields, sylius_add_entity_index, sylius_admin_create_grid. Each time it will work from the actual state of your project files.
Maybe you have to add some instructions to your AGENTS.md or CLAUDE.md to let it know it should prefer using the MCP for doing Sylius specific things.
No reviews yet. Be the first to review this product!
© 2026 Sylius. All rights reserved.