Salesforce HTTP MCP Server
About
A Model Context Protocol (MCP) server that integrates Salesforce with LangChain, enabling tool discovery and SOQL query execution over HTTP.
Details
- Author
- mrpaapi
- Downloads
- 374
- Categories
- Search
Jump to
- Exposes tool manifest at /mcp and /sse
- Executes SOQL queries via /mcp/tool
- Protected by API key authentication
- Rate limiting prevents abuse
- Integrates natively with LangChain
Clone the repository, install dependencies with npm install, configure environment variables with Salesforce credentials in a .env file, then start the server with npm start. Use curl to call the manifest endpoint or execute SOQL queries via a POST request.
Salesforce HTTP MCP Server
A Model Context Protocol (MCP) server for Salesforce integration with LangChain.
Features
- Tool Manifest: Exposes available tools via /mcp and /sse
- Tool Execution: Executes SOQL queries via /mcp/tool
- Authentication: API key protection
- Rate Limiting: Prevents abuse
Setup
1. Clone the repository
git clone https://github.com/mrpaapi/salesforce-http-mcp-server.git
cd salesforce-http-mcp-server
2. Install Dependencies
npm install
3. Configure environment Variables
cp .env.example .env - Edit .env with your Salesforce credentials
4. Start the Server
npm start
##Usage
- Get Tool Manifest
curl http://localhost:3000/sse -H "Accept: text/event-stream"
- Execute query
curl -X POST http://localhost:3000/mcp/tool
-H "Content-Type: application/json"
-H "x-mcp-key: your-api-key"
-d '{"name":"salesforce_query","parameters":{"query":"SELECT Id FROM Account LIMIT 1"}}'
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.

