
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
このMCPサーバーは、CursorとSalesforce Data Cloud(以前はCDPとして知られる)との間のシームレスな統合を提供し、Cursorから直接SQLクエリを実行できます.
概要
このMCPサーバーは、CursorとSalesforce Data Cloud(以前はCDPとして知られる)との間のシームレスな統合を提供し、Cursorから直接SQLクエリを実行できます。 サーバは、Salesforce で OAuth 認証を処理し、データクラウドテーブルを探索およびクエリするためのツールを提供します。 コピーペーストの設定例 - Salesforce Data Cloud から SQL クエリを実行 - データベースの利用可能なテーブルのリスト - テーブルの列と構造を記述 - 柔軟な認証: SF CLI または OAuth2 自動フォールバック MCP の設定には、Python と server.py の両方の絶対パスが必要です。 SF CLI (推奨) または OAuth PKCE - 詳細は、設定セクションを参照してください。 1. 開いたカーソルIDE 2. → 3に移動します。 4 をクリックします。 下記の設定例の1つを使用してください(ステップ2から実際のパスとパスを置き換えます).
概要(AI 翻訳)
このMCPサーバーは、CursorとSalesforce Data Cloud(以前はCDPとして知られる)との間のシームレスな統合を提供し、Cursorから直接SQLクエリを実行できます。 サーバは、Salesforce で OAuth 認証を処理し、データクラウドテーブルを探索およびクエリするためのツールを提供します。
詳しくはこちら コピーペーストの設定例は QUICK START.md** で起動します。
##特徴
- Salesforce Data Cloud から SQL クエリを実行
- データベースの利用可能なテーブルのリスト
- テーブルのコラムおよび構造を記述して下さい
- 柔軟な認証:SF CLIまたはOAuth2、自動フォールバック
カーソルに追加
ステップ1:依存関係をクローンしてインストールする
ステップ2:あなたの道を取得する
MCP の設定には、Python と server.py の両方の絶対パスが必要です。
ステップ3:認証の設定
SF CLI (推奨) または OAuth PKCE - 詳細は、設定セクションを参照してください。
ステップ4:カーソルに追加
Option A: Cursor UI(推奨)の使用
- 開いたカーソルのIDE 2。 カーソル設定 → MCPに行く 3。 クリックします新しいグローバルMCPサーバーを追加します 4。 下記の設定例の1つを使用してください(ステップ2から実際のパスとパスを置換します)
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Data 360 Query MCP Server
This MCP server provides a seamless integration between Cursor and Salesforce Data Cloud (formerly known as CDP), allowing you to execute SQL queries directly from Cursor. The server handles OAuth authentication with Salesforce and provides tools for exploring and querying Data Cloud tables.
📚 New to this? Start with QUICK_START.md for copy-paste configuration examples.
Features
- Execute SQL queries against Salesforce Data Cloud
- List available tables in the database
- Describe table columns and structure
- Flexible authentication: SF CLI or OAuth2 with automatic fallback
Adding to Cursor
Step 1: Clone and Install Dependencies
# Clone the repository
git clone https://github.com/your-org/datacloud-mcp-query.git
cd datacloud-mcp-query
# Install dependencies
pip install -r requirements.txt
Step 2: Get Your Paths
You’ll need the absolute paths to both Python and server.py for the MCP configuration:
# Get your Python path
which python3
# Example output: /usr/bin/python3 or /Users/yourname/.pyenv/shims/python3
# Get the full path to server.py (run from the repo directory)
pwd
# Example output: /Users/yourname/projects/datacloud-mcp-query
# Your server.py path will be: /Users/yourname/projects/datacloud-mcp-query/server.py
Step 3: Set Up Authentication
Choose SF CLI (recommended) or OAuth PKCE - see Configuration section below for details.
Step 4: Add to Cursor
Option A: Using Cursor UI (Recommended)
- Open Cursor IDE
- Go to Cursor Settings → MCP
- Click Add new global MCP server
- Use one of the configuration examples below (replace paths with your actual paths from Step 2)
- Enable the MCP server and click refresh to see the tool list
Option B: Edit Config File Directly
Alternatively, you can edit the MCP config file directly:
Location:
- macOS:
~/Library/Application Support/Cursor/User/globalStorage/mcp-settings.json - Linux:
~/.config/Cursor/User/globalStorage/mcp-settings.json - Windows:
%APPDATA%\Cursor\User\globalStorage\mcp-settings.json
Add the configuration from the examples below to this file.
Configuration
The server supports two authentication methods. Choose the one that works best for your setup.
Authentication Method 1: SF CLI (Recommended)
If you already use the Salesforce CLI for development, this is the simplest option.
Prerequisites:
- Install Salesforce CLI: https://developer.salesforce.com/tools/salesforcecli
- Authenticate with your org:
sf org login web --alias myorg
Environment Variables:
SF_ORG_ALIAS: Your SF CLI org alias or username (e.g., “myorg”)
Cursor MCP Configuration:
Add this to your Cursor MCP settings (replace the paths with your actual paths from Step 2):
{
"mcpServers": {
"datacloud": {
"command": "/usr/bin/python3",
"args": ["/Users/yourname/projects/datacloud-mcp-query/server.py"],
"env": {
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"datacloud": {
"command": "/usr/bin/python3",
"args": ["/Users/yourname/projects/datacloud-mcp-query/server.py"],
"env": {
"SF_ORG_ALIAS": "myorg"
},
"disabled": false,
"autoApprove": ["describe_table", "list_tables"]
}
}
}