We are currently exporting MCP server as an ESM module which works fine for the standalone / command invocation of MCP but not so much when the server is being used as a library, for example in our VSCode extension. The extension expects the modules it imports to be in CJS so we should export a CJS bundle as well for the MCP server to have it importable in our VSCode extension.
Exporting CJS bundle for mcp server
- Assignee:
-
Himanshu Singh
- Reporter:
-
Himanshu Singh
- Votes:
-
0 Vote for this issue - Watchers:
-
1 Start watching this issue
- Created:
- Updated:
- Resolved: