Back to MCP directory
publicPublicdnsLocal runtime

mcp-experiment

一个包含客户端和服务器的项目,客户端通过Node.js运行,服务器需要配置Google API

article

README

🚀 如何同时运行客户端和服务器

本项目聚焦于解决客户端与服务器同时运行的问题,通过简单的步骤即可实现两者的协同工作,为相关应用的开发和测试提供便利。

🚀 快速开始

同时运行客户端和服务器

  1. 进入客户端目录,使用如下命令:
cd client
  1. 执行命令来同时启动客户端和服务器:
node build/index.js ../server/weather-server-typescript/build/index.js

📚 详细文档

服务端配置说明

请按照 Gmail - MCP - Server 中的指示设置启用 Google API 在 GCP 上。

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