TM

tsmztech/mcp-server-salesforce

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

165 stars 93 forks Качество 87 Тренд 37MIT

tsmztech/mcp-server-salesforce — это кандидат на MCP-сервер, импортированный из https://github.com/tsmztech/mcp-server-salesforce.

Обзор

tsmztech/mcp-server-salesforce — это кандидат на MCP-сервер, импортированный из https://github.com/tsmztech/mcp-server-salesforce.

Обзор (машинный перевод)

Реализация сервера MCP (Model Context Protocol), которая интегрирует Claude с Salesforce, позволяя взаимодействие на естественном языке с вашими данными и метаданными Salesforce. Этот сервер позволяет Claude запрашивать, изменять и управлять вашими объектами и записями Salesforce, используя повседневный язык.

Особенности

  • Управление объектами и полями: Создание и изменение пользовательских объектов и полей с использованием естественного языка
  • Smart Object Search: Найдите объекты Salesforce с помощью частичных совпадений имён
  • Подробная информация о схеме: Получите полевые и взаимосвязи для любого объекта
  • Гибкие запросы к данным: записи запросов с поддержкой отношений и сложными фильтрами
  • Манипуляция данными: Легко вставлять, обновлять, удалять и обновлять записи
  • Кросс-объектный поиск: Поиск по нескольким объектам с помощью SOSL
  • Apex Code Management: Чтение, создание и обновление классов и триггеров Apex
  • Интуитивная обработка ошибок: Чёткая обратная связь с деталями, специфичными для Salesforce
  • Переключаемая аутентификация: поддерживает несколько организаций.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Salesforce MCP Server

An MCP (Model Context Protocol) server implementation that integrates Claude with Salesforce, enabling natural language interactions with your Salesforce data and metadata. This server allows Claude to query, modify, and manage your Salesforce objects and records using everyday language.

Features

  • Object and Field Management: Create and modify custom objects and fields using natural language
  • Smart Object Search: Find Salesforce objects using partial name matches
  • Detailed Schema Information: Get comprehensive field and relationship details for any object
  • Flexible Data Queries: Query records with relationship support and complex filters
  • Data Manipulation: Insert, update, delete, and upsert records with ease
  • Cross-Object Search: Search across multiple objects using SOSL
  • Apex Code Management: Read, create, and update Apex classes and triggers
  • Intuitive Error Handling: Clear feedback with Salesforce-specific error details
  • Switchable Authentication: Supports multiple orgs. Easily switch your active Salesforce org based on the default org configured in your VS Code workspace (use Salesforce_CLI authentication for this feature).

Installation

Requirements

  • Node.js 22+ (jsforce 3.10.17 and later depend on undici 8, which needs Node 22; on Node 20 the server fails at startup). The server must run under Node — bun is not supported: jsforce’s HTTP transport hangs under bun, so authentication appears to succeed but every Salesforce API call stalls until the MCP host times out (see #118). Use npx/node (not bun x) in your MCP client configuration.

Global Installation (npm)

npm install -g @tsmztech/mcp-server-salesforce

Claude Desktop Quick Installation

For easy setup with Claude Desktop, download the pre-configured extension:

  1. Download salesforce-mcp-extension.dxt from the claude-desktop/ folder
  2. Open Claude Desktop → Settings → Extensions
  3. Drag the .dxt file into the Extensions window
  4. Configure your Salesforce credentials when prompted

For manual Claude Desktop configuration, see Usage with Claude Desktop below.

Tools

salesforce_search_objects

Search for standard and custom objects:

  • Search by partial name matches
  • Finds both standard and custom objects
  • Example: “Find objects related to Account” will find Account, AccountHistory, etc.

salesforce_describe_object

Открыть полный README на GitHub

Установка

npx -y @tsmztech/mcp-server-salesforce
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "salesforce": { "command": "npx", "args": ["-y", "@tsmztech/mcp-server-salesforce"], "env": { "SALESFORCE_CONNECTION_TYPE": "Salesforce_CLI" } } } }