SM

surajadsul/mcp-server-salesforce

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

15 stars 13 forks 品質 68 トレンド 21MIT

Claude と Salesforce を統合する MCP (Model Context Protocol) サーバの実装で、Salesforce のデータとメタデータで自然な言語の相互作用を有効にします.

概要

Claude と Salesforce を統合する MCP (Model Context Protocol) サーバの実装で、Salesforce のデータとメタデータで自然な言語の相互作用を有効にします。 このサーバーでは、Claude が日常の言語を使って Salesforce オブジェクトとレコードを照会、変更、管理することができます。 * : 自然言語を使用して、カスタムオブジェクトとフィールドを作成および変更 * : 部分名マッチを使用してSalesforceオブジェクトを検索 * : 任意のオブジェクトのための包括的なフィールドと関係の詳細を取得 * : 関係のサポートと複雑なフィルタでクエリレコード * : インサート、更新、削除、およびより簡単にレコードをアップ * : SOSLを使用して複数のオブジェクトを検索 * : Salesforce固有のエラーの詳細をクリアフィードバック 2つの方法を使用して Salesforce で認証できます。 1。 Salesforceの資格情報2を設定します。 セキュリティトークン(Salesforce設定からリセット)3。 設定セクションに示すように環境変数を設定 1。 Salesforce 2でConnected Appを設定する.

概要(AI 翻訳)

Claude と Salesforce を統合する MCP (Model Context Protocol) サーバの実装で、Salesforce のデータとメタデータで自然な言語の相互作用を有効にします。 このサーバーでは、Claude が日常の言語を使って Salesforce オブジェクトとレコードを照会、変更、管理することができます。

##特徴

*オブジェクトとフィールド管理: 自然言語を使用してカスタムオブジェクトとフィールドを作成および変更する *Smart Object Search: 部分名マッチを用いたSalesforceオブジェクトの検索

    • *詳細はスキーマ情報 * 任意のオブジェクトのための包括的なフィールドと関係の詳細を取得する *柔軟なデータクエリ: 関係のサポートと複雑なフィルタでレコードをクエリする *データ操作: 一貫性、更新、削除、およびアップサートレコードを簡単に *クロスオブジェクト検索: SOSLを使用して複数のオブジェクト間で検索 *直感的なエラー処理: Salesforce固有のエラーの詳細でフィードバックをクリア

インストール

セットアップ

##セールスフォース認証 2つの方法を使用して Salesforce で認証できます。

###1. ユーザー名/パスワード認証 1。 Salesforceの資格情報を設定する 2. セキュリティトークンの取得(Salesforce設定からリセット) 3.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

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
  • Intuitive Error Handling: Clear feedback with Salesforce-specific error details

Installation

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

Setup

Salesforce Authentication

You can authenticate with Salesforce using one of two methods:

1. Username/Password Authentication

  1. Set up your Salesforce credentials
  2. Get your security token (Reset from Salesforce Settings)
  3. Configure the environment variables as shown in the configuration section

2. OAuth2 Authentication with Consumer Key/Secret

  1. Set up a Connected App in Salesforce
  2. Get the Consumer Key and Consumer Secret
  3. Configure the environment variables as shown in the configuration section

IDE Integration

Cursor IDE Setup

  1. Install the package globally:
npm install -g @surajadsul02/mcp-server-salesforce
  1. Configure the MCP server in Cursor IDE .cursor/mcp.json:
Using env Command
{
  "mcpServers": {
    "salesforce": {
      "command": "env",
      "args": [
        "[email protected]",
        "SALESFORCE_PASSWORD=YourActualPassword123",
        "SALESFORCE_TOKEN=YourActualSecurityToken123",
        "SALESFORCE_INSTANCE_URL=https://login.salesforce.com",
        "npx",
        "-y",
        "@surajadsul02/mcp-server-salesforce"
      ]
    }
  }
}
For OAuth2 Authentication in Cursor
{
  "mcpServers": {
    "salesforce": {
      "command": "env",
      "args": [
        "[email protected]",
        "SALESFORCE_PASSWORD=YourActualPassword123",
        "SALESFORCE_TOKEN=YourActualSecurityToken123",
        "SALESFORCE_INSTANCE_URL=https://login.salesforce.com",
        "SALESFORCE_CONSUMER_KEY=YourConsumerKey",
        "SALESFORCE_CONSUMER_SECRET=YourConsumerSecret",
        "npx",
        "-y",
        "@surajadsul02/mcp-server-salesforce"
      ]
    }
  }
}

Claude Desktop Setup

GitHub で README 全文を見る

インストール

npx -y @surajadsul02/mcp-server-salesforce
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "salesforce": { "command": "env", "args": [ "[email protected]", "SALESFORCE_PASSWORD=YourActualPassword123", "SALESFORCE_TOKEN=YourActualSecurityToken123", "SALESFORCE_INSTANCE_URL=https://login.salesforce.com", "npx", "-y", "@surajadsul02/mcp-server-salesforce" ] } } }