mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-01 01:56:46 +00:00
feat(extensions) - Add local/remote for mcp servers (#8355)
Co-authored-by: Shi Shu <shii@google.com>
This commit is contained in:
@@ -481,8 +481,11 @@ export async function installExtension(
|
||||
);
|
||||
if (mcpServerEntries.length) {
|
||||
console.info('This extension will run the following MCP servers: ');
|
||||
for (const [key, value] of mcpServerEntries) {
|
||||
console.info(` * ${key}: ${value.description}`);
|
||||
for (const [key, mcpServer] of mcpServerEntries) {
|
||||
const isLocal = !!mcpServer.command;
|
||||
console.info(
|
||||
` * ${key} (${isLocal ? 'local' : 'remote'}): ${mcpServer.description}`,
|
||||
);
|
||||
}
|
||||
console.info(
|
||||
'The extension will append info to your gemini.md context',
|
||||
|
||||
Reference in New Issue
Block a user