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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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 CLI MCP Server
Resources
Interesting discussion by awesome Pamela Fox:"Can VS Code skills be a replacement for MCP servers?":
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate realistic, FK-consistent synthetic test data for your databases from your AI assistant.
Plan Salesforce deploys, open pull requests and trigger pipelines from your AI client.
Direct access to Cypress tests results and accessibility reports in your AI workflow.
Connect your AI agent to the apitree API marketplace.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI tools like Claude Desktop and Cline to interact with Salesforce, providing tools for SOQL queries, Apex execution, metadata management, and more.1768 npm42MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Salesforce orgs through natural language commands, supporting org management, SOQL queries, metadata operations, testing, and more.1MIT
- AlicenseBqualityCmaintenanceConnects to Salesforce and enables running SOQL queries, SOSL searches, managing records, and executing various Salesforce APIs via natural language.1024 PyPIMIT
- AlicenseNot gradedqualityBmaintenanceSalesforce sandbox seeding, built for AI agents. SOQL-driven org-to-org record copy with automatic dependency-graph walking, cross-org FK remapping, and a hard AI-never-sees-your-data boundary.29 npmApache 2.0