You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-6Lines changed: 29 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,21 +59,41 @@ The Model Context Protocol is an open protocol that enables seamless integration
59
59
60
60
### Installing the Plugin
61
61
62
-
Install via Composer:
62
+
Install via Composer as a development dependency:
63
63
64
64
```bash
65
-
composer require adaptic/synapse
65
+
composer require --dev josbeir/cakephp-synapse
66
66
```
67
67
68
-
Load the plugin in your `Application.php`:
68
+
> [!NOTE]
69
+
> This plugin is typically used as a development tool to allow AI assistants to interact with your application during development. It should not be installed in production environments.
70
+
71
+
Load the plugin using `config/plugins.php`:
72
+
73
+
```php
74
+
// In config/plugins.php
75
+
return [
76
+
// ...
77
+
'Synapse' => [
78
+
'onlyCli' => true,
79
+
'optional' => true,
80
+
]
81
+
// ...
82
+
]
83
+
```
84
+
85
+
Or load the plugin in your `Application.php`:
69
86
70
87
```php
71
88
// In src/Application.php
72
89
public function bootstrap(): void
73
90
{
74
91
parent::bootstrap();
75
92
76
-
$this->addPlugin('Synapse');
93
+
$this->addPlugin('Synapse', [
94
+
'onlyCli' => true,
95
+
'optional' => true,
96
+
]);
77
97
}
78
98
```
79
99
@@ -282,6 +302,9 @@ Or run inside your DDEV instance
282
302
283
303
Discovery caching dramatically improves server startup performance by caching the discovered MCP elements (tools, resources, prompts). This can reduce startup time by up to 99%!
284
304
305
+
> [!NOTE]
306
+
> While caching improves performance, remember that this plugin is intended for development use. The caching feature is most useful when running the MCP server frequently during development sessions.
0 commit comments