设置SAMPLE_ENV环境变量为sample,并使用npx运行位于/path/to/mcp-simple-server-cursor/build目录下的index.js文件,具体命令如下:
SAMPLE_ENV
sample
npx
/path/to/mcp-simple-server-cursor/build
index.js
env SAMPLE_ENV=sample /usr/local/bin/npx /path/to/mcp-simple-server-cursor/build/index.js