diff --git a/app/components/mcp-market.tsx b/app/components/mcp-market.tsx index e754c413c..926e64b29 100644 --- a/app/components/mcp-market.tsx +++ b/app/components/mcp-market.tsx @@ -65,7 +65,7 @@ export function McpMarketPage() { setIsLoading(false); } }; - init(); + init().then(); }, []); // 保存配置 @@ -352,7 +352,7 @@ export function McpMarketPage() { icon={} bordered onClick={handleRestart} - text="Restart" + text="Restart All" disabled={isLoading} /> @@ -458,7 +458,7 @@ export function McpMarketPage() { {isServerAdded(server.id) && ( } - text="Detail" + text="Tools" onClick={async () => { if (clientErrors[server.id] !== null) { showToast("Server is not running"); diff --git a/app/mcp/mcp_config.json b/app/mcp/mcp_config.json index e778108de..ee092d7f0 100644 --- a/app/mcp/mcp_config.json +++ b/app/mcp/mcp_config.json @@ -27,6 +27,10 @@ "playwright": { "command": "npx", "args": ["-y", "@executeautomation/playwright-mcp-server"] + }, + "gdrive": { + "command": "npx", + "args": ["-y", "@modelcontextprotocol/server-gdrive"] } } }