Salesforce MCP Server
Provides tools for lead management (creating leads) and permission set management (assigning and creating permission sets) in Salesforce.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Salesforce MCP ServerCreate a lead for John Doe at Acme Corp"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Salesforce MCP Server
A FastAPI-based MCP (Model Context Protocol) server for Salesforce Agentforce Registry (Beta).
Features
MCP Protocol Support: Implements initialize, tools/list, and tools/call endpoints
Streamable HTTP: Uses standard HTTP POST requests (not SSE)
Salesforce Integration: Provides tools for lead management and permission sets
Production Ready: Includes proper logging, error handling, and JSON responses
Related MCP server: Salesforce MCP Server
Tools Available
createLead: Create a new Salesforce Lead
Parameters:
first_name,last_name,email,company
assignPermissionSet: Assign a permission set to a user
Parameters:
username,permission_set_name
createPermissionSet: Create a new permission set
Parameters:
ps_name,ps_label
Setup
Install dependencies:
pip install -r requirements.txtConfigure environment variables in
.env:SALESFORCE_CLIENT_ID=your_client_id SALESFORCE_CLIENT_SECRET=your_client_secret SALESFORCE_USERNAME=your_username SALESFORCE_PASSWORD=your_password SALESFORCE_TOKEN_URL=https://login.salesforce.com/services/oauth2/tokenRun the server:
uvicorn main:app --host 0.0.0.0 --port 8000 --reload
API Endpoints
GET /: Health checkPOST /mcp: MCP protocol endpoint
MCP Protocol
The server strictly follows the MCP protocol with JSON responses containing:
id: Request IDtype: Response type ("result" or "error")result: Response data for successful operations
Logging
All incoming requests and operations are logged for debugging purposes.
This server cannot be deployed
Maintenance
Related MCP Connectors
Native MCP access to CRM contacts, organizations, deals and tasks with user permissions.
Salesforce-grounded retrieval, diagnoses, and a vetted-Force marketplace for MCP clients.
mtdt.io MCP: Salesforce DevOps platform connector (metadata deployments, backups and more)
Authenticated, user-scoped MCP connectors for 30+ business systems.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to manage Salesforce leads and permission sets via the MCP protocol.-
- FlicenseNot gradedqualityDmaintenanceEnables lead management and permission set assignment in Salesforce through natural language via MCP protocol.-
- AlicenseAqualityAmaintenanceEnables SOQL queries, SOSL search, and record CRUD operations on a single Salesforce org via MCP, with optional read-only mode.945 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables querying and modifying Salesforce data (Accounts, Contacts, Opportunities, Leads, Cases) via MCP tools.60 npmMIT