Salesforce MCP Server

Productivitystdiov0.8.0
Repository

MCP server for Salesforce that lets AI agents query and modify CRM data using SOQL, manage standard and custom objects (Accounts, Contacts, Opportunities, Cases), describe object metadata, and execute Apex anonymous blocks. Supports both production and sandbox orgs via OAuth or username-password flows.

Verbinden

Fügen Sie diese Konfiguration hinzu zu .claude/mcp.json

{
  "mcpServers": {
    "salesforce": {
      "command": "npx",
      "args": [
        "-y",
        "@salesforce/mcp"
      ],
      "env": {
        "SALESFORCE_INSTANCE_URL": "<YOUR_SALESFORCE_INSTANCE_URL>",
        "SALESFORCE_ACCESS_TOKEN": "<YOUR_SALESFORCE_ACCESS_TOKEN>"
      }
    }
  }
}

Werkzeuge (3)

run_soql

Execute a SOQL query and return matching records.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "SOQL query string"
    }
  }
}

create_record

Create a record for a given Salesforce object.

{
  "type": "object",
  "required": [
    "object_type",
    "fields"
  ],
  "properties": {
    "fields": {
      "type": "object",
      "description": "Field API name/value pairs"
    },
    "object_type": {
      "type": "string",
      "description": "Salesforce object API name (e.g., Account, Contact)"
    }
  }
}

describe_object

Return field and relationship metadata for a Salesforce object.

{
  "type": "object",
  "required": [
    "object_type"
  ],
  "properties": {
    "object_type": {
      "type": "string",
      "description": "Salesforce object API name"
    }
  }
}

Ressourcen

Dieser Server stellt keine Ressourcen bereit.

Prompts

Dieser Server stellt keine Prompts bereit.

Serverinformationen

Autor
Salesforce Community (@salesforcecli)
Repository
https://github.com/salesforcecli/mcp
Lizenz
BSD-3-Clause
Version
0.8.0
Sterne
540
Zuletzt aktualisiert
19. Juni 2026