MCP Hosted

v1.0.0Cloud Servicesstable

Salesforce Hosted MCP Servers

mcp-serversalesforcesalesforce-developers
Share:
110
Stars
0
Downloads
0
Weekly
0/5

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

Deploy and manage Salesforce hosted MCP servers.
Access Salesforce developer resources through MCP.
forcedotcom

Maintainer

LicenseApache-2.0
Languagetypescript
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-hosted

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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.

2

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.

3

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-org
4

Configure 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"
      }
    }
  }
}
5

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.

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.

Quick Config Preview

{ "mcpServers": { "mcp-hosted": { "command": "npx", "args": ["-y", "mcp-hosted"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides