"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.

Assessment

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

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.

Description

bug

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.
Dominant language
TypeScript
Stars
80
Forks
39
Avg merge
43m
Merged PRs (30d)
1

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.

More from modelcontextprotocol/example-remote-server

All issues in modelcontextprotocol/example-remote-server

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.