Skip to main content
Glama
rowellsuper

mcp-tools-salesforce

by rowellsuper

mcp-tools-salesforce

Custom MCP Server that Connects to Salesforce Scratch Orgs — and Lets AI Generate Test Data

📝 Read the full write-up on Medium

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.

notes

Tools

Tool

Description

query_salesforce(soql_query)

Runs a SOQL query against the connected scratch org and returns matching records

describe_sobject(sobject_name)

Returns createable fields for an sObject (name, type, nillable)

get_basic_datamodel()

Returns a lightweight field map for Account, Contact, Case, User

generate_nested_record(request)

Uses LLM sampling to draft a Composite Tree compatible nested record from a natural-language request

insert_record(root_sobject, record)

Posts the payload to composite/tree/{root_sobject}

  

Note: generate_nested_record uses 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?":

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

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

  • A
    license
    -
    quality
    A
    maintenance
    Enables 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 updated
    200
    32
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI tools like Claude Desktop and Cline to interact with Salesforce, providing tools for SOQL queries, Apex execution, metadata management, and more.
    Last updated
    17
    49
    43
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Connects to Salesforce and enables running SOQL queries, SOSL searches, managing records, and executing various Salesforce APIs via natural language.
    Last updated
    10
    MIT

View all related MCP servers

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…

View all MCP Connectors

Latest Blog Posts

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