---
title: Integrations · Kip docs
description: Connect Kip to a business's own software with a small MCP server. Every action still goes through Kip Check.
url: https://www.quietrobot.ai/docs/kip/integrations
---

# Integrations

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

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](https://modelcontextprotocol.io) server. Kip starts it (or connects to it over HTTP), lists its actions, and runs every call through [Kip Check](https://www.quietrobot.ai/docs/kip/kip-check).

## Write one

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

```ts
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](https://github.com/Quiet-Robot/kip/tree/main/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}" }
    }
  ]
}
```

| Field | |
|---|---|
| `name` | Short name. Its actions appear as `dispatch__find_load` and so on. |
| `command`, `args`, `env` | Start a local MCP server as a child process. |
| `url`, `headers` | Or connect to an MCP server over HTTP. |
| `risk` | A [risk level](https://www.quietrobot.ai/docs/kip/kip-check#risk-levels) per action. Actions not listed are `outside`. |
| `labels` | What 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](https://www.quietrobot.ai/docs/kip/data-rules) before the model sees them.

Want us to build one for you? Custom integrations are part of our [setup service](https://www.quietrobot.ai/contact).
