Control what AI assistants can do, and see what they did
Last updated
Once an AI assistant or API key is connected to MaintainHQ, you stay in control of it. For each connection you can choose which sites it may reach and which individual tools it may use, and you can see every request it has made.
This guide covers the Permissions page for a connection and the AI activity page. Setting up a connection in the first place is covered in connect an AI assistant.
Opening a connection’s permissions
- Open API & MCP under Settings in the left-hand menu.
- On the Keys tab, find the assistant under Connected assistants, or the key under Your keys.
- Press Permissions next to it.
The page is headed “Permissions for” followed by the connection’s name. It has three parts: Sites, Read tools and Write tools. The AI activity button at the top right shows the activity for this connection only.
Choosing which sites it can reach
- All sites, including ones added later: the connection can reach every site, including new ones.
- Only the sites I choose: tick the sites it may reach. Use Filter sites to find them quickly. The count shows how many you have chosen.
Calls about any other site are refused, and answers about your whole portfolio leave other sites out. You must choose at least one site, or allow all sites, before you can save.
Switching tools on and off
A tool is one thing the assistant can do, such as List sites or Ask Gus about a site. Each tool has a switch, its name and a short description.
- Read tools look at your portfolio without changing anything. They start switched on. They include List sites, Site health, Find sites, List available updates, List vulnerabilities, Uptime status, List incidents, List backups, Latest Gus findings, List fix plans, Get a fix plan, List reports, Get a report, the hosted site tools and Ask Gus about a site.
- Write tools start switched off. Draft a fix plan is one: it drafts a Gus fix plan from a stored diagnosis, for you to review.
If a tool needs a permission the connection was not given when it was approved, it is labelled “Needs the [scope] scope”. To add the scope, connect the assistant again and tick it on the approval page, or create a new API key with it.
Press Save permissions when you are done. Changes apply from the very next tool call.
The AI activity page
AI activity, under Settings in the left-hand menu, lists every tool call your assistants and API keys made through MCP. Each entry shows:
- The tool that was called, and a Write label for write tools.
- The result: Done, Refused (blocked by permissions), Failed, or Bad arguments (the assistant asked in a way MaintainHQ could not understand).
- Which connection made the call, and when.
- A message explaining a refusal or failure, where there is one.
- The details the assistant sent with the call. Secrets in them are hidden.
Filter by Connection, Tool, Result, or reads and writes (Reads only, Writes only). Calls are shown 50 at a time; use Newer and Older to page through them.
Reviewing activity well
- After connecting a new assistant, glance at AI activity for the first few days to see how it uses MaintainHQ.
- A lot of Refused results usually means the assistant is asking about sites or tools you have not allowed. Either widen its permissions or tell it which sites to use.
- Filter to Writes only now and then to check every write was something you expected.
- If anything looks wrong, disconnect the assistant or revoke the key on the API & MCP page. It loses access straight away.