Back to MCP directory
publicPublicdnsLocal runtime

MCP-client-server-with-Anthropic

项目包含客户端和服务端构建,通过Node运行构建后的文件

article

README

🚀 项目构建与启动

本项目通过特定命令完成客户端和服务器的构建,并启动服务。以下是详细步骤:

🚀 快速开始

构建客户端和服务器

运行以下命令来构建客户端和服务器:

npm run build

启动服务

构建完成后,运行以下命令启动服务:

node build/index.js ../weather-server/build/main.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