File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,6 @@ This installation instruction assumes that you're using Symfony Flex.
4040 composer require sylius/mcp-server-plugin
4141 ```
4242
43- 2 . Add configuration file ` config/packages/sylius_mcp_server.yaml ` :
44-
45- ``` yaml
46- imports :
47- - { resource: "@SyliusMcpServerPlugin/config/config.yaml" }
48- ` ` `
49-
5043** Clear application cache by using command:**
5144
5245 ``` bash
Original file line number Diff line number Diff line change @@ -71,12 +71,19 @@ public function getConfigTreeBuilder(): TreeBuilder
7171 ->end ()
7272 ->end ()
7373 ->end ()
74+ ->defaultValue ([
75+ [
76+ 'base_path ' => '%sylius_mcp_server.plugin_root% ' ,
77+ 'scan_dirs ' => ['src/Tool ' ],
78+ ],
79+ ])
7480 ->beforeNormalization ()
7581 ->always (function ($ v ) {
7682 $ v [] = [
7783 'base_path ' => '%sylius_mcp_server.plugin_root% ' ,
7884 'scan_dirs ' => ['src/Tool ' ],
7985 ];
86+
8087 return $ v ;
8188 })
8289 ->end ()
You can’t perform that action at this time.
0 commit comments