
salesforcediariesbysanket/salesforce-docs-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
A local-first MCP server for searching Salesforce Developer Documentation. Search 360+ official Salesforce PDF docs from VS Code or Claude Desktop.
개요
A Model Context Protocol (MCP) server for searching Salesforce Developer Documentation. Search across 360 official Salesforce PDF documents directly from VS Code, Claude Desktop, or any MCP-compatible client. - 🎯 - Automatically detects query topic (Apex, REST API, LWC, etc.) and searches in relevant docs - 📚 - 291 developer guides + 69 release notes (Apex, LWC, REST API, Metadata API, and more) - 🏠 - All data stays on your machine, works offline - ⚡ - Sub-second query latency with intelligent filtering + LRU caching - 🔍 - Expands search if topic-filtered results are sparse - 📦 - Pure JavaScript (sql.js), no native dependencies - 🔐 - Parameterized queries, input validation with zod - Node.js 18 or higher - npm or yarn - VS Code with GitHub Copilot or Claude Desktop Add to your VS Code MCP configuration (%APPDATA%\Code\User\mcp.json on Windows): Add to your Claude Desktop configuration (%APPDATA%\Claude\claude_desktop_config.
README
원문 README의 일부입니다. 원문 보기.
Salesforce Documentation MCP Server
A local-first Model Context Protocol (MCP) server for searching Salesforce Developer Documentation. Search across 360 official Salesforce PDF documents directly from VS Code, Claude Desktop, or any MCP-compatible client.
✨ Features
- 🎯 Intent-Based Search - Automatically detects query topic (Apex, REST API, LWC, etc.) and searches in relevant docs
- 📚 360 Documents - 291 developer guides + 69 release notes (Apex, LWC, REST API, Metadata API, and more)
- 🏠 100% Local - All data stays on your machine, works offline
- ⚡ Fast - Sub-second query latency with intelligent filtering + LRU caching
- 🔍 Smart Fallback - Expands search if topic-filtered results are sparse
- 📦 Packageable - Pure JavaScript (sql.js), no native dependencies
- 🔐 Secure - Parameterized queries, input validation with zod
🚀 Quick Start
Prerequisites
- Node.js 18 or higher
- npm or yarn
- VS Code with GitHub Copilot or Claude Desktop
Installation
# Clone the repository
git clone https://github.com/SalesforceDiariesBySanket/salesforce-docs-mcp.git
cd salesforce-docs-mcp
# Install dependencies
npm install
# Build the TypeScript
npm run build
# Build the search index (parses all PDFs - takes 5-10 minutes)
npm run build-index
Configure VS Code
Add to your VS Code MCP configuration (%APPDATA%\Code\User\mcp.json on Windows):
{
"servers": {
"salesforce-docs": {
"type": "stdio",
"command": "node",
"args": ["C:\\path\\to\\salesforce-docs-mcp\\dist\\index.js"]
}
}
}
Configure Claude Desktop
Add to your Claude Desktop configuration (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"salesforce-docs": {
"command": "node",
"args": ["C:\\path\\to\\salesforce-docs-mcp\\dist\\index.js"]
}
}
}
🛠️ Available Tools
search_salesforce_docs
Search across all Salesforce documentation with natural language queries.
Example: "How to create an Apex trigger on Account"
Example: "REST API authentication with OAuth 2.0"
Example: "Lightning Web Component wire service"
get_api_reference
Get specific Salesforce API reference documentation.
Example: API name "REST API", endpoint "/services/data"
Example: API name "Bulk API 2.0", endpoint "jobs"
get_release_notes
Get Salesforce release notes for specific releases or features.
Example: release "Winter 26"
Example: feature "Dynamic Forms"
get_code_example
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"salesforce-docs": {
"command": "node",
"args": ["C:\\path\\to\\salesforce-docs-mcp\\dist\\index.js"]
}
}
}