KasarKasar Docs
MCP Server

Setup & Configuration

Connect Claude Desktop, Cursor, Claude Code, or any MCP client to your Kasar CRM.

Prerequisites

  1. A Kasar CRM account with an active subscription
  2. An API token created in Settings > API

Create an API Token

  1. Open your Kasar workspace and navigate to Settings > API
  2. Click New token
  3. Give it a name (e.g., "Claude Desktop", "Cursor", "Claude Code")
  4. Optionally set an expiration (30 days, 90 days, 1 year, or never)
  5. Copy the token (ksr_...) — it will only be shown once

The token is bound to the workspace member who creates it. Every MCP tool runs as that member: Kasar re-resolves their identity on each call and applies the same role-based permissions and record visibility they have in the app. The MCP server sees exactly what the user sees, never more.

Treat your API token like a password. Never commit it to version control or share it publicly. If compromised, revoke it immediately in Settings > API and create a new one.

Claude Desktop

Add the following to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "kasar-crm": {
      "type": "http",
      "url": "https://kasar.app/api/mcp",
      "headers": {
        "Authorization": "Bearer ksr_..."
      }
    }
  }
}

Replace ksr_... with your actual API token.

After saving, restart Claude Desktop. You should see the Kasar tools appear in the tools menu.

Cursor

Add the MCP server in your Cursor settings:

  1. Open Cursor Settings > MCP
  2. Click Add MCP Server
  3. Configure:
{
  "mcpServers": {
    "kasar-crm": {
      "type": "http",
      "url": "https://kasar.app/api/mcp",
      "headers": {
        "Authorization": "Bearer ksr_..."
      }
    }
  }
}

Claude Code

Add the server from the command line:

claude mcp add kasar-crm \
  --transport http \
  --url https://kasar.app/api/mcp \
  --header "Authorization: Bearer ksr_..."

Other MCP Clients

Any client that supports the Streamable HTTP transport can connect. Provide:

ParameterValue
URLhttps://kasar.app/api/mcp
SSE URLhttps://kasar.app/api/mcp/sse
TransportStreamable HTTP (stateless, backed by a Redis session store)
Auth HeaderAuthorization: Bearer ksr_...

Most clients only need the base endpoint https://kasar.app/api/mcp. The /sse endpoint is provided for clients that require the legacy Server-Sent Events transport.

Authentication & Permissions

PropertyValue
MethodBearer token in the Authorization header
Token formatksr_... — the same token used for the REST API
IdentityThe workspace member who created the token
PermissionsIdentical to that member's in-app role and record visibility

There is no separate scope to enable. A single API token grants the MCP server full access to the CRM as that workspace member — records, schema, pipelines, tasks, notes, lists, aggregations, and the connected inbox (email, LinkedIn, WhatsApp). Anything the member cannot see or do in the app is also blocked over MCP.

Read-only members get read-only tools, hidden records stay hidden, and data-model tools (creating objects, fields, lists, enum options) require an admin token. Nothing over MCP can delete CRM records, objects, or fields.

Verify the Connection

Once configured, ask your AI assistant:

"List all objects in my Kasar CRM"

The assistant should read the kasar://schema resource and return a list of your CRM objects (contacts, companies, opportunities, etc.). If you see an authentication error, double-check your token and endpoint URL.

On this page