open app via No automatic DNS rebinding protection
Some checks failed
gds-mock-mcp Docker Build / build (push) Has been cancelled

This commit is contained in:
2026-04-12 21:09:29 -05:00
parent e4e7e47ec6
commit b82c7b5fda

View File

@@ -22,7 +22,7 @@ const HOST = process.env.HOST || '127.0.0.1';
* Each client can send their own initialize request without server-side session tracking. * Each client can send their own initialize request without server-side session tracking.
*/ */
export async function createHTTPServer(mcpServer: any) { export async function createHTTPServer(mcpServer: any) {
const app = createMcpExpressApp(); const app = createMcpExpressApp({ host: '0.0.0.0' });
const transports: Record<string, any> = {}; const transports: Record<string, any> = {};
// Apply CORS globally // Apply CORS globally