sf-docs-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SF_ACTIVE_DOMAINS | No | Comma-separated list of domain IDs to restrict search to. If not set, all 129 domains are searched. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| sf_searchA | Search across all Salesforce documentation domains for a topic. Returns matching documents with titles, domains, and descriptions. When domain restriction is active, only searches active domains. |
| sf_read_topicA | Read a specific Salesforce documentation topic file. Use sf_search first to find the domain and topic ID. Optionally request a specific section by heading. |
| sf_graph_queryB | Navigate the Salesforce Knowledge Graph. Find related docs, explore namespaces, discover service categories, or get full context for a document. |
| sf_list_domainsA | List all available Salesforce documentation domains, optionally filtered by service category. |
| sf_apex_lookupA | Look up an Apex class or method by name. Searches the apex-reference domain specifically for class documentation, methods, and signatures. |
| sf_code_examplesA | Find working code examples from Salesforce documentation. Returns code snippets with language, source file, and surrounding context. Great for learning patterns and copy-paste solutions. |
| sf_object_referenceA | Look up a Salesforce standard object or field. Searches the Field Reference Guide (4,800+ pages) and Object Reference (1,700+ pages) for object details, field types, and relationships. |
| sf_explain_errorA | Explain a Salesforce error message or exception. Searches documentation for the error, provides explanation, common causes, and resolution steps. |
| sf_limitsA | Look up Salesforce governor limits and platform constraints. Returns exact numbers for SOQL, DML, callout, CPU, heap, batch, API limits and more. |
| sf_semantic_searchA | AI-powered semantic search with NLP query understanding. Analyzes your query to extract entities, intent, and synonyms for better results. Returns section-level matches with header paths. Use this for natural language questions like 'how to process records in bulk' or 'debug authentication errors'. |
| sf_set_active_domainsA | Set the active domain restriction. When set, all tools only return results from the specified domains. Use sf_suggest_domains first to discover relevant domain IDs. Call with clear=true to remove restrictions. |
| sf_suggest_domainsA | Suggest relevant documentation domains based on a description of what the user is working on. Returns domain IDs that can be passed to sf_set_active_domains. Use this when the user wants to focus their search on specific Salesforce products or features. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| explore_api | Explore a Salesforce API — discover endpoints, methods, and usage patterns |
| debug_apex | Debug an Apex issue — look up classes, methods, and known patterns |
| compare_services | Compare Salesforce products by exploring their documentation domains |
| write_apex | Write production-ready Apex code — gathers limits, patterns, and examples before coding |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| overview | Overview of the SF Documentation Knowledge system — stats, available tools, and how to use them |
| domains | All Salesforce documentation domains with descriptions |
| namespaces | All Apex namespaces with document counts |
| services | Salesforce service categories with domain counts |
| config | Current MCP server configuration — active domain restrictions, cache stats |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Avinava/sf-documentation-knowledge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server