Understand the MCPHub source code layout
mainWhen navigating the codebase, keep the following entry points and locations in mind:
- Process Entrypoint:
src/server.tsis the main entrypoint for the server process. - HTTP Routes: All API and service routes are defined in
src/routes/index.ts. - Frontend Configuration: Proxy settings for the development environment are located in
frontend/vite.config.ts. - Storage Modes: MCPHub supports two storage modes:
file(default, usesmcp_settings.json) orPostgreSQL.