We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3724d1f commit a996487Copy full SHA for a996487
packages/core/deno.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@mcpc/core",
3
- "version": "0.3.2",
+ "version": "0.3.3",
4
"repository": {
5
"type": "git",
6
"url": "git+https://github.com/mcpc-tech/mcpc.git"
packages/core/src/compose.ts
@@ -357,6 +357,14 @@ export class ComposableMCPServer extends Server {
357
await this.pluginManager.dispose();
358
}
359
360
+ /**
361
+ * Close the server and ensure all plugins are disposed
362
+ */
363
+ override async close(): Promise<void> {
364
+ await this.disposePlugins();
365
+ await super.close();
366
+ }
367
+
368
async compose(
369
name: string | null,
370
description: string,
0 commit comments