Skip to content
MCP server

Salesforce Metadata MCP

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
3.2.0
Listing updated
4 days ago

About Salesforce Metadata MCP

Salesforce Metadata MCP is an open-source MCP server for sales and crm. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add salesforce-metadata-mcp --env SF_INSTANCE_URL='<SF_INSTANCE_URL>' --env SF_ACCESS_TOKEN='<SF_ACCESS_TOKEN>' -- npx -y salesforce-metadata-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "salesforce-metadata-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "salesforce-metadata-mcp"
      ],
      "env": {
        "SF_INSTANCE_URL": "<SF_INSTANCE_URL>",
        "SF_ACCESS_TOKEN": "<SF_ACCESS_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "salesforce-metadata-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "salesforce-metadata-mcp"
      ],
      "env": {
        "SF_INSTANCE_URL": "<SF_INSTANCE_URL>",
        "SF_ACCESS_TOKEN": "<SF_ACCESS_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "salesforce-metadata-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "salesforce-metadata-mcp"
      ],
      "env": {
        "SF_INSTANCE_URL": "<SF_INSTANCE_URL>",
        "SF_ACCESS_TOKEN": "<SF_ACCESS_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "salesforce-metadata-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "salesforce-metadata-mcp"
      ],
      "env": {
        "SF_INSTANCE_URL": "<SF_INSTANCE_URL>",
        "SF_ACCESS_TOKEN": "<SF_ACCESS_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "salesforce-metadata-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "salesforce-metadata-mcp"
      ],
      "env": {
        "SF_INSTANCE_URL": "<SF_INSTANCE_URL>",
        "SF_ACCESS_TOKEN": "<SF_ACCESS_TOKEN>"
      }
    }
  }
}

Configuration

  • SF_INSTANCE_URLSalesforce org URL, e.g. https://yourorg.my.salesforce.comRequired
  • SF_ACCESS_TOKENSalesforce access token (or use SF_ALIAS / JWT variables instead)
  • SF_ALIASSalesforce CLI org alias (alternative to SF_ACCESS_TOKEN)
  • SF_TOOLSETSToolsets to load at startup: 'all', 'none', or a comma-separated list. Default: core,metadata. All 228 tools stay available via sf_find_tool / sf_load_toolset, and callable via sf_call_tool even on clients that do not refresh their tool list.
  • SF_PRODUCTION_GUARDRefuse destructive tools on production orgs: 'destructive' (default), 'strict', or 'off'. Metadata creation is never affected.

Pricing

Open source

Salesforce Metadata MCP FAQ

Is Salesforce Metadata MCP free?

Yes. Salesforce Metadata MCP is open source, so you can use and self-host it for free.

How do I add Salesforce Metadata MCP to Claude Code?

Run this command in your terminal: claude mcp add salesforce-metadata-mcp --env SF_INSTANCE_URL='<SF_INSTANCE_URL>' --env SF_ACCESS_TOKEN='<SF_ACCESS_TOKEN>' -- npx -y salesforce-metadata-mcp

What are the best alternatives to Salesforce Metadata MCP?

The closest alternatives to Salesforce Metadata MCP are Calven, CompanyData, MisarReach MCP Server, NeuralVerge and ZUUZ.

Alternatives to Salesforce Metadata MCP

  1. Calven

    MCP server

    Product marketing context from Calven delivered into Claude, ChatGPT and other AI tools

    Not checked yet
    • Remote
    • Free trial
    • 3 GitHub stars
    • Marketing and SEO
  2. CompanyData

    MCP server

    Search and enrich company records from official registers via the CompanyData API

    • 3 tools
    • Remote
    • Paid
    • 3 GitHub stars
    • Analytics and data
  3. Find, enrich and score B2B leads and run outreach sequences from an AI assistant

    • 31 tools
    • Remote
    • Freemium
    • 1 GitHub star
    • Sales and CRM
  4. NeuralVerge

    MCP server

    Structured, source-tagged business and people data from 300+ sources for agents

    • 200 tools
    • Remote
    • Free trial
    • 1 GitHub star
    • Web search and scraping
  5. ZUUZ

    MCP server

    Ask Claude or ChatGPT about deals and follow-ups ZUUZ finds in sales email for MSPs

    Not checked yet
    • Remote
    • Free trial
    • Sales and CRM
  6. Fuse

    MCP server

    Hosted MCP server for B2B prospecting, contact enrichment, buying signals and outreach

    Not checked yet
    • Remote
    • Freemium
    • Sales and CRM