Salesforce MCP Server
Provides OAuth-authenticated access to Salesforce APIs with Bearer token forwarding, enabling AI agents to interact with Salesforce data and functionality through authenticated API calls.
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.
Salesforce MCP Server
A Model Context Protocol (MCP) server for Salesforce integration with Bearer token forwarding.
How it Works
This MCP server demonstrates the OAuth Bearer token forwarding pattern:
Langdock authenticates with Salesforce using your External Client App OAuth configuration
Langdock receives a Bearer token from Salesforce
Langdock forwards this Bearer token to your MCP server in the
AuthorizationheaderYour MCP server extracts this token and uses it to make authenticated API calls to Salesforce
The server stores the Bearer token per session, allowing it to maintain authenticated connections to Salesforce throughout the MCP session lifecycle.
Related MCP server: Salesforce-Hosted-Custom-Mcp-Server
Installation / Setup
pnpm iEnvironment Setup
Create a .env file in the root directory with your Salesforce configuration:
# Copy from .env.example
SALESFORCE_INSTANCE_URL=https://your-instance.my.salesforce.comThe server uses the Salesforce instance URL from the SALESFORCE_INSTANCE_URL environment variable.
Configuration
The server requires:
Bearer token in the
Authorizationheader (format:Bearer YOUR_TOKEN)Salesforce instance URL via
SALESFORCE_INSTANCE_URLenvironment variable (see Environment Setup above)
Salesforce setup
Enable API Access, go to: Setup → Profiles → [Your Profile] → System Permissions
a. Make sure API Enabled is checked. Without this, no external app can reach Salesforce.
Add a Connected App. You need to go to Setup → Apps → App Manager (https://your-instance.develop.lightning.force.com/lightning/setup/NavigationMenus/home).
a. Create a new Connected App
b. Name your app
c. Enable OAuth Settings
d. Set the callbackk url from /mcp on langdock
e. Add scopes like: full, refresh_token, api
f. Save your Consumer Key and Consumer Secret
Connecting with Langdock
Start the server
pnpm dev # runs on port 3333Tunnel using ngrok
ngrok http 3333Configure MCP client in Langdock

Then create and test the connection


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
Managed MCP gateway with OAuth, per-agent permissions, shared accounts and activity logs.
One OAuth connector for your team's remote MCP servers, with Tool Packs, guardrails and logs.
OAuth MCP for Google, Meta, X, LinkedIn, Reddit, TikTok, GSC, GA4, WordPress and GHL.
One MCP endpoint for your company's tools, with per-person sign-in, policy and audit.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables lead management and permission set operations on Salesforce through the MCP protocol.-
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Salesforce data and services via custom MCP tools, including account analytics, opportunity queries, case creation, and AI agent invocation.4-
- AlicenseAqualityDmaintenanceEnables AI agents to interact with Salesforce through MCP, supporting queries, records, metadata, and bulk operations with flexible OAuth authentication.16MIT
- FlicenseNot gradedqualityDmaintenanceEnables Agentforce agents to retrieve order status and loyalty points from external systems via OAuth 2.0 secured MCP endpoints hosted on AWS.10 npm-