// DOCUMENTATION
Kognyt MCP Docs
Everything you need to install Platform Intelligence in any MCP-compatible AI tool.
This page is for MCP setup
Use these docs when you want Salesforce Platform Intelligence in Claude Code, Cursor, VS Code, or any MCP-compatible client.
Need connected-org work?
For Org Context in a real Salesforce sandbox or production org, explore Kognyt for VS Code or see the full pricing guide.
// OVERVIEW
What is Kognyt MCP?
Kognyt MCP is an MCP (Model Context Protocol) server that provides Salesforce Platform Intelligence to any AI assistant. It runs locally 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 Kognyt's curated knowledge API.
No Salesforce org is required. The MCP server provides general platform knowledge, not Org Context. For connected-org work, see Kognyt for VS Code or the pricing page for the connected-org path beyond MCP.
// QUICK START
Install in one command
No global install, no sign-up, no API key. Just run:
npx -y @kognyt/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",
"@kognyt/salesforce-mcp"
]
}
}
}{
"mcpServers": {
"salesforce": {
"command": "npx",
"args": [
"-y",
"@kognyt/salesforce-mcp"
]
}
}
}{
"servers": {
"salesforce": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@kognyt/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 a Pro 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 an API key environment variable in your MCP config.
Create an account
Sign up at kognyt.dev (free).
Generate a key
Go to Dashboard → MCP and generate an API key.
Add to your config
Add KOGNYT_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 Kognyt MCP in under a minute. No sign-up, no credit card.