A Model Context Protocol server implementation for interacting with Salesforce
The server implements resources in two categories:
Notes storage system:
Salesforce objects:
The server provides the following prompts:
summarize-notes: Creates summaries of all stored notes
analyze-salesforce-data: Analyzes data from a Salesforce object
The server implements the following tools:
Notes management:
Salesforce interactions:
salesforce-query: Execute a SOQL query against Salesforce
salesforce-create: Create a new record in Salesforce
salesforce-update: Update an existing Salesforce record
salesforce-delete: Delete a Salesforce record
To use the Salesforce functionality, you need to set up authentication credentials. The server supports environment variables or a .env file in the project root.
Required environment variables:
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
The project uses GitHub Actions for CI/CD:
To prepare a release:
pyproject.toml
git tag v0.0.x
git push origin v0.0.x
This will trigger the automatic release process.
For manual builds:
uv sync
uv build
This will create source and wheel distributions in the dist/
directory.
uv publish
Note: You'll need to set PyPI credentials via environment variables or command flags:
--token
or UV_PUBLISH_TOKEN
--username
/UV_PUBLISH_USERNAME
and --password
/UV_PUBLISH_PASSWORD
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm
with this command:
npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-server-salesforce run mcp-server-salesforce
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
{
"mcpServers": {
"mcp-server-salesforce": {
"env": {},
"args": [
"--directory",
"/path/to/mcp-server-salesforce",
"run",
"mcp-server-salesforce"
],
"command": "uv"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.