Replies: 2 comments 1 reply
-
We simply call npx -y to run the server. To ensure that the npx -y @modelcontextprotocol/server-filesystem command works without an internet connection, you need to pre-download the required package and cache it locally. Run the following command to globally install the package on your system:
This will make the package available globally on your machine, and npx will find it without needing to fetch it from the registry. |
Beta Was this translation helpful? Give feedback.
-
The For example to run the reference servers offline, you can build them from scratch and then point Node to their script, just like they declare in their reference server package.jsons, e.g. the command |
Beta Was this translation helpful? Give feedback.
-
Hi,
I’m currently setting up an MCP server. for example @modelcontextprotocol/server-filesystem, After configuring and starting it, I need to build my app to run in an offline environment. I noticed in the MCP introduction that the required Node packages are downloaded during the first startup. I’d like to know where these MCP Node packages are stored so I can manually download them and set up additional MCP servers for offline use.
Beta Was this translation helpful? Give feedback.
All reactions