You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title: Documentation needed: Clarify npx execution context and environment configuration
I'd like to request additional documentation regarding the execution context when running the server via npx. Specifically, the documentation should address the working directory context for npx execution.
This came up through a user question (see: MarkusPfundstein/mcp-obsidian#6) where they were unsure about the proper location for the .env file when running the published server. Currently, this information isn't clearly documented.
Having this information in the docs would help users properly configure and run the server without confusion.
Thanks for considering this addition to the documentation.
The text was updated successfully, but these errors were encountered:
I can see why such documentation is useful. I think the right way is for servers to accept a --config or --env-file parameter. This feels the most portable. While we could add a cwd parameter in claude desktop, other clients might not implement it. The working directory will be the working directory of the client/host application, e.g. Claude Desktop.
If we want to document the behaviour, I wonder if you would have some time to take a stab at it. A PR would be much appreciated.
Title: Documentation needed: Clarify npx execution context and environment configuration
I'd like to request additional documentation regarding the execution context when running the server via npx. Specifically, the documentation should address the working directory context for npx execution.
This came up through a user question (see: MarkusPfundstein/mcp-obsidian#6) where they were unsure about the proper location for the
.env
file when running the published server. Currently, this information isn't clearly documented.Having this information in the docs would help users properly configure and run the server without confusion.
Thanks for considering this addition to the documentation.
The text was updated successfully, but these errors were encountered: