// DOCUMENTATION
Mahakalp MCP Docs
Installation, configuration, tool reference, and troubleshooting.
// OVERVIEW
What is Mahakalp MCP?
Mahakalp MCP is an open-source MCP (Model Context Protocol) server that provides Salesforce platform knowledge to any AI assistant. It runs locally on your machine and communicates with your AI tool via stdio.
When your AI assistant needs Salesforce knowledge — governor limits, API references, best practices, or tribal knowledge — it calls the MCP server, which queries Mahakalp's curated knowledge API.
No Salesforce org is required. The MCP server provides general platform knowledge, not org-specific intelligence. For org-connected intelligence, see the Mahakalp IDE.
// QUICK START
Install in one command
No global install, no sign-up, no API key. Just run:
npx -y @mahakalp/salesforce-mcpRequirements
- Node.js 18 or later
- Any MCP-compatible AI client (Claude Code, Cursor, VS Code Copilot, etc.)
// CONFIGURATION
Add to your AI tool
Copy the config for your editor. The server runs via npx — no global install needed.
{
"mcpServers": {
"salesforce": {
"command": "npx",
"args": [
"-y",
"@mahakalp/salesforce-mcp"
]
}
}
}{
"mcpServers": {
"salesforce": {
"command": "npx",
"args": [
"-y",
"@mahakalp/salesforce-mcp"
]
}
}
}{
"servers": {
"salesforce": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mahakalp/salesforce-mcp"
]
}
}
}// AVAILABLE TOOLS
Tool reference
3 free tools + 7 Pro-only tools.
Free Tools
No API key required
Constraints & Best Practices
mahakalp_sf_constraintsGovernor limits, platform rules, and best practices for Salesforce development.
Documentation Search
mahakalp_sf_doc_searchSemantic search over official Salesforce documentation.
Release Intelligence
mahakalp_sf_releasesRelease metadata, API versions, and platform status.
Pro Tools
Requires MAHAKALP_API_KEY
Apex Class Library Reference
mahakalp_sf_apex_libraryMethod signatures, parameters, return types, and governor limit implications.
Standard Object Schema
mahakalp_sf_standard_objectsStandard fields, relationships, and FLS patterns.
LWC Component Reference
mahakalp_sf_lwc_referenceAttributes, events, wire adapters, and Apex integration patterns.
Tribal Knowledge
mahakalp_sf_tribal_knowledgeCommunity-sourced patterns, anti-patterns, and hard-won lessons from production.
SOQL Optimizer
mahakalp_sf_soql_optimizerQuery selectivity analysis, governor limit risk assessment, and indexing recommendations.
Code Pattern Analyzer
mahakalp_sf_code_analyzerGovernor limit risk detection and bulkification suggestions.
Trigger Context Advisor
mahakalp_sf_trigger_advisorContext variables, execution order, and common pitfalls.
// PLANS
Free vs Pro
| Feature | Free | Pro |
|---|---|---|
| Constraints & best practices | ||
| Documentation search | ||
| Release intelligence | ||
| Apex class library reference | ||
| Standard object schema | ||
| LWC component reference | ||
| Tribal knowledge | ||
| SOQL optimizer | ||
| Code pattern analyzer | ||
| Trigger context advisor | ||
| Daily request limit | 100 | 1,000 |
| API key required |
// API KEYS
Setting up your Pro API key
Pro tools require a MAHAKALP_API_KEY environment variable.
Create an account
Sign up at mahakalp.dev (free).
Generate a key
Go to Dashboard → MCP and generate an API key.
Add to your config
Add MAHAKALP_API_KEY to your MCP config's env block. See the Configuration section above for examples.
// RATE LIMITS
Request limits
Free
100
requests per day (per IP)
Pro
1,000
requests per day (per API key)
Rate limits reset daily at midnight UTC. When the limit is reached, requests return a 429 status with a retry-after header.
// TROUBLESHOOTING
Common issues
// FAQ
Frequently asked questions
Ready to get started?
Install Mahakalp MCP in under a minute. No sign-up, no credit card.