AI Assistants (MCP)
You can manage your topics, GraphRAG topics, agents and pipelines by talking to an AI assistant, instead of clicking through the web UI. You can also let it test how well a topic answers. This works with Claude, VS Code with GitHub Copilot, Cursor and other assistants that support MCP (Model Context Protocol). The connection is a small program, the AI Knowledge Fabric MCP server. You install it once on your computer.
For example, you write "Create a GraphRAG topic for our product manuals". The assistant looks up the AI servers, models and databases your platform offers. It asks you what it needs to know. Then it lists every setting it will use, marks the ones it chose itself, and waits for your yes before it creates anything.
|
Not the same as a topic’s MCP Interfaces. On a topic, the MCP Interfaces tab lets topics, agents and external clients use a topic as a tool to answer questions. This page is about managing the platform from an assistant. |
1 · What the assistant can do
| Area | What you can ask for |
|---|---|
Topics, GraphRAG topics, agents |
List and show them, create, change, start, stop and delete. This includes a topic’s guardrails (content rules), for example blocking questions about competitors |
Pipelines |
List and show them, build new ones, change them module by module, delete them, and assign them to an agent or remove them from it. A pipeline built this way opens in the Pipeline Designer like any other |
Evaluation |
Create test sets and their questions, run a set against a topic, read the results, explain a weak answer, compare two runs, and let a model analyse a run and suggest changes. See Evaluation |
Kubernetes (on Kubernetes, with Manage Kubernetes Settings) |
Show and change how a topic runs in the cluster (servers, CPU and memory), list and manage Kubernetes profiles, and load a profile into a topic. See the Kubernetes tab |
Building blocks |
Look up the AI servers and their models, Docling servers, vector and graph databases, and prompt templates |
Servers and databases (administrators) |
Register, change, check and remove AI servers, Docling servers, vector and graph databases, and start or stop the servers the platform runs itself |
Overview |
A summary at the start of a conversation: what you have, what needs attention (for example a topic in status ERROR or an agent without pipelines), and suggested next steps |
Setup help |
For administrators: which servers and databases to register first, step by step |
What it cannot do — use the web UI for these:
-
Upload documents. After the assistant has created and started a topic, upload files on the topic’s Data Upload tab.
-
Chat with a topic or an agent. Use the chat window of the topic or agent. (An evaluation run does ask a topic questions, but only the questions of a test set.)
-
Manage users and roles. These stay with administrators, under Admin.
-
Enter passwords and API keys. The assistant never asks for them in the chat. See section 5.
2 · How it works
The MCP server runs on your computer. Your assistant starts it. It calls the platform’s Management REST API with your personal access token.
-
It acts as you. It has exactly your permissions, and it sees only the topics, agents, pipelines and test sets that are granted to one of your roles — the same as in the web UI. If an administrator removes a role from you, the assistant loses that right at once.
-
It reaches the platform wherever your browser does, for example over VPN or in your intranet. The platform does not need to be reachable from the internet, and nothing is installed on the platform’s side.
-
It asks before every change. Before it creates, changes, starts, stops or deletes anything, changes a pipeline, registers a server, or starts an evaluation run or analysis, it lists every value it will send. Values you did not name yourself, for example a model or a port it picked, are marked. It goes ahead only after your yes to that list. If you change a value, it shows the new list and asks again. Reading and comparing never ask.
-
What the assistant reads goes to its AI provider. Names, descriptions, settings and prompts of your topics, agents and pipelines become part of the conversation, like anything you type yourself. So do evaluation results: the test questions, the topic’s answers, the names of the cited files and, when you ask what happened for one question, the text passages the topic found. Follow your company’s rules about which assistant may see this information. Your uploaded documents themselves are not read.
3 · Before you start
-
Your account needs the
API_ACCESSpermission, plus the usual permissions for what you want to do — for exampleTOPIC_CREATEto create topics. The defaultUSERrole does not includeAPI_ACCESS. Ask an administrator to grant it. Two areas need permissions of their own:-
Evaluation:
EVALUATION_VIEWto see test sets and runs,EVALUATION_RUNto change them, andDEV_REPORTINGto start runs and analyses and to see what happened for one question. Starting a run also needs the chat permission of the topic (TOPIC_CHATorGRAPHRAG_CHAT). -
Registering servers and databases:
SERVER_MANAGE, the permission of the admin pages.The full list is in Management REST API → Permissions.
-
-
Create a personal access token: click your avatar at the top right, choose Profile, then API Tokens → Create Token. Give it a name, for example Claude on my laptop, and pick an expiry. The token starts with
kfp_and is shown only once. Keep it at hand for the next step. See Profile → API Tokens.
Never paste the token into the chat. The connect page in the next section asks for it.
4 · Install and connect
Installation is described for each assistant in the MCP server’s user guide: github.com/cyrock-ai/ai-knowledge-fabric-mcp-releases. It offers:
-
an extension for Claude Desktop (Chat tab),
-
a plugin for Claude Code (Claude Desktop’s Code tab, the terminal and IDEs),
-
a program for VS Code, Cursor and other MCP clients,
for Windows and Linux. macOS follows in a later release.
Then ask your assistant: "Connect to AI Knowledge Fabric." A page opens in your browser. Enter the platform’s address, exactly as you open it in your browser, and paste your token. The page checks the connection and shows what your account may see.
The connection is saved on your computer and used by every assistant on it. On Windows the token is encrypted for your user account. On macOS and Linux it is kept in a file only you can read. To switch to another platform, or after your token has expired, ask to connect again.
Versions: the MCP server follows the platform’s major version. Release 1.x works with
AI Knowledge Fabric 1.x. Pipeline building, guardrails, evaluation and registering servers and
databases need AI Knowledge Fabric 1.2 or newer. On an older platform the assistant says that the tool
needs a newer version; everything else keeps working.
5 · Using it
Talk to the assistant in your own words. Some examples:
| You ask | What happens |
|---|---|
"What do I have in AI Knowledge Fabric?" |
A summary of your topics, GraphRAG topics, agents and pipelines, with anything that needs attention, and suggestions for next steps |
"I want to use AI with our HR policies." |
The assistant asks one or two questions, for example who will ask the questions. Then it suggests a plan: which kind of topic, which models, and the steps that follow |
"Create a RAG topic called HR_Policies." |
It looks up the available models and the vector database, asks only for what is required, lists the planned settings and creates the topic after your yes. All other settings get the same defaults as in the wizard |
"Raise the minimum score of HR_Policies to 0.6." |
It changes only this setting. If the topic is running and must be restarted for the change, it tells you and restarts it only if you agree |
"Block questions about competitors in the Sales topic." |
It sets up the topic’s guardrails (content rules). You can check them on the topic’s Guardrails tab |
"The Sales topic must keep answering during restarts." (on Kubernetes) |
It suggests more servers, or a profile that has them, and changes the topic’s Kubernetes settings after your yes. The change needs a restart; it asks before restarting |
"Build an agent that answers support questions from our Manuals topic." |
It builds a pipeline with the topic as an AI Topic module, creates the agent and assigns the pipeline — each step after your yes |
"Start the agent Support_Bot." |
It starts the agent after your yes. A start takes a while; ask again later for the status |
"Make a test set from these ten questions and run it against the Manuals topic." |
It creates the test set, then asks which model should rate the answers before it starts the run. A run takes minutes; ask for the result later |
"Why are the answers weak?" · "Did raising the minimum score help?" |
It reads the run’s findings, explains a weak answer, or compares two runs of the same test set. It only suggests changes to the topic; it makes one only after you agree |
"Register our Qdrant server at qdrant.internal." (administrators) |
It asks for the settings, registers the database and checks that it answers |
"Check the connection to AI Knowledge Fabric." |
It shows the platform address, the version of the MCP server and what your account may see |
Passwords and API keys. The assistant never asks for a credential in the chat. When something it
registers needs one, it settles every other setting with you first. Then it tells you exactly where to
enter the key in the web UI: the page, each field and its value, and the button to click. Once you say
you are done, it checks the result. For an AI server you can also enter a reference such as
${OPENAI_API_KEY}, which the containers fill in from their environment.
Tips
-
An agent uses a topic only through a pipeline: the pipeline contains the topic as an AI Topic module, and the pipeline is assigned to the agent. If you want an agent that knows your documents, you need all three. The assistant can now build all three for you.
-
Pipelines the assistant builds are normal pipelines. Open them in the Pipeline Designer to look at them or to change details by hand.
-
Guardrails and evaluation results are best checked on their own pages in the web UI: the topic’s Guardrails tab, and the Evaluation pages. The assistant changes the same settings you see there.
-
An evaluation run asks a running topic real questions, and a model rates every answer. Both use your AI servers, so a large test set takes time and may cost money with a paid provider. Start small. See Limits and good practice.
-
The assistant uses only servers, models and databases that exist on your platform. If something is missing, someone with
SERVER_MANAGEregisters it, through the assistant or under Admin. -
To start carefully, use an account whose roles have only the
*_VIEWpermissions plusAPI_ACCESS. The assistant can then look at everything you may see, but change nothing.
6 · For administrators
-
Granting access. Add
API_ACCESSto the roles of users who should use an assistant, or create a separate role for it. The assistant can never do more than the user can do in the web UI. See Roles & permissions. -
Registering infrastructure. With
SERVER_MANAGEyou can register servers and databases by asking the assistant, or let it walk you through the admin pages one step at a time. The same rules apply as on the admin pages: removing a server or database that a topic still uses is refused, and removing a managed AI server deletes the models it downloaded. -
Seeing and revoking tokens. Each user’s tokens are listed under Admin → Users → Edit (with
USER_MANAGE). Revoking a token disconnects the assistant at once. A password reset through Forgot password revokes all of the user’s tokens. -
Single sign-on. Tokens work the same for local and SSO users. An SSO user creates the token on the Profile page like everybody else.
-
Company certificates. If your platform uses a certificate from your own certificate authority, users can name its file on the connect page (Company certificate).
-
Rolling it out. The Claude Code plugin can be made available to, or installed for, everyone in your organisation. The user guide linked in section 4 explains the installation.
7 · Troubleshooting
| What happens | What to do |
|---|---|
"The bearer token is unknown, revoked or expired" |
Create a new token on your Profile page and ask the assistant to connect again |
"…does not have the API_ACCESS permission" |
Ask an administrator to grant |
The assistant does not find a topic, agent or test set that a colleague created |
It is not granted to any of your roles. The owner or an administrator can grant it under Resource Access. An evaluation run is visible only when both its test set and its topic are granted to you |
The assistant says it may not do something |
Your roles lack the permission for it, for example |
The assistant says a tool needs a newer version |
Your platform is older than 1.2. Pipeline building, guardrails, evaluation and registering servers and databases come with AI Knowledge Fabric 1.2 |
An evaluation run is refused |
The topic must be running, and only one run per topic at a time is allowed. The model that rates the answers must be reachable. The assistant names what to fix |
A new topic stays empty |
Documents are uploaded in the web UI, on the topic’s Data Upload tab |
The assistant has no AI Knowledge Fabric tools, or fewer than described here, the connect page does not open, a certificate error |
See Troubleshooting in the user guide |
Related
-
Management REST API — the API the MCP server uses, for your own scripts
-
Evaluation — test sets, runs and results in the web UI
-
Profile & password reset — creating and revoking tokens
-
Roles & permissions —
API_ACCESSand the other permissions