From b26b35fdcb2d3999cb96a00a68f4b6d7ed11a035 Mon Sep 17 00:00:00 2001 From: Greg Richardson Date: Tue, 11 Mar 2025 12:59:21 +0100 Subject: [PATCH] Docs: WSL note for MCP (#34124) docs(mcp): wsl note --- apps/docs/content/guides/getting-started/mcp.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/docs/content/guides/getting-started/mcp.mdx b/apps/docs/content/guides/getting-started/mcp.mdx index 713d10e6df4..1ac1746f7e1 100644 --- a/apps/docs/content/guides/getting-started/mcp.mdx +++ b/apps/docs/content/guides/getting-started/mcp.mdx @@ -63,6 +63,16 @@ This assumes you have Node.js and npx installed. If you don't have Node.js or pr + + +If you run Node.js and npx in WSL instead of directly on your Windows host, you'll need to prefix the command with `wsl`: + +```shell +wsl npx -y @modelcontextprotocol/server-postgres +``` + + + Below are some ways to connect to the Postgres MCP server using popular AI tools: #### Cursor