article
README
🚀 如何运行
📦 安装指南
设置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
设置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
Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive
Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed