Seamless integration with Salesforce using OAuth authentication.
MCP Salesforce Server
A Model Context Protocol (MCP) server that provides seamless integration with Salesforce using OAuth authentication. This server enables AI assistants like Claude to interact with any Salesforce organization through a secure, generic interface.
⨠Features
- šÆ Seamless Authentication - Claude automatically detects when authentication is needed and handles it transparently
- š Zero Manual Setup - No need to run terminal commands or manual OAuth flows
- š OAuth-Only Authentication - Secure browser-based setup with automatic token refresh
- š Universal Salesforce Integration - Works with any Salesforce org, including custom objects and fields
- š§ Smart Installation Learning - Analyzes your complete Salesforce setup to provide intelligent assistance
- š Dynamic Schema Discovery - Automatically adapts to your Salesforce configuration
- š Secure Token Storage - File-based storage with strict permissions for production-grade security
- š Cross-Platform Home Directory Storage - Credentials and cache stored in user's home directory
- š Full CRUD Operations - Query, create, update, and delete any Salesforce records
- š Schema Inspection - Get detailed information about objects and fields
- š” Context-Aware Suggestions - Provides intelligent field and object name suggestions
- š¾ Comprehensive Backup System - Complete data and file backup with support for all Salesforce file systems
- ā° Time Machine Feature - Point-in-time data recovery and historical analysis
- š Multi-Format File Support - Backs up ContentVersions, Attachments, and Documents with proper metadata
š Quick Start
Prerequisites
- Node.js 18+
- macOS (required for secure credential storage)
- Salesforce Connected App with OAuth configured
Installation Options
šÆ **Recommended: NPX Usage (No Installation Required)**
Use NPX to run the MCP server without any permanent installation:
{
"mcpServers": {
"salesforce": {
"command": "npx",
"args": ["@aiondadotcom/mcp-salesforce"]
}
}
}
ā Benefits of NPX Usage:
- š Always Latest: Automatically uses the latest published version
- š¾ No Disk Space: No permanent installation required
- š”ļø No Conflicts: No global package conflicts
- ā” Easy Updates: Just restart - gets latest version automatically
- š Simple Config: Copy-paste ready MCP configuration
NPX Command Line Usage:
# Get version
npx -p @aiondadotcom/mcp-salesforce mcp-salesforce --version
# Get help
npx -p @aiondadotcom/mcp-salesforce mcp-salesforce --help
# Run OAuth setup
npx -p @aiondadotcom/mcp-salesforce mcp-salesforce setup
š§ **Alternative: Development Setup**
For development or customization:
Clone and install dependencies:
git clone https://github.com/AiondaDotCom/mcp-salesforce.git cd mcp-salesforce npm installConfigure credentials: Use the
salesforce_setuptool to configure your credentials when promptedAdd to Claude Desktop using local path (see Configuration below)
šÆ **Start Using**
That's it! Claude will automatically handle setup and authentication when you first use any Salesforce tool.
⨠Interactive Setup Process!
- Use the
salesforce_setuptool to configure your credentials - Claude will ask you for your Salesforce Connected App details
- Credentials are stored securely in your home directory
- Seamless OAuth flow directly from Claude Desktop
š§ Smart Learning System
- Use
salesforce_learnto analyze your complete Salesforce installation - Claude learns all your custom objects, fields, and relationships
- Provides intelligent suggestions based on your specific setup
- Context-aware assistance for complex Salesforce environments
š¦ NPM Package Status
ā Package Successfully Published!
The package @aiondadotcom/mcp-salesforce is now live on NPM and ready for use.
Using the Published Package
NPX usage is now available for all users:
# Test the published package
npx -p @aiondadotcom/mcp-salesforce mcp-salesforce --version
npx -p @aiondadotcom/mcp-salesforce mcp-salesforce --help
# Run OAuth setup
npx -p @aiondadotcom/mcp-salesforce mcp-salesforce setup
Publication Details
- Package Name:
@aiondadotcom/mcp-salesforce - Version:
1.0.7(latest) - Registry: NPM Public Registry
- Organization:
@aiondadotcom - Access: Public
Status:
- ā Package published to NPM
- ā NPX compatibility verified
- ā Binary wrapper implemented
- ā Setup command functional
- ā MCP configuration ready
- ā Available for immediate use
š All NPX functionality now works for end users worldwide!
š§ Configuration
Sal
Tools (2)
salesforce_setupConfigures Salesforce credentials and OAuth settings.salesforce_learnAnalyzes the Salesforce installation to provide intelligent assistance and schema discovery.Configuration
{"mcpServers": {"salesforce": {"command": "npx", "args": ["@aiondadotcom/mcp-salesforce"]}}}