Salesforce MCP Server

Productivitystdiov0.8.0
Repositorio

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.

Conectar

Añade esta configuración a .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>"
      }
    }
  }
}

Herramientas (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"
    }
  }
}

Recursos

Este servidor no expone ningún recurso.

Prompts

Este servidor no expone ningún prompt.

Información del servidor

Autor
Salesforce Community (@salesforcecli)
Repositorio
https://github.com/salesforcecli/mcp
Licencia
BSD-3-Clause
Versión
0.8.0
Estrellas
540
Última actualización
19 de junio de 2026