MCP Catalogs
Home

mcp-server-salesforce

by tsmztech·156·Score 50

MCP server that enables Claude to interact with Salesforce objects, records, metadata, and Apex code.

developer-toolsai-llmproductivity
86
Forks
25
Open issues
3 mo ago
Last commit
2d ago
Indexed

Overview

The Salesforce MCP Server provides comprehensive integration between Claude and Salesforce, enabling natural language interactions with your Salesforce data and metadata. It allows users to query, modify, and manage Salesforce objects and records using everyday language, rather than requiring direct SOQL/SOSL knowledge. The server offers both Object and Field Management for creating custom objects and fields, as well as Smart Object Search functionality for finding Salesforce objects using partial name matches. It also supports detailed schema information retrieval, flexible data queries with relationship support, and data manipulation operations.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Salesforce administrators and developers using Claude to interact with Salesforce data through natural language queries
you:Business analysts exploring Salesforce data and creating custom objects without writing complex SOQL queries
you:Developers managing Apex code and triggers through Claude's interface
you:What authentication methods does this MCP server support?
you:Can I create and modify custom Salesforce objects using this server?

When to choose this

Choose this server if you need to interact with Salesforce data through AI and want a comprehensive set of tools for CRM object and record management.

When NOT to choose this

Avoid this if you're not using Salesforce, or if you need access to non-Salesforce data sources as this server is exclusively focused on Salesforce integration.

Tools this server exposes

12 tools extracted from the README
  • salesforce_search_objects

    Search for standard and custom objects using partial name matches.

  • salesforce_describe_object

    Get detailed object schema information including fields and relationships.

  • salesforce_query_records

    Query Salesforce records with relationship support and complex filters.

  • salesforce_aggregate_query

    Execute aggregate queries with GROUP BY and aggregate functions.

  • salesforce_dml_records

    Insert, update, delete, and upsert records.

  • salesforce_manage_object

    Create and modify custom objects.

  • salesforce_manage_field

    Manage object fields including adding fields and creating relationships.

  • salesforce_search_all

    Search across multiple objects using SOSL.

  • salesforce_read_apex

    Read and list Apex classes.

  • salesforce_write_apex

    Create and update Apex classes.

  • salesforce_execute_anonymous

    Execute anonymous Apex code without creating a permanent class.

  • salesforce_manage_debug_logs

    Manage debug logs for Salesforce users.

Comparable tools

mcp-server-salesforcemcp-server-databasesalesforce-cli

Installation

Installation

Global Installation (npm)

npm install -g @tsmztech/mcp-server-salesforce

Claude Desktop Configuration

For Claude Desktop, add to your claude_desktop_config.json:

For Salesforce CLI Authentication:
{
  "mcpServers": {
    "salesforce": {
      "command": "npx",
      "args": ["-y", "@tsmztech/mcp-server-salesforce"],
      "env": {
        "SALESFORCE_CONNECTION_TYPE": "Salesforce_CLI"
      }
    }
  }
}
For Username/Password Authentication:
{
  "mcpServers": {
    "salesforce": {
      "command": "npx",
      "args": ["-y", "@tsmztech/mcp-server-salesforce"],
      "env": {
        "SALESFORCE_CONNECTION_TYPE": "User_Password",
        "SALESFORCE_USERNAME": "your_username",
        "SALESFORCE_PASSWORD": "your_password",
        "SALESFORCE_TOKEN": "your_security_token",
        "SALESFORCE_INSTANCE_URL": "org_url"
      }
    }
  }
}

FAQ

What authentication methods does this MCP server support?
The server supports three authentication methods: Username/Password (default), OAuth 2.0 Client Credentials Flow, and Salesforce CLI Authentication (recommended for local development).
Can I create and modify custom Salesforce objects using this server?
Yes, the server provides tools for creating and modifying custom objects and fields, including adding picklist fields, configuring relationships, and managing field-level security.

Compare mcp-server-salesforce with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.