KS

kablewy/salesforce-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

45 stars 13 forks 품질 52 트렌드 0

kablewy/salesforce-mcp-server는 MCP 서버 후보가 https://github.com/kablewy/salesforce-mcp-server.에서 수입되었습니다

개요

kablewy/salesforce-mcp-server는 MCP 서버 후보가 https://github.com/kablewy/salesforce-mcp-server.에서 수입되었습니다

개요(AI 번역)

Jsforce를 사용하여 REST API를 통해 Salesforce와 상호 작용하는 모델 Context Protocol 서버 구현.

Smithery를 통해 설치

Smithery를 통해 Claude Desktop 용 Salesforce Server를 자동으로 설치하십시오.

특징

  • SOQL 쿼리 실행
  • 객체 메타데이터 검색
  • 생성, 업데이트 및 삭제 기록
  • 보안 인증 처리
  • 실시간 데이터 액세스

설치

  1. 저장소를 복제
  2. .env.example]를 .env에 복사하고 Salesforce credentials에 기입하십시오
  3. 의존성 설치: npm install
  4. 빌드 : npm run build
  5. 시작: npm start

사용법

서버는 몇몇 기능을 드러냅니다:

태그

Salesforce 인스턴스에 대한 SOQL 쿼리를 실행:

설명-object

Salesforce 개체에 대한 메타 데이터를 가져옵니다:

생성

새로운 기록 만들기:

업데이트

기존 기록 업데이트:

삭제

기록 삭제:

실행 evals

evals 패키지는 mcp 클라이언트를로드하여 index.ts 파일을 실행하므로 테스트를 재구성 할 필요가 없습니다. npx 명령을 접목하여 환경 변수를 로드할 수 있습니다. 전체 문서는 여기에서 찾을 수 있습니다.

보안

확인하기:

  • .env 파일 보안을 유지하고 절대로

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Salesforce MCP Server

A Model Context Protocol server implementation for interacting with Salesforce through its REST API using jsforce.

Installing via Smithery

To install Salesforce Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install salesforce-mcp-server --client claude

Features

  • Execute SOQL queries
  • Retrieve object metadata
  • Create, update, and delete records
  • Secure authentication handling
  • Real-time data access

Setup

  1. Clone the repository
  2. Copy .env.example to .env and fill in your Salesforce credentials
  3. Install dependencies: npm install
  4. Build: npm run build
  5. Start: npm start

Usage

The server exposes several functions:

query

Execute SOQL queries against your Salesforce instance:

{
  "name": "query",
  "parameters": {
    "query": "SELECT Id, Name FROM Account LIMIT 5"
  }
}

describe-object

Get metadata about a Salesforce object:

{
  "name": "describe-object",
  "parameters": {
    "objectName": "Account"
  }
}

create

Create a new record:

{
  "name": "create",
  "parameters": {
    "objectName": "Contact",
    "data": {
      "FirstName": "John",
      "LastName": "Doe",
      "Email": "[email protected]"
    }
  }
}

update

Update an existing record:

{
  "name": "update",
  "parameters": {
    "objectName": "Contact",
    "data": {
      "Id": "003XXXXXXXXXXXXXXX",
      "Email": "[email protected]"
    }
  }
}

delete

Delete a record:

{
  "name": "delete",
  "parameters": {
    "objectName": "Contact",
    "id": "003XXXXXXXXXXXXXXX"
  }
}

Running evals

The evals package loads an mcp client that then runs the index.ts file, so there is no need to rebuild between tests. You can load environment variables by prefixing the npx command. Full documentation can be found here.

OPENAI_API_KEY=your-key  npx mcp-eval src/evals/evals.ts src/tools.ts

Security

Make sure to:

  • Keep your .env file secure and never commit it
  • Use IP restrictions in Salesforce when possible
  • Regularly rotate your security token
  • Consider implementing additional authentication for the MCP server

Contributing

Contributions are welcome! Please submit PRs with improvements.

Salesforce MCP Server

A Model Context Protocol server implementation for interacting with Salesforce through its REST API using jsforce.

Installing via Smithery

To install Salesforce Server for Claude Desktop automatically via Smithery:

GitHub에서 전체 README 보기

설치

npx -y @smithery/cli install salesforce-mcp-server --client claude
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →