Skip to content

Commit 35ce134

Browse files
committed
refactor(mcp): delegate web MCP server launch to the main MCP package for unified HTTP support and argument parsing
1 parent 93270fe commit 35ce134

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/web-mcp/src/index.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env node
2-
import { WebMCPServer } from './server.js';
32

4-
// CLI entry: create and launch web MCP server
5-
const server = new WebMCPServer();
6-
server.launch().catch(console.error);
3+
// This package is an alias for @midscene/mcp
4+
// Delegate to the main MCP package which uses the unified launchMCPServer helper
5+
// with full HTTP transport support and CLI argument parsing
6+
7+
require('@midscene/mcp');

0 commit comments

Comments
 (0)