MCP Not starting on EKS Cluster #202

Closed
opened 2026-04-05 16:19:03 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @chetanbothra on 12/16/2025

Describe the bug
We have deployed multiple dockerhub images deploy on our EKS Cluster and its all giving same error

To Reproduce
Steps to reproduce the behavior:

  1. create k8 deployment with any image tab available in dockerhub (9.2.3)

Expected behavior
shld start the pod

@oneuptime/mcp-server@9.2.16 start > export NODE_OPTIONS='--max-old-space-size=8096' && node --require ts-node/register Index.ts /usr/src/app/node_modules/ts-node/dist/index.js:851 return old(m, filename); ^ Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/src/app/node_modules/@modelcontextprotocol/sdk/dist/server/index.js from /usr/src/app/Index.ts not supported. Instead change the require of index.js in /usr/src/app/Index.ts to a dynamic import() which is available in all CommonJS modules. at require.extensions.<computed> [as .js] (/usr/src/app/node_modules/ts-node/dist/index.js:851:20) at Object.<anonymous> (/usr/src/app/Index.ts:7:20) at m._compile (/usr/src/app/node_modules/ts-node/dist/index.js:857:29) { code: 'ERR_REQUIRE_ESM' }

NOTE: also passed both ENVs ( api key and endpoint)

Deployment Type
self hosted MCP as well as self hosted oneuptime

Additional context
Add any other context about the problem here.

*Originally created by @chetanbothra on 12/16/2025* **Describe the bug** We have deployed multiple dockerhub images deploy on our EKS Cluster and its all giving same error **To Reproduce** Steps to reproduce the behavior: 1. create k8 deployment with any image tab available in dockerhub (9.2.3) **Expected behavior** shld start the pod ``` @oneuptime/mcp-server@9.2.16 start > export NODE_OPTIONS='--max-old-space-size=8096' && node --require ts-node/register Index.ts /usr/src/app/node_modules/ts-node/dist/index.js:851 return old(m, filename); ^ Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/src/app/node_modules/@modelcontextprotocol/sdk/dist/server/index.js from /usr/src/app/Index.ts not supported. Instead change the require of index.js in /usr/src/app/Index.ts to a dynamic import() which is available in all CommonJS modules. at require.extensions.<computed> [as .js] (/usr/src/app/node_modules/ts-node/dist/index.js:851:20) at Object.<anonymous> (/usr/src/app/Index.ts:7:20) at m._compile (/usr/src/app/node_modules/ts-node/dist/index.js:857:29) { code: 'ERR_REQUIRE_ESM' } ``` NOTE: also passed both ENVs ( api key and endpoint) **Deployment Type** self hosted MCP as well as self hosted oneuptime **Additional context** Add any other context about the problem here.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#202