Skip to Content
User Guide🧩 Available MCP ServersSalesforce - API Context

Salesforce - API Context

Connect to Salesforce’s official Hosted MCP API Context server to retrieve context needed for Salesforce Metadata API and Tooling API usage.

Key Features

  • Retrieve Data API and Tooling API context
  • Retrieve metadata types, sections, and field information
  • Search metadata types
  • Explore structure information needed for API tasks

Basic Information

Authentication Method

Uses Salesforce OAuth authentication.

Input Parameters

  • sandbox (Optional): Whether to connect to a Salesforce Sandbox environment

Supported MCP Tools

API Context Tools

get_data_and_tooling_api_context

Retrieves context information for Salesforce Data API and Tooling API usage.

get_metadata_type_sections

Retrieves section information available for a specific metadata type.

get_metadata_type_context

Retrieves context information for a specific metadata type.

get_metadata_type_fields

Retrieves the field list for a specific metadata type.

get_metadata_type_fields_properties

Retrieves property information for fields of a specific metadata type.

search_metadata_types

Searches metadata types.

Usage Examples

For example,

  • if you enter a prompt like “Show me the fields available for the Flow metadata type”,
  • the LLM calls the get_metadata_type_fields tool through MCP,
  • and responds in the chat based on the tool result.

Other example prompts:

  • “Check the Tooling API context”
  • “Search the available metadata types”
  • “Show me the properties of a specific metadata field”

Notes

  • Available metadata information depends on your Salesforce permissions.
  • This server focuses on providing context for API-related tasks.
Last updated on