KosmoKrator

sales

Salesloft MCP Integration for LangChain

Connect Salesloft to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

6 functions 5 read 1 write Bearer token auth

Connect Salesloft to LangChain

Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.

Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with --write=deny so LangChain can inspect read-capable tools without receiving write access by default.

Salesloft MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

{
  "mcpServers": {
    "kosmokrator-salesloft": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=salesloft",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=salesloft --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Salesloft instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Salesloft Tools Visible to LangChain

LangChain sees stable MCP tool names generated from the Salesloft integration catalog.

MCP toolSource functionTypeDescription
integration__salesloft__salesloft_list_sequences salesloft.salesloft_list_sequences Read List call sequences from Salesloft. Returns sequences with their IDs, names, statuses, and metadata. Supports pagination and optional status filtering.
integration__salesloft__salesloft_get_sequence salesloft.salesloft_get_sequence Read Get detailed information about a specific call sequence in Salesloft by its ID.
integration__salesloft__salesloft_create_sequence salesloft.salesloft_create_sequence Write Create a new call sequence in Salesloft with steps, owner assignment, status, and targets.
integration__salesloft__salesloft_list_rules salesloft.salesloft_list_rules Read List automation rules from Salesloft. Returns rules with their IDs, names, conditions, and actions.
integration__salesloft__salesloft_get_rule salesloft.salesloft_get_rule Read Get detailed information about a specific automation rule in Salesloft by its ID.
integration__salesloft__salesloft_get_current_user salesloft.salesloft_get_current_user Read Get the profile of the currently authenticated Salesloft user. Useful for verifying credentials and identifying the connected account.

Related Salesloft Pages