> For the complete documentation index, see [llms.txt](https://developer.kizen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.kizen.com/docs/developers/build-with-mcp.md). Agents can also search and read this documentation through its [MCP server](https://developer.kizen.com/~gitbook/mcp).

# Build with MCP

Learn how Kizen's MCP server lets external AI assistants like Claude securely read your Kizen knowledge and setup using the Model Context Protocol.

## Overview

The Model Context Protocol (MCP) is an open standard that lets AI assistants connect to external tools and data instead of relying only on what they were trained on. Assistants that support it include Claude, ChatGPT (via Codex), and Gemini (via Antigravity). <code class="expression">space.vars.Kizen\_company\_name</code> exposes an MCP server so a connected assistant can work directly with your <code class="expression">space.vars.Kizen\_company\_name</code> data.

<code class="expression">space.vars.Kizen\_company\_name</code> provides MCP tools for your Knowledge Catalogs, <code class="expression">space.vars.objects</code>, <code class="expression">space.vars.activity</code> types, forms, and surveys, plus a convenience tool that shows which user an assistant is acting as. The default MCP server offers all of these tools, and you can also create your own MCP servers with the tools you choose. Access always follows your existing <code class="expression">space.vars.Kizen\_company\_name</code> permissions, so a connected assistant sees only the content you’re allowed to view.&#x20;

Think of MCP as an AI-native way to reach <code class="expression">space.vars.Kizen\_company\_name</code>, alongside the REST API. Where the REST API is built for your code to call, the MCP server is built for an AI assistant to call on your behalf. Unlike REST, MCP doesn't guarantee backward compatibility, since the assistant is expected to discover available tools each time it connects.

## What You Can Do with <code class="expression">space.vars.Kizen\_company\_name</code>'s MCP Server

Once an assistant is connected, it can:

* List the Knowledge Catalogs you have access to.
* Run a semantic search across one or all of those catalogs.
* Retrieve the full text of a specific knowledge document.
* List the <code class="expression">space.vars.objects</code> in your business and look up an <code class="expression">space.vars.object</code>'s settings.
* List an <code class="expression">space.vars.object</code>'s fields and the options for fields with a set of choices.
* List the <code class="expression">space.vars.activity</code> types in your business and look up a type's settings, fields, and field options.
* List the forms or surveys in your business and look up their settings, fields, and field options.
* Check which user it's acting as and which business it's connected to.

The current tools are read-only, while tools that can create and edit data are coming soon. The assistant can read your knowledge and the configuration of your <code class="expression">space.vars.objects</code>, <code class="expression">space.vars.activity</code> types, forms, and surveys, but it can't create, edit, or delete anything in <code class="expression">space.vars.Kizen\_company\_name</code>. What the assistant can access depends on your permissions, as described in [Permissions and Data Scoping](#permissions-and-data-scoping).

## How the MCP Server Works

Each MCP server has its own endpoint. For the default read-only server, choose the host that corresponds to your <code class="expression">space.vars.Kizen\_company\_name</code> environment:&#x20;

* `POST https://app.go.kizen.com/api/mcp/readonly`&#x20;
* `POST https://app.fmo.kizen.com/api/mcp/readonly`&#x20;

If your business uses a custom domain, use that domain's API host instead of `app.go.kizen.com` or `app.fmo.kizen.com`. An MCP server you create uses its API name in place of `readonly`, for example `/api/mcp/staff/`. The Settings tab shows the endpoint URL.&#x20;

## Authentication

The MCP server supports OAuth 2.1 for connection to external AI clients such as Claude and ChatGPT. You connect once, sign in through the browser, choose a business, and approve, with no API key to manage. While you develop and test your solution, you can also connect with an API key, as described in [Connect an AI Assistant](https://developer.kizen.com/docs/developers/build-with-mcp/connect-an-ai-assistant.md).

For additional information, see the [Authentication](https://developer.kizen.com/docs/developers/authentication.md) page.

## Permissions and Data Scoping

A connected assistant acts as you. It can reach only what your <code class="expression">space.vars.Kizen\_company\_name</code> permissions let you see, such as the Knowledge Catalogs you have View permission on, and only within the business you connected to. Nothing is shared across businesses, and the assistant never gains access beyond your own.

## Available Tools

For each tool's inputs, outputs, and behavior, see the [MCP Tools](https://developer.kizen.com/docs/developers/build-with-mcp/mcp-tools.md) page.

***

## What's Next

Start by connecting a client in [Connect an AI Assistant](https://developer.kizen.com/docs/developers/build-with-mcp/connect-an-ai-assistant.md), then head to [MCP Tools](https://developer.kizen.com/docs/developers/build-with-mcp/mcp-tools.md) for the exact inputs and outputs of each tool.

<details>

<summary><strong>Related Topics</strong></summary>

* [MCP Tools](https://developer.kizen.com/docs/developers/build-with-mcp/mcp-tools.md)
* [Connect an AI Assistant](https://developer.kizen.com/docs/developers/build-with-mcp/connect-an-ai-assistant.md)
* [Authentication](https://developer.kizen.com/docs/developers/authentication.md)
* [Build with APIs](https://developer.kizen.com/docs/developers/building-with-apis.md)
* [Environments](https://developer.kizen.com/docs/developers/environments.md)

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.kizen.com/docs/developers/build-with-mcp.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
