Skip to content
VS Code

salesforce metadata mcp for VS Code

io.github.semwalajay83-sem/salesforce-metadata-mcp

The only Salesforce MCP with Agentforce, OmniStudio & DevOps Center tools — 228 total.

client:VS Code transport:stdio runtime:npm

Install salesforce metadata mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "sf-instance-url",
      "description": "SF_INSTANCE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sf-access-token",
      "description": "SF_ACCESS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sf-alias",
      "description": "SF_ALIAS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sf-toolsets",
      "description": "SF_TOOLSETS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sf-production-guard",
      "description": "SF_PRODUCTION_GUARD",
      "password": true
    }
  ],
  "servers": {
    "salesforce-metadata-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "salesforce-metadata-mcp"
      ],
      "env": {
        "SF_INSTANCE_URL": "${input:sf-instance-url}",
        "SF_ACCESS_TOKEN": "${input:sf-access-token}",
        "SF_ALIAS": "${input:sf-alias}",
        "SF_TOOLSETS": "${input:sf-toolsets}",
        "SF_PRODUCTION_GUARD": "${input:sf-production-guard}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

salesforce metadata mcp in other clients