cherry-studio/src/main/mcpServers/mcp-run-python/polyfill.ts
LiuVaayne 4c7756aa78 feat: add MCP Run Python server and integrate Pyodide for executing P… (#5793)
feat: add MCP Run Python server and integrate Pyodide for executing Python code
2025-05-18 23:31:05 +08:00

9 lines
163 B
TypeScript

import process from 'node:process'
// Stub `process.env` and always return an empty object
Object.defineProperty(process, 'env', {
get() {
return {}
}
})