Koskamo

salesforce-metadata-mcp

An open-source MCP server providing 228 tools for Salesforce development and administration. It enables agents to manage metadata, flows, Apex, LWC, Agentforce, OmniStudio, and reports directly from Claude or any MCP client, supporting a complete daily developer loop including schema description, code reading, and debugging.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

salesforce-metadata-mcp logo, by semwalajay83-semCommunity listingLocal stdioSource reviewed; not executedPublished by semwalajay83-sem
Vendor documentation

What you can do with it

  • Manage Salesforce org metadata and flows via natural language
  • Build Agentforce agents and OmniStudio components
  • Read and debug Apex code and logs
  • Generate reports and analyze permissions

Source and maintenance

Community listingRegistry 3.2.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

salesforce-metadata-mcp 3.2.0

npm
salesforce-metadata-mcp package definition
{
  "version": "3.2.0",
  "transport": "stdio",
  "identifier": "salesforce-metadata-mcp",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "SF_INSTANCE_URL",
      "isRequired": true,
      "description": "Salesforce org URL, e.g. https://yourorg.my.salesforce.com"
    },
    {
      "name": "SF_ACCESS_TOKEN",
      "description": "Salesforce access token (or use SF_ALIAS / JWT variables instead)"
    },
    {
      "name": "SF_ALIAS",
      "description": "Salesforce CLI org alias (alternative to SF_ACCESS_TOKEN)"
    },
    {
      "name": "SF_TOOLSETS",
      "description": "Toolsets 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."
    },
    {
      "name": "SF_PRODUCTION_GUARD",
      "description": "Refuse destructive tools on production orgs: 'destructive' (default), 'strict', or 'off'. Metadata creation is never affected."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "salesforce-metadata-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "salesforce-metadata-mcp@3.2.0"
      ],
      "env": {
        "SF_INSTANCE_URL": "<YOUR_SF_INSTANCE_URL>",
        "SF_ACCESS_TOKEN": "<YOUR_SF_ACCESS_TOKEN>",
        "SF_ALIAS": "<YOUR_SF_ALIAS>",
        "SF_TOOLSETS": "<YOUR_SF_TOOLSETS>",
        "SF_PRODUCTION_GUARD": "<YOUR_SF_PRODUCTION_GUARD>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "salesforce-metadata-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "salesforce-metadata-mcp@3.2.0"
      ],
      "env": {
        "SF_INSTANCE_URL": "<YOUR_SF_INSTANCE_URL>",
        "SF_ACCESS_TOKEN": "<YOUR_SF_ACCESS_TOKEN>",
        "SF_ALIAS": "<YOUR_SF_ALIAS>",
        "SF_TOOLSETS": "<YOUR_SF_TOOLSETS>",
        "SF_PRODUCTION_GUARD": "<YOUR_SF_PRODUCTION_GUARD>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "salesforce-metadata-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "salesforce-metadata-mcp@3.2.0"
      ],
      "env": {
        "SF_INSTANCE_URL": "<YOUR_SF_INSTANCE_URL>",
        "SF_ACCESS_TOKEN": "<YOUR_SF_ACCESS_TOKEN>",
        "SF_ALIAS": "<YOUR_SF_ALIAS>",
        "SF_TOOLSETS": "<YOUR_SF_TOOLSETS>",
        "SF_PRODUCTION_GUARD": "<YOUR_SF_PRODUCTION_GUARD>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "salesforce-metadata-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "salesforce-metadata-mcp@3.2.0"
      ],
      "env": {
        "SF_INSTANCE_URL": "<YOUR_SF_INSTANCE_URL>",
        "SF_ACCESS_TOKEN": "<YOUR_SF_ACCESS_TOKEN>",
        "SF_ALIAS": "<YOUR_SF_ALIAS>",
        "SF_TOOLSETS": "<YOUR_SF_TOOLSETS>",
        "SF_PRODUCTION_GUARD": "<YOUR_SF_PRODUCTION_GUARD>"
      }
    }
  }
}

Let your agent find its tools

Find servers like salesforce-metadata-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.