Skip to main content
Glama
sfdevabhishek

Salesforce MCP Server

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

  1. createLead: Create a new Salesforce Lead

    • Parameters: first_name, last_name, email, company

  2. assignPermissionSet: Assign a permission set to a user

    • Parameters: username, permission_set_name

  3. createPermissionSet: Create a new permission set

    • Parameters: ps_name, ps_label

Setup

  1. Install dependencies:

    pip install -r requirements.txt
  2. Configure 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/token
  3. Run the server:

    uvicorn main:app --host 0.0.0.0 --port 8000 --reload

API Endpoints

  • GET /: Health check

  • POST /mcp: MCP protocol endpoint

MCP Protocol

The server strictly follows the MCP protocol with JSON responses containing:

  • id: Request ID

  • type: Response type ("result" or "error")

  • result: Response data for successful operations

Logging

All incoming requests and operations are logged for debugging purposes.

F
license - not found
Not graded
quality - not tested
C
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

  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables interaction with Salesforce through REST, Bulk API, and SOQL for comprehensive CRM management across objects like Leads, Accounts, and Opportunities. It provides a structured interface for performing CRUD operations and executing complex queries via the Model Context Protocol.
  • F
    license
    Not graded
    quality
    D
    maintenance
    A FastAPI-based server that enables interaction with Salesforce through the Model Context Protocol. It provides tools for managing leads and configuring user permission sets within the Salesforce environment.

View all related MCP servers

Related MCP Connectors

  • Give AI agents the LinkedIn tools to find, qualify, engage, and follow up with prospects.

  • Shared, permission-aware company context for AI agents, with provenance, approvals and audit.

  • Automate eSignature workflows and signing tasks via natural language commands.

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/sfdevabhishek/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server