mcp-tools-salesforce
Connects to Salesforce scratch orgs via JWT Bearer Flow, allowing querying of data, describing sObjects, generating and inserting nested test records using the Composite Tree REST API.
Click on "Install 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., "@mcp-tools-salesforceCreate an account with two contacts and a case"
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.
mcp-tools-salesforce
Custom MCP Server that Connects to Salesforce Scratch Orgs — and Lets AI Generate Test Data
A custom MCP server built with FastMCP that connects to a Salesforce scratch org via JWT Bearer Flow. It uses MCP Sampling to let an LLM autonomously look up the data model, generate realistic nested test records, and insert them via the Composite Tree REST API. You describe the scenario in plain English. The server does the rest.

Tools
Tool | Description |
| Runs a SOQL query against the connected scratch org and returns matching records |
| Returns createable fields for an sObject (name, type, nillable) |
| Returns a lightweight field map for Account, Contact, Case, User |
| Uses LLM sampling to draft a Composite Tree compatible nested record from a natural-language request |
| Posts the payload to |
Note:
generate_nested_recorduses MCP Sampling with tools + structured output. Authentication via JWT Bearer Flow.
Related MCP server: Salesforce MCP Server
Resources
Interesting discussion by awesome Pamela Fox:"Can VS Code skills be a replacement for MCP servers?":
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceEnables AI assistants to interact with Salesforce organizations, allowing them to execute Apex code, query data, describe objects, and manage org connections through natural language.Last updated20032MIT
- AlicenseAqualityDmaintenanceEnables AI tools like Claude Desktop and Cline to interact with Salesforce, providing tools for SOQL queries, Apex execution, metadata management, and more.Last updated174943MIT
- Flicense-qualityDmaintenanceEnables AI assistants to interact with Salesforce orgs through natural language commands, supporting org management, SOQL queries, metadata operations, testing, and more.Last updated1
- AlicenseBqualityDmaintenanceConnects to Salesforce and enables running SOQL queries, SOSL searches, managing records, and executing various Salesforce APIs via natural language.Last updated10MIT
Related MCP Connectors
Generate realistic, FK-consistent synthetic test data for your databases from your AI assistant.
Run SOQL queries to explore and retrieve Salesforce data. Access accounts, contacts, opportunities…
Run SOQL queries to explore and retrieve Salesforce data. Inspect records, fields, and relationshi…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rowellsuper/mcp-salesforce'
If you have feedback or need assistance with the MCP directory API, please join our Discord server