mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 20:32:46 +08:00
feat: Create all MCP Servers at startup
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import { Analytics } from "@vercel/analytics/react";
|
||||
|
||||
import { Home } from "./components/home";
|
||||
|
||||
import { getServerSideConfig } from "./config/server";
|
||||
import { initializeMcpClients } from "./mcp/actions";
|
||||
|
||||
const serverConfig = getServerSideConfig();
|
||||
|
||||
export default async function App() {
|
||||
await initializeMcpClients();
|
||||
|
||||
return (
|
||||
<>
|
||||
<Home />
|
||||
|
Reference in New Issue
Block a user