fix: inaccurate content

This commit is contained in:
Kadxy 2025-01-09 20:10:10 +08:00
parent 125a71fead
commit e95c94d7be
2 changed files with 7 additions and 3 deletions

View File

@ -65,7 +65,7 @@ export function McpMarketPage() {
setIsLoading(false); setIsLoading(false);
} }
}; };
init(); init().then();
}, []); }, []);
// 保存配置 // 保存配置
@ -352,7 +352,7 @@ export function McpMarketPage() {
icon={<RestartIcon />} icon={<RestartIcon />}
bordered bordered
onClick={handleRestart} onClick={handleRestart}
text="Restart" text="Restart All"
disabled={isLoading} disabled={isLoading}
/> />
</div> </div>
@ -458,7 +458,7 @@ export function McpMarketPage() {
{isServerAdded(server.id) && ( {isServerAdded(server.id) && (
<IconButton <IconButton
icon={<EyeIcon />} icon={<EyeIcon />}
text="Detail" text="Tools"
onClick={async () => { onClick={async () => {
if (clientErrors[server.id] !== null) { if (clientErrors[server.id] !== null) {
showToast("Server is not running"); showToast("Server is not running");

View File

@ -27,6 +27,10 @@
"playwright": { "playwright": {
"command": "npx", "command": "npx",
"args": ["-y", "@executeautomation/playwright-mcp-server"] "args": ["-y", "@executeautomation/playwright-mcp-server"]
},
"gdrive": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-gdrive"]
} }
} }
} }