Add recipe for sylius/admin-mcp-server-plugin 0.1 (#2016)

* Add recipe for sylius/admin-mcp-server-plugin 0.1

* Remove league_oauth2_server.yaml from recipe — plugin already imports it via config.yaml

* Add OAuth keypair env vars to manifest.json
This commit is contained in:
Cholin
2026-08-05 16:41:43 +04:00
committed by GitHub
parent 567b2e1436
commit 8365a35646
3 changed files with 25 additions and 0 deletions
@@ -0,0 +1,2 @@
imports:
- { resource: "@SyliusAdminMcpServerPlugin/config/config.yaml" }
@@ -0,0 +1,3 @@
sylius_admin_mcp_server:
resource: "@SyliusAdminMcpServerPlugin/config/routes.yaml"
type: yaml
@@ -0,0 +1,20 @@
{
"bundles": {
"League\\Bundle\\OAuth2ServerBundle\\LeagueOAuth2ServerBundle": ["all"],
"Symfony\\AI\\McpBundle\\McpBundle": ["all"],
"Sylius\\AdminMcpServerPlugin\\SyliusAdminMcpServerPlugin": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"SYLIUS_ADMIN_MCP_SERVER_API_URL": "https://your-domain.com/api/v2/admin/",
"SYLIUS_ADMIN_MCP_SERVER_API_EMAIL": "api@example.com",
"SYLIUS_ADMIN_MCP_SERVER_API_PASSWORD": "your-api-password",
"SYLIUS_ADMIN_MCP_SERVER_VERIFY_SSL": "true",
"SYLIUS_ADMIN_MCP_SERVER_OAUTH_PRIVATE_KEY": "%kernel.project_dir%/config/jwt/mcp_private.pem",
"SYLIUS_ADMIN_MCP_SERVER_OAUTH_PUBLIC_KEY": "%kernel.project_dir%/config/jwt/mcp_public.pem",
"SYLIUS_ADMIN_MCP_SERVER_OAUTH_PASSPHRASE": "",
"SYLIUS_ADMIN_MCP_SERVER_OAUTH_ENCRYPTION_KEY": "your-32-byte-hex-key-here"
}
}