mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
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:
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user