improved mcp support, including standard "mcpServers" setting with multiple named servers with command/args/env/cwd (#392)

This commit is contained in:
Olcan
2025-05-16 16:29:03 -07:00
committed by GitHub
parent e158a0d59f
commit d9bd2b0e14
5 changed files with 77 additions and 42 deletions
@@ -59,6 +59,7 @@ describe('Server Config (config.ts)', () => {
undefined, // toolDiscoveryCommand
undefined, // toolCallCommand
undefined, // mcpServerCommand
undefined, // mcpServers
USER_AGENT,
USER_MEMORY, // Pass memory here
);
@@ -83,6 +84,7 @@ describe('Server Config (config.ts)', () => {
undefined,
undefined,
undefined,
undefined,
USER_AGENT,
// No userMemory argument
);
@@ -102,6 +104,7 @@ describe('Server Config (config.ts)', () => {
undefined,
undefined,
undefined,
undefined,
USER_AGENT,
USER_MEMORY, // Pass memory here
);
@@ -125,6 +128,7 @@ describe('Server Config (config.ts)', () => {
undefined,
undefined,
undefined,
undefined,
USER_AGENT,
// No userMemory argument
);
@@ -147,6 +151,7 @@ describe('Server Config (config.ts)', () => {
undefined,
undefined,
undefined,
undefined,
USER_AGENT,
USER_MEMORY,
);