quiet robotBook a call

Kip

Integrations

Connect Kip to a business's own software with a small MCP server. Every action still goes through Kip Check.

View as Markdown

An integration connects Kip to a business's own software: a CRM, a booking or dispatch system, accounting, a supplier portal. Each one is a small MCP server. Kip starts it (or connects to it over HTTP), lists its actions, and runs every call through Kip Check.

Write one

The kit in packages/integrations (@quietrobot/kip-integrations) makes this short:

TypeScript
import { z } from "zod";
import { action, defineIntegration } from "@quietrobot/kip-integrations";

await defineIntegration({
  name: "dispatch",
  actions: [
    action({
      name: "find_load",
      description: "Look up a load by its number.",
      readOnly: true,
      input: { load_number: z.string() },
      handler: async ({ load_number }) => api.get(`/loads/${load_number}`),
    }),
    action({
      name: "assign_driver",
      description: "Assign a driver to a load.",
      input: { load_number: z.string(), driver: z.string() },
      handler: async (a) => api.post(`/loads/${a.load_number}/driver`, a),
    }),
  ],
}).serveStdio();

Any MCP server works; the kit is a convenience. A working example is in packages/integrations/examples/crm.

Turn it on

Add it under integrations in kip.config.json:

JSON
{
  "integrations": [
    {
      "name": "dispatch",
      "command": "node",
      "args": ["--import", "tsx", "integrations/dispatch.ts"],
      "env": { "DISPATCH_API_KEY": "..." },
      "risk": { "find_load": "read", "assign_driver": "change" },
      "labels": { "assign_driver": "Assign {driver} to load {load_number}" }
    }
  ]
}
FieldNotes
nameShort name. Its actions appear as dispatch__find_load and so on.
command, args, envStart a local MCP server as a child process.
url, headersOr connect to an MCP server over HTTP.
riskA risk level per action. Actions not listed are outside.
labelsWhat the owner sees on the approval card, with {argument} placeholders. Write them in plain words.

Good habits

  • Give every action an honest risk level. Reads are read; anything that changes the business's records is change; anything that reaches a customer or a supplier is outside; anything that moves money or signs something is money.
  • Keep secrets in the integration's env, never in what an action returns. Anything an action returns goes back to the AI model.
  • Return short, plain results. Results are screened by the data rules before the model sees them.

Want us to build one for you? Custom integrations are part of our setup service.