// 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.

AI Assistant
↓ stdio ↑
MCP Server(local)
↓ HTTPS ↑
Knowledge API

// QUICK START

Install in one command

No global install, no sign-up, no API key. Just run:

Terminal
npx -y @kognyt/salesforce-mcp

Requirements

  • 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.

Claude Code
.mcp.json (project root)
{
  "mcpServers": {
    "salesforce": {
      "command": "npx",
      "args": [
        "-y",
        "@kognyt/salesforce-mcp"
      ]
    }
  }
}
Cursor
.cursor/mcp.json
{
  "mcpServers": {
    "salesforce": {
      "command": "npx",
      "args": [
        "-y",
        "@kognyt/salesforce-mcp"
      ]
    }
  }
}
VS Code (Copilot)
.vscode/mcp.json
{
  "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_constraints

Governor limits, platform rules, and best practices for Salesforce development.

Documentation Search

mahakalp_sf_doc_search

Semantic search over official Salesforce documentation.

Release Intelligence

mahakalp_sf_releases

Release metadata, API versions, and platform status.

Pro Tools

Pro

Requires a Pro API key

Apex Class Library Reference

mahakalp_sf_apex_library

Method signatures, parameters, return types, and governor limit implications.

Standard Object Schema

mahakalp_sf_standard_objects

Standard fields, relationships, and FLS patterns.

LWC Component Reference

mahakalp_sf_lwc_reference

Attributes, events, wire adapters, and Apex integration patterns.

Tribal Knowledge

mahakalp_sf_tribal_knowledge

Community-sourced patterns, anti-patterns, and hard-won lessons from production.

SOQL Optimizer

mahakalp_sf_soql_optimizer

Query selectivity analysis, governor limit risk assessment, and indexing recommendations.

Code Pattern Analyzer

mahakalp_sf_code_analyzer

Governor limit risk detection and bulkification suggestions.

Trigger Context Advisor

mahakalp_sf_trigger_advisor

Context variables, execution order, and common pitfalls.

// PLANS

Free vs Pro

FeatureFreePro
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 limit1001,000
API key required

// API KEYS

Setting up your Pro API key

Pro tools require an API key environment variable in your MCP config.

1

Create an account

Sign up at kognyt.dev (free).

2

Generate a key

Go to Dashboard → MCP and generate an API key.

3

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

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.