Back to MCP directory
publicPublicdnsLocal runtime

mcp-hello-world-typescript

使用npx运行MCP协议检查工具和TypeScript脚本

article

README

🚀 模型上下文协议检查器项目

本项目提供了便捷的运行指令,可帮助用户快速启动相关程序,解决快速验证和执行代码的问题。

🚀 快速开始

📦 安装与运行

可以使用以下命令来运行项目:

  • 运行模型上下文协议检查器:
npx -y @modelcontextprotocol/inspector
  • 运行 TypeScript 代码:
npx -y tsx main.ts
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