
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"]
}
}
}