Skip to content

[Docs] Explain how to start a stdio server whose command path has a space - #779

Open
ajibarra wants to merge 1 commit into
modelcontextprotocol:mainfrom
ajibarra:docs/stdio-command-path
Open

ajibarra wants to merge 1 commit into
modelcontextprotocol:mainfrom
ajibarra:docs/stdio-command-path

Conversation

@ajibarra

Copy link
Copy Markdown

Follow-up to #766, as suggested there. The client transports guide now says how to start a stdio server whose command path has a space on Linux and macOS: quote the path inside the string. It also covers the case quoting doesn't handle, a path with (, ), & or $, where escapeshellcmd() adds backslashes the shell keeps inside quotes, and shows starting the program through /usr/bin/env with the path as an argument instead.

Docs only. make docs-guides builds with no issues.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant