MCP.so
ログイン

Salesforce MCP Server

@jaworjar95

基本情報

カテゴリ

データと分析

ライセンス

MIT

トランスポート

stdio

作者

jaworjar95

投稿者

Jarosław Jaworski

Salesforce MCP Server について

A comprehensive Model Context Protocol (MCP) server that provides seamless Salesforce integration for AI development tools like Claude Desktop, Cline, and other MCP-compatible clients.

Salesforce MCP Server の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

Salesforce MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Salesforce MCP Server?

Salesforce MCP Server is a Model Context Protocol (MCP) server that provides comprehensive Salesforce integration for AI development tools such as Claude Desktop, Cline, and other MCP-compatible clients. It offers 17 tools covering query, Apex development, data management, metadata operations, and connection health monitoring.

How to use Salesforce MCP Server?

Install via npx by adding the server configuration to your MCP client’s JSON settings file (e.g., Claude Desktop, Cline, or Cursor). Provide authentication using either Username/Password (with optional security token) or OAuth 2.0 credentials as environment variables. Once configured, you can invoke any of the 17 available tools, such as execute-soql, execute-apex, or deploy-metadata.

Key features of Salesforce MCP Server

  • 17 comprehensive tools for Salesforce operations
  • Auto-bulk switching for optimal performance
  • Dual authentication: OAuth2 and Username/Password
  • Intelligent caching with 1‑hour TTL for SObject metadata
  • Full TypeScript implementation with runtime validation
  • Raw Salesforce errors preserved for debugging

Use cases of Salesforce MCP Server

  • Query Salesforce data using SOQL and SOSL from an AI assistant
  • Run anonymous Apex code and retrieve debug logs
  • Create, update, delete, and upsert records with auto‑bulk support
  • Deploy and retrieve metadata components like Apex classes or CustomObjects
  • Validate and monitor Salesforce connection health

よくある質問

1

What authentication methods are supported?

Supports both Username/Password (with optional security token) and OAuth 2.0 authentication. Set the corresponding environment variables (`SF_USERNAME`, `SF_PASSWORD`, etc. for password auth; `SF_CLIENT_ID`, `SF_REFRESH_TOKEN`, etc. for OAuth2).

2

Where do I configure the server for Claude Desktop or other clients?

Configuration files vary per client: for Claude Desktop on macOS it’s `~/Library/Application Support/Claude/claude_desktop_config.json`; for Cline (VS Code) it’s in the `globalStorage` settings; for Cursor it’s `~/.cursor/mcp.json`.

3

Which tools can be auto‑approved?

Tools marked as “safe for auto‑approval” include `test-connection`, `execute-soql`, `describe-sobject`, `get-record`, `get-apex-logs`, and `list-metadata-types`. All other tools (data modification, code execution, metadata deployment) require manual approval.

4

How long is metadata cached?

SObject metadata is cached with a 1‑hour time‑to‑live (TTL) for performance optimization.

5

What is auto‑bulk switching?

The server automatically uses the Bulk API for large operations (e.g., bulk record creation or updates) and the standard REST API for smaller ones, optimizing performance without manual selection.

コメント

「データと分析」の他のコンテンツ