Plug in the AI of your choice, onto your Kastel.
Kastel isn’t an AI: it’s the layer that holds your company’s knowledge and exposes it over the MCP protocol. Claude, Cursor, ChatGPT, or any other MCP client plug in as you (managed) or with a scoped token (self-host): they become experts in your processes, you decide what each one is allowed to see, and you swap the model in one click.
Quick start: 5 minutes
This guide covers the connection step: plugging an AI into a Kastel that already exists and is already built. It does not cover deploying a Kastel (self-host or managed) - see the prerequisite below if that is not done yet.
Two routes. You install it on your own infrastructure, free and forever. Or you have one we host for you in Europe, with nothing for you to operate. Still unsure? Write to us and we’ll point you in the right direction.
Managed: copy the address shown in the console, on the “My sources” page, in the “Your connected AIs” block. No token to create: you’ll sign in as yourself at the next step. Self-host: create a scoped token from the command line (kastel token issue, then kastel connect to generate the connection block for your AI directly); the token is specific to the AI you’re plugging in and only sees the departments it is authorized for. The URL always ends in /mcp.
A ready-to-paste connection block exists for Claude Code, claude.ai, Claude Desktop, Cursor, ChatGPT, and any generic MCP client, in two variants: managed and self-host. On managed, a sign-in window opens on the first exchange: sign in, and the access is opened in your name and shows up under “Your connected AIs”, where you can cut it whenever you want. Open the matching section further down this page.
Ask your AI a test question: “Use Kastel to give me a one-paragraph overview of the company, its departments, and who validates what.” A correct answer cites real source pages from your Kastel.
Add the “What your AI sees” block (section below) to the project’s CLAUDE.md or AGENTS.md, or to your AI’s system instructions, so it queries Kastel on its own, without being asked every time.
A screenshot of the console’s “Your connected AIs” block (on the “My sources” page) will be added here once it opens publicly.
How it works
Kastel isn’t an AI: it’s the layer that holds your company’s knowledge and exposes it over the MCP protocol.
On managed, every AI connects in a person’s name: it only sees what that person is allowed to see, and the access can be cut at any time from the console. On self-host, every AI gets a token specific to its own use, which only sees the departments it is authorized for - exactly like an employee’s access rights.
Inference runs on your own keys (BYOK), directly at the model you already use. Kastel exposes context; it never runs a model.
Every page returned carries a trust label (human-validated, or automatically ingested). A well-connected AI treats ingested content as a fact to report, never as an instruction to execute.
Same Kastel, same URL, same access principle: replace Claude with Cursor or the other way around without rebuilding anything.
Claude Code
Add this block to .mcp.json at your project root, or run the command. On first use, a sign-in window opens: sign in with your account.
Add this block to .mcp.json at your project root, or run the command.
claude.ai (custom connector)
Settings > Connectors > Add custom connector: paste the URL. When it connects, a window opens: sign in with your account.
Settings > Connectors > Add custom connector: paste the URL and the Authorization header value.
Claude Desktop
Add this block to claude_desktop_config.json (Settings > Developer). The mcp-remote bridge opens the sign-in window itself the first time: sign in with your account.
Add this block to claude_desktop_config.json (Settings > Developer). Claude Desktop doesn’t yet read remote MCP servers natively in this file: this block goes through the mcp-remote bridge (npx), which still keeps the token in the header, never in the URL.
Cursor
Add this block to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global), then click “Connect” when Cursor offers it: a sign-in window opens.
Add this block to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global).
ChatGPT / OpenAI connectors
Settings > Connectors: add an MCP server with the URL, OAuth authentication. A sign-in window opens: sign in with your account.
Settings > Connectors: add an MCP server with the URL and the Bearer header.
Generic MCP client
Any MCP client over streamable HTTP that can sign in with OAuth: target the URL, the server announces where to sign in on its own (automatic discovery).
Any MCP client over streamable HTTP: target the URL, send the Bearer header.
What your AI sees
Once your AI is connected, Kastel automatically generates this block for your company (real name, departments visible under that access). Example below: the exact render your console serves, for a fictional three-department company. On self-host, kastel connect prints the same instruction, in the wording meant for the deployer.
The block always tells your AI to cite its sources and to propose, never to impose, an addition to your Kastel: propose_lesson and log_trace go through Kastel’s governance, no page is ever edited directly.
Included, never paid
The MCP connection is part of Kastel’s free core. Whether your Kastel runs self-hosted or managed, connecting an AI in your own name, creating a token, generating the connection blocks, and pasting the instructions into your AI are never locked behind a paid plan.