This repository provides a Model Context Protocol (MCP) server that enables Claude Desktop to interact with Salesforce data, specifically querying Account information. It requires Node.js, Salesforce CLI, and Claude Desktop.
This project implements a Model Context Protocol (MCP) server to integrate Salesforce with Claude Desktop, enabling interaction with Salesforce data. Currently, it supports querying Account information from a Salesforce organization.
npm install..env file with SF_LOGIN_URL, SF_API_VERSION, and SF_ORG_ALIAS.sf org login web.mcpServers configuration block, specifying the command (npm), arguments (run dev), and working directory.npm run dev.accounts/list: Returns a list of Salesforce accountsrefresh_accounts: Manually refresh the account dataThe project structure includes src/index.ts (main server), package.json, tsconfig.json, and .env. Key scripts include npm run dev, npm run build, npm start, and npm run clean.
Address connection, authentication, and server issues by verifying Salesforce authentication, Claude Desktop configuration, .env values, and checking Claude Desktop logs.
[Your License]
Fork, create a branch, commit, push, and create a pull request.
Iros95/salesforce-mcp-server
February 9, 2025
February 10, 2025
TypeScript