article
README
🚀 项目文件介绍
本项目包含多个文件,下面为你详细介绍各文件的功能和特点。
📚 详细文档
| 文件名 | 详情 |
| ------ | ------ |
| index.ts | 与官方的 Quickstart 完全相同 |
| low-level-server.ts | 将 index.ts 用 Server 重新编写 |
| logging.ts | Logging 的示例 |
本项目包含多个文件,下面为你详细介绍各文件的功能和特点。
| 文件名 | 详情 |
| ------ | ------ |
| index.ts | 与官方的 Quickstart 完全相同 |
| low-level-server.ts | 将 index.ts 用 Server 重新编写 |
| logging.ts | Logging 的示例 |
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