diff options
| author | christine betts <[email protected]> | 2025-07-25 20:56:33 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-25 20:56:33 +0000 |
| commit | eb65034117f7722554a717de034e891ba1996e93 (patch) | |
| tree | f279bee5ca55b0e447eabc70a11e96de307d76f3 /packages/core/src/tools/tool-registry.ts | |
| parent | de968877895a8ae5f0edb83a43b37fa190cc8ec9 (diff) | |
Load and use MCP server prompts as slash commands in the CLI (#4828)
Co-authored-by: harold <[email protected]>
Co-authored-by: N. Taylor Mullen <[email protected]>
Diffstat (limited to 'packages/core/src/tools/tool-registry.ts')
| -rw-r--r-- | packages/core/src/tools/tool-registry.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/core/src/tools/tool-registry.ts b/packages/core/src/tools/tool-registry.ts index b72ed9a5..57627ee0 100644 --- a/packages/core/src/tools/tool-registry.ts +++ b/packages/core/src/tools/tool-registry.ts @@ -170,6 +170,7 @@ export class ToolRegistry { this.config.getMcpServers() ?? {}, this.config.getMcpServerCommand(), this, + this.config.getPromptRegistry(), this.config.getDebugMode(), ); } @@ -192,6 +193,7 @@ export class ToolRegistry { this.config.getMcpServers() ?? {}, this.config.getMcpServerCommand(), this, + this.config.getPromptRegistry(), this.config.getDebugMode(), ); } @@ -215,6 +217,7 @@ export class ToolRegistry { { [serverName]: serverConfig }, undefined, this, + this.config.getPromptRegistry(), this.config.getDebugMode(), ); } |
