File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
packages/configure-mcp-server/src/configure/client Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,11 @@ function goosePathResolver(homedir: string) {
2121 }
2222
2323 const baseDir = process . env . GLEAN_MCP_CONFIG_DIR || homedir ;
24- return path . join ( baseDir , gooseConfigPath . configDir , gooseConfigPath . configFileName ) ;
24+ return path . join (
25+ baseDir ,
26+ gooseConfigPath . configDir ,
27+ gooseConfigPath . configFileName ,
28+ ) ;
2529}
2630
2731function toGooseConfig ( servers : MCPServersConfig ) : GooseConfig {
@@ -66,5 +70,4 @@ const gooseClient: MCPClientConfig = createBaseClient(
6670
6771gooseClient . updateConfig = updateConfig ;
6872
69-
7073export default gooseClient ;
Original file line number Diff line number Diff line change @@ -281,11 +281,7 @@ export function createBaseClient(
281281 apiToken ?: string ,
282282 options ?: ConfigureOptions ,
283283 ) => {
284- const servers = createMcpServersConfig (
285- instanceOrUrl ,
286- apiToken ,
287- options ,
288- ) ;
284+ const servers = createMcpServersConfig ( instanceOrUrl , apiToken , options ) ;
289285 return mcpServersHook ( servers , options ) ;
290286 } ,
291287
You can’t perform that action at this time.
0 commit comments