modelcontextprotocol / modelcontextprotocol/example-remote-server

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

Open Beginner friendly
#52 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
80
Forks
39
Avg merge
43m
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Quick Start instructions and reproduce npm run dev:internal in Windows PowerShell. Check how the development command sets AUTH_MODE, then verify that the command launches normally on PowerShell and that the platform limitation or supported cross-platform usage is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.