Salesforce HTTP MCP Server
@mrpaapi
salesforce-http-mcp-server
Overview
What is Salesforce HTTP MCP Server?
A Model Context Protocol (MCP) server that integrates Salesforce with LangChain, enabling tool discovery and SOQL query execution over HTTP.
How to use Salesforce HTTP MCP Server?
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.
Key features of Salesforce HTTP MCP Server
- Exposes tool manifest at
/mcpand/sse - Executes SOQL queries via
/mcp/tool - Protected by API key authentication
- Rate limiting prevents abuse
- Integrates natively with LangChain
Use cases of Salesforce HTTP MCP Server
- Run ad‑hoc SOQL queries from an LLM‑powered chat interface
- Let LangChain agents discover and invoke Salesforce tools dynamically
- Securely expose Salesforce data to AI workflows with rate‑limiting
FAQ from Salesforce HTTP MCP Server
How do I authenticate requests?
Include an x-mcp-key header with your API key (set in the .env file) on every tool execution POST.
What endpoints does the server provide?
The manifest is available at /sse (GET, event‑stream) and /mcp; query execution is via POST to /mcp/tool.
What are the runtime dependencies?
Node.js and npm are required; install dependencies with npm install.
Does the server have rate limiting?
Yes, rate limiting is built in to prevent abuse.
Where does the server store my Salesforce data?
No data is stored—the server only relays queries and results over HTTP.