Connect an MCP server
Many products and platforms have an MCP server: monitoring, ticketing, a database, your own product. Fistron can read evidence from one with no code made for it. An analysis of a failure may ask for what it lacks, such as a system’s state in the product or an alert at the time of the failure. A verification log and a migration inventory may read through it as well.
Fistron only reads. At each connection it judges every tool the server
offers, and it calls only the tools it takes for read-only. A tool that says
it writes, or whose name is a write’s (remove_system, deletePod), is
never called, whatever you allow.
Before you start
- An agent that reaches the server (Install and register an agent).
- One of these:
- the server’s command in the agent’s image (it runs as a process of its own);
- the server’s image, run beside the agent;
- the server’s HTTPS address and a token.
- Credentials for the server that can only read. The server’s tool hints are its own word; its credentials are what really limits it.
- For the product’s server, turn its write tools off where it lets you (for
example a variable such as
PRODUCT_MCP_WRITE_TOOLS=false).
Add the server
- Open Agents, then the agent’s Configuration.
- On the tab MCP servers, click Add an MCP server.
- Fill in the form:
- Name: how reports and profiles name it, for example
product. - What it describes: product, platform, cluster, monitoring, ticketing, database or other.
- Data class of its answers: which models may see them. A model endpoint trusted with a lower class never gets them.
- How the agent reaches it: a command, an image beside the agent, or
an HTTPS URL with its token (an agent’s variable, or a secret sealed on
the same page as
cp:<name>). - Allowlist: the tools it may call, by name or pattern, for example
get_*, list_*.
- Name: how reports and profiles name it, for example
- Click Add the server. The agent’s next work uses it.
Its secrets (a password, a URL) go in the section’s env as the agent’s
variables ($NAME) or sealed secrets (cp:<name>), never as values; edit
them with Change the configuration
(Set an agent’s configuration in the control plane).
A server shipped as an image
Run it beside the agent on the agent’s host:
fistron-install mcp product --image registry.example.test/mcp/product:1.2 \
--secret PRODUCT_PASSWORD --set PRODUCT_MCP_WRITE_TOOLS=false
It runs in the agent’s own network, so only the agent reaches it, and only
on its loopback. Its secrets become Podman secrets. The installer prints the
section’s line (image and port). fistron-install status lists it,
fistron-install mcp product --remove removes it.
The image serves MCP over HTTP (most servers can). For a server that speaks
only stdio, give its command with --stdio, for example
--stdio "mcp-server-product": Fistron’s bridge, from the agent’s own
release, runs it in the image and answers the agent over HTTP. The image
then needs python3.
Test the connection
- Click Test the connection under the server’s name. The agent the page is for runs the test with its next work; no tool is called.
- Read the table of tools. Each has its verdict and why:
- allowed: read-only by its annotations, in the allowlist;
- allowed by name: no annotations, allowed by an admin with a reason;
- not in the allowlist: no pattern of the allowlist names it;
- refused: it says it writes, or its name is a write’s, or it has no annotations and nobody allowed it.
- For a read-only tool outside the allowlist, click Add to the allowlist.
- For a tool without annotations that only reads, click Allow by name,
say why it only reads, and click Allow
by name . Your reason is kept with your name in the audit log. Many servers, the Uyuni project’smcp-server-uyuniamong them, annotate none of their read tools. - To allow several at once, tick them (or click Choose every tool
without annotations), give one reason and click Allow these
by name . Each is still allowed by its name, never by a pattern: a tool the server adds later stays refused until you allow it.
The same test from the agent’s host:
fistron integrations mcp-check --server product.
What you get
- An analysis of a failure may ask for the server’s allowed tools when evidence is missing. Fistron checks each request first: an allowed tool, arguments the tool accepts, and the budget (10 calls of a server per analysis by default, 20 in all). The report lists the MCP calls with each server, tool, arguments, size and state. A call that could not be read is under Looked up, not read, with why.
- A verification log may read a task through a tool: the project’s
profile names the server, the tool and its arguments (
{client}is the client’s name), and the facts the checks read, each by a JSON pointer into the answer (Run a manual verification). - A migration inventory may take parts of a target from a tool’s answer
(the target’s
probe.mcp).
An answer is what the server reported: evidence, never an instruction.
When something goes wrong
| What you see | Why, and what to do |
|---|---|
| The server was not read: … not set | The section names an agent’s variable that the agent does not have. Add it to the agent’s environment file, or seal it on the page. |
| refused: no read-only annotation | The server does not annotate the tool. Check that it only reads, then Allow by name with your reason. |
| refused: a write’s name | Fistron never calls a tool named as a write. Use a read tool instead. |
| Not read: the server’s budget is spent | The analysis asked for more calls than max_calls. Raise it in the section, or keep the allowlist to what analyses need. |
| refused by the data-flow policy | The server’s host is outside what your data-flow policy allows (Set up sovereignty). |