Back to MCP directory
publicPublicdnsLocal runtime

mcp-server-playground-dgp

一个基于MCP协议的服务端实现示例项目,包含基础服务、底层服务器和日志功能演示

article

README

🚀 项目文件介绍

本项目包含多个文件,下面为你详细介绍各文件的功能和特点。

📚 详细文档

| 文件名 | 详情 | | ------ | ------ | | index.ts | 与官方的 Quickstart 完全相同 | | low-level-server.ts | 将 index.tsServer 重新编写 | | logging.ts | Logging 的示例 |

help

Runtime guide

cloud

Hosted runtime

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

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

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

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client