Back to MCP directory
publicPublicdnsLocal runtime

mcp-server-newbie

一个基于Node.js的MCP服务示例项目,包含安装、构建和运行示例的指令

article

README

🚀 项目安装与运行

本项目提供了快速的安装和运行步骤,帮助你快速上手。

📦 安装指南

在项目根目录下,执行以下命令进行依赖安装:

npm install

💻 使用示例

构建项目

安装完成后,使用以下命令进行项目构建:

npm run build

运行示例

构建完成后,使用以下命令运行示例:

npm run example
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