open app via No automatic DNS rebinding protection
Some checks failed
gds-mock-mcp Docker Build / build (push) Has been cancelled
Some checks failed
gds-mock-mcp Docker Build / build (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user