From e95c94d7be72490668d8e022fd126cfe637b5f2a Mon Sep 17 00:00:00 2001
From: Kadxy <2230318258@qq.com>
Date: Thu, 9 Jan 2025 20:10:10 +0800
Subject: [PATCH] fix: inaccurate content
---
app/components/mcp-market.tsx | 6 +++---
app/mcp/mcp_config.json | 4 ++++
2 files changed, 7 insertions(+), 3 deletions(-)
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"]
}
}
}