Back to MCP directory
publicPublicdnsLocal runtime

demo03_mcp-server

项目包含服务端和客户端的Node.js启动脚本

article

README

🚀 测试启动入口文件

本项目提供了服务端和客户端的启动方式,帮助你快速开始测试。

🚀 快速开始

  • 启动 mcp-server 服务:运行命令 node server.js
  • 运行 mcp 客户端:执行命令 node client.js
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