The practicalAI GUIDE

Chapter 6 of 6 · Connect tools when you need to

Make AI connections safer

Permissions, prompt injection and human review for connected AI tools.

Connecting an assistant changes what it can see and do. Treat each connection as a software and access decision.

Keep the boundary outside the model

The server and underlying system must enforce user access and permitted actions. A prompt telling an assistant to be careful is not authorisation.

MCP security guidance covers issues such as scope minimisation, token handling and local server compromise. Tool annotations describe expected behaviour but are not a substitute for enforcement. S34 S35

Prompt injection

A document, email or web page can contain instructions that try to redirect an assistant. The NCSC warns that language models do not provide a dependable separation between data and instructions. S37

For a pilot, restrict sources and permissions, prevent unintended disclosure, and review proposed external actions. These measures reduce exposure; they do not justify a claim that prompt injection has been eliminated.

Before enabling a server

Confirm its publisher, endpoint, maintenance and update route. Understand what runs locally and what is hosted. Installing a local server can involve executing software with the user's privileges.

Use the narrowest account and scopes that meet the need. Keep credentials out of chat. Check authentication, token expiry/revocation and access when a person leaves.

Approve the actual action

For an action that sends information or changes records, the reviewer should see the destination, contents and effect. “Approve this connection forever” is not equivalent to reviewing a specific payment, message or publication.

Plan for failure

Use a test dataset, logs that avoid unnecessary sensitive content, a named owner and a simple way to disable the connection. Test revoked access, unavailable services, repeated calls and conflicting instructions.

Do not connect finance, personnel or resident casework merely because a connector exists.

Explore next

Sources for this page

Checked against the suppliers’ and publishers’ own pages. Links open the original source.

S34 · modelcontextprotocol.ioMCP security Checked 6 November 2026 · Back to the text
S35 · blog.modelcontextprotocol.ioMCP annotations Checked 6 November 2026 · Back to the text
S37 · www.ncsc.gov.ukNCSC prompt injection Checked 6 November 2026 · Back to the text
Start here For business Parish councils Tools Costs Risks & reality AI models AI apps on your computer MCP and automation Responsible use Glossary AI problems and human checks The future of AI Practical tasks Prompts and templates Pilot scorecard About Editorial policy Sources Common questions Where could AI help you? Search