Integration · MODEL CONTEXT PROTOCOL
uday210 salesforce mcp server
Model Context Protocol server for Salesforce REST API integration
WHAT IT CONNECTS
What uday210 salesforce mcp server gives an AI Agent
- Execute SOQL queries
- Retrieve object metadata
- Create, update, and delete records
- Secure authentication handling
- Real-time data access
- Clone the repository
- Copy `.env.example` to `.env` and fill in your Salesforce credentials
- Install dependencies: `npm install`
- Build: `npm run build`
- Start: `npm start`
- 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
- Execute SOQL queries
- Retrieve object metadata
- Create, update, and delete records
- Secure authentication handling
- Real-time data access
- Clone the repository
- Copy `.env.example` to `.env` and fill in your Salesforce credentials
- Install dependencies: `npm install`
- Build: `npm run build`
- Start: `npm start`
- 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
SECURITY
An MCP listing is not a security review
An MCP server may receive model context, credentials, local files, or permission to call external systems. Review its code, requested environment variables, network behavior, package provenance, and maintenance status before connecting it to an agent.
README
Repository documentation
A Model Context Protocol server implementation for interacting with Salesforce through its REST API using jsforce.
To install Salesforce Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install salesforce-mcp-server --client claude- Execute SOQL queries
- Retrieve object metadata
- Create, update, and delete records
- Secure authentication handling
- Real-time data access
- Clone the repository
- Copy
.env.exampleto.envand fill in your Salesforce credentials - Install dependencies:
npm install - Build:
npm run build - Start:
npm start
The server exposes several functions:
Execute SOQL queries against your Salesforce instance:
{
"name": "query",
"parameters": {
"query": "SELECT Id, Name FROM Account LIMIT 5"
}
}Get metadata about a Salesforce object:
{
"name": "describe-object",
"parameters": {
"objectName": "Account"
}
}Create a new record:
{
"name": "create",
"parameters": {
"objectName": "Contact",
"data": {
"FirstName": "John",
"LastName": "Doe",
"Email": "john.doe@example.com"
}
}
}Update an existing record:
{
"name": "update",
"parameters": {
"objectName": "Contact",
"data": {
"Id": "003XXXXXXXXXXXXXXX",
"Email": "new.email@example.com"
}
}
}Delete a record:
{
"name": "delete",
"parameters": {
"objectName": "Contact",
"id": "003XXXXXXXXXXXXXXX"
}
}Make sure to:
- Keep your
.envfile 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
Contributions are welcome! Please submit PRs with improvements.
A Model Context Protocol server implementation for interacting with Salesforce through its REST API using jsforce.
To install Salesforce Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install salesforce-mcp-server --client claude- Execute SOQL queries
- Retrieve object metadata
- Create, update, and delete records
- Secure authentication handling
- Real-time data access
- Clone the repository
- Copy
.env.exampleto.envand fill in your Salesforce credentials - Install dependencies:
npm install - Build:
npm run build - Start:
npm start
The server exposes several functions:
Execute SOQL queries against your Salesforce instance:
{
"name": "query",
"parameters": {
"query": "SELECT Id, Name FROM Account LIMIT 5"
}
}Get metadata about a Salesforce object:
{
"name": "describe-object",
"parameters": {
"objectName": "Account"
}
}Create a new record:
{
"name": "create",
"parameters": {
"objectName": "Contact",
"data": {
"FirstName": "John",
"LastName": "Doe",
"Email": "john.doe@example.com"
}
}
}Update an existing record:
{
"name": "update",
"parameters": {
"objectName": "Contact",
"data": {
"Id": "003XXXXXXXXXXXXXXX",
"Email": "new.email@example.com"
}
}
}Delete a record:
{
"name": "delete",
"parameters": {
"objectName": "Contact",
"id": "003XXXXXXXXXXXXXXX"
}
}Make sure to:
- Keep your
.envfile 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
Contributions are welcome! Please submit PRs with improvements.
MIT License
MIT License
Copyright (c) 2024 Kablewy,LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
COMMUNITY