MCP Hosted
Salesforce Hosted MCP Servers
What is MCP Hosted?
MCP Hosted is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to salesforce hosted mcp servers
Salesforce Hosted MCP Servers
This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Salesforce Hosted MCP Servers
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcp-hostedConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MCP Hosted
Salesforce Hosted MCP Servers is an official Salesforce project that provides MCP-compliant servers hosted and managed by Salesforce, enabling AI assistants to access Salesforce platform capabilities, developer APIs, and Flows without running local infrastructure. The repository contains the tooling and configuration needed to connect MCP clients to Salesforce's hosted server endpoints, letting developers interact with Salesforce orgs through natural language. It is designed for Salesforce developers and admins who want to bring AI automation to their Salesforce workflows.
Prerequisites
- A Salesforce developer org or production org with API access enabled
- Salesforce CLI (sf) installed for authentication
- Access to the Salesforce Setup menu to enable and configure hosted MCP servers
- An External Client App configured in Salesforce for OAuth-based MCP access
- An MCP-compatible client such as Claude Desktop or VS Code with MCP support
Enable Salesforce Hosted MCP Servers in Setup
In your Salesforce org, navigate to Setup and search for 'MCP Servers'. Enable the feature to allow AI agents to connect. You can also create custom servers, attach APIs and Flows, and manage External Client Apps from this screen.
Review available servers and tools
Consult the official Salesforce developer documentation to see which hosted MCP server endpoints are available for your org type and which tools each server exposes.
Authenticate with Salesforce CLI
Log in to your Salesforce org using the Salesforce CLI so that your local MCP client can obtain OAuth tokens for the hosted endpoints.
sf org login web --alias my-orgConfigure your MCP client
Add the Salesforce hosted MCP server endpoint to your MCP client configuration. The exact endpoint URL and authentication headers are provided in the Salesforce Setup UI after enabling the feature.
{
"mcpServers": {
"salesforce": {
"command": "npx",
"args": ["mcp-hosted"],
"env": {
"SF_ORG_ALIAS": "my-org"
}
}
}
}Test the connection
Ask your AI assistant to list available Salesforce tools or query a simple object like Account. A successful response confirms the hosted MCP server is reachable and authenticated.
MCP Hosted Examples
Client configuration
Example MCP client config for connecting to Salesforce Hosted MCP Servers.
{
"mcpServers": {
"salesforce": {
"command": "npx",
"args": ["mcp-hosted"],
"env": {
"SF_ORG_ALIAS": "my-org"
}
}
}
}Prompts to try
Prompts that demonstrate interacting with Salesforce through the hosted MCP servers.
- "List all available Salesforce MCP tools in my org"
- "Query the top 10 Accounts by annual revenue"
- "Run the Salesforce Flow 'New_Customer_Onboarding' for contact ID 003xx000004TmiX"
- "Show me all custom APIs attached to this hosted MCP server"
- "List all External Client Apps configured for MCP access in my org"Troubleshooting MCP Hosted
Authentication fails when connecting to the hosted endpoint
Ensure you have run 'sf org login web --alias my-org' and that the alias matches what is set in your MCP config. Also verify that an External Client App for MCP is configured and approved in Salesforce Setup under 'MCP Servers'.
Hosted MCP server option is not visible in Salesforce Setup
Hosted MCP Servers may require specific Salesforce editions or feature flags. Check the Salesforce Developer Guide at developer.salesforce.com/docs/platform/hosted-mcp-servers for edition requirements and ensure the feature has been enabled for your org by a System Administrator.
Tools return permission errors when accessing Salesforce objects
The Salesforce user associated with the OAuth session must have the appropriate object and field-level permissions. Review the profile or permission set of the connected user in Salesforce Setup and grant read/write access to the relevant objects.
Frequently Asked Questions about MCP Hosted
What is MCP Hosted?
MCP Hosted is a Model Context Protocol (MCP) server that salesforce hosted mcp servers It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MCP Hosted?
Follow the installation instructions on the MCP Hosted GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with MCP Hosted?
MCP Hosted works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MCP Hosted free to use?
Yes, MCP Hosted is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.
MCP Hosted Alternatives — Similar Cloud Services Servers
Looking for alternatives to MCP Hosted? Here are other popular cloud services servers you can use with Claude, Cursor, and VS Code.
Open WebUI
★ 138.2kUser-friendly AI Interface (Supports Ollama, OpenAI API, ...)
Anything LLM
★ 60.4kThe all-in-one AI productivity accelerator. On device and privacy first with no annoying setup or configuration.
LocalAI
★ 46.4kLocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
Nacos
★ 33.0kan easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.
Xiaozhi ESP32
★ 26.7k本项目为xiaozhi-esp32提供后端服务,帮助您快速搭建ESP32设备控制服务器。Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server.
Gateway
★ 11.8kA blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.
Browse More Cloud Services MCP Servers
Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MCP Hosted in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MCP Hosted?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.