No reviews yet

Sylius Code MCP

Product Sylius Code MCP Image

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.

Sylius version
2.0 - 2.2
Downloads
< 1K

Supported scalar types (entity fields)

string · text · int · float · bool · datetime_immutable · date · json · decimal · uuid

Supported association types

ManyToOne · OneToMany · ManyToMany · OneToOne

Supported grid field types

string · datetime · boolean · money · image · twig

Requirements

  • A Sylius 2.x project with a compiled Symfony container (var/cache/<env>/App_KernelDevDebugContainer.xml)
  • Go 1.25+ (only needed if building from source)

Installation

Pre-built binaries

Download the latest binary for your platform from the Releases page, then make it executable:

chmod +x sylius-code-mcp_*

Build from source

git clone https://github.com/shinyvision/sylius-code-mcp
cd sylius-code-mcp
CGO_ENABLED=1 go build -o sylius-code-mcp .


Configuration

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.


Claude Code

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"]
    }
  }
}

Codex

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"

OpenCode

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"
      ]
    }
  }
}

Note: Those Codex / OpenCode configurations may not work; I don’t use these programs myself. You may have to change it a bit. Please leave a PR if I need to change it.


Usage example

Once configured, you can ask your coding assistant things like:

"Create a Supplier resource under App\Supplier, add name (string) and notes (text, nullable) fields, add an index on name, 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.

Reviews

No reviews yet

No reviews yet. Be the first to review this product!

Loading
  • Free updates
  • Community support

Have already account? Sign in
See how it works
Compatibility & requirements
  • Compatible with Sylius 2.0 and higher
No reviews yet
1 plugins
Since 09.04.2026

E-Commerce SaaS, powered by Sylius

Read more
Sylius Addons Marketplace

Discover plugins, themes, and resources from trusted vendors, helping you get the most out of your work.

© 2026 Sylius. All rights reserved.

Powered by Stripe