modelcontextprotocol / modelcontextprotocol/example-remote-server

"Quick Start" does not work on Windows/PowerShell, but that is not documented

未关闭 适合新手
#52 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug
主要语言
TypeScript
星标
80
派生
39
平均合并
43 分钟
30 天内合并 PR
1

描述

Describe the bug

The following command (from the Quick Start) does not work on Windows PowerShell, but that is not documented.

My recommended solution is to use cross-env, which will populate the environment variables on any platform.

To Reproduce
Steps to reproduce the behavior:

  1. npm run dev:internal

Expected behavior
Server launches normally.

Logs

> mcp-server-example-remote@1.0.0 dev:internal
> AUTH_MODE=internal tsx watch --inspect src/index.ts

'AUTH_MODE' is not recognized as an internal or external command,
operable program or batch file.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 Quick Start 说明开始,并在 Windows PowerShell 中复现 npm run dev:internal。检查开发命令如何设置 AUTH_MODE,然后验证该命令能在 PowerShell 上正常启动,并且平台限制或受支持的跨平台用法已记录在文档中。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
tooling
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
68/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。