Shopify Dev MCP with Copilot in VS Code?

Am i dumb? i just cant get the Shopify Dev MCP working in VS Code with Copilot.

They explain it for Cursor and it works there, but they dont with VS Code. I know this must be a stupid person question, but i tried it again and again and cant get it to work…

Hope someone can lend me a helping hand with that.

Hey @David_Ecker , for VS Code, MCP setup is a little different than it is in Cursor, etc:

The easiest way to get this going would like be to open the Command Palette (Ctrl/Cmd + Shift + P), then:

  1. Type MCP: Add Server

  2. Enter the command: npx

  3. Enter the args: -y, @shopify/dev-mcp@latest

This should install it automatically. Alternatively, you can add it directly to VS Code’s mcp.json config file. Just copying from their dev docs above in case it’s helpful:

If you want to configure MCP servers for a specific project, you can add the server configuration to your workspace in the .vscode/mcp.json file. This allows you to share the same MCP server configuration with your project team.

Important

Make sure to avoid hardcoding sensitive information like API keys and other credentials by using input variables or environment files.

To add an MCP server to your workspace:

  1. Create a .vscode/mcp.json file in your workspace.

  2. Select the Add Server button in the editor to add a template for a new server. VS Code provides IntelliSense for the MCP server configuration file.

    The following example shows how to configure the GitHub remote MCP server. Learn more about the MCP configuration format in VS Code.

    {
      "servers": {
        "github-mcp": {
          "type": "http",
          "url": "https://api.githubcopilot.com/mcp"
        }
      }
    }
    
    

You’d want to use the below for the Dev MCP:

{
  "servers": {
    "shopify-dev-mcp": {
      "command": "npx",
      "args": ["-y", "@shopify/dev-mcp@latest"]
    }
  }
}

Hope this helps - let me know if I can clarify anything on our end here.

Hey @David_Ecker - let me know if I can help out further, just wanted to see if the above helped.