Free, independent guides since 2010

Build with AI

AI agents and MCP: letting AI work on your website

What AI agents are, how the Model Context Protocol (MCP) connects AI assistants to tools like your CMS, hosting and analytics, what agents can do for a website owner, and how to keep them safe.

<guide section="Build with AI" type="article" read="2 min"/>

The newest step in AI is the agent: an AI that does not just answer, but carries out tasks. It can open web pages, read and edit files, run commands, call other software and check its own results. For website owners this opens up a new kind of help – and new risks.

What agents can do for a website

  • Update content across many pages (“change our opening hours everywhere”).
  • Find and fix broken links, missing alt texts and outdated facts.
  • Produce weekly reports from analytics and Search Console.
  • Build, test and deploy a static site from your instructions.
  • Migrate content between systems, as we did in our redesign case study.

MCP: the plug socket for AI tools

The Model Context Protocol (MCP) is an open standard, introduced by Anthropic in late 2024 and since adopted widely, that lets AI assistants connect to external tools and data in a uniform way. An “MCP server” for your CMS, hosting provider or analytics tool lets your assistant read data and perform actions there. WordPress 7.0’s new abilities layer fits the same idea of letting AI tools work with a site in a standard way (see AI in WordPress).

Safety rules for agents

  1. Least privilege: give the agent its own account with only the rights it needs.
  2. Staging first: let agents work on a copy, not on the live site.
  3. Approval for irreversible actions: publishing, deleting, payments, emails to customers.
  4. Version control and backups: every change must be reversible.
  5. Trusted connectors only: install MCP servers and plugins from sources you trust.
  6. Watch for prompt injection: content an agent reads – a web page, an email, a comment – can contain hidden instructions. See AI website security.

Getting started

Start with low-risk, read-only tasks: let an agent check your site for broken links or summarise your Search Console data. Once you trust the setup, move to edits on a staging site with your approval. Many coding assistants already work as agents on a local copy of your website.

Frequently asked questions

Is it safe to give an AI agent access to my website?

It can be, with limits: use separate accounts with minimal rights, work on staging first, require your approval for publishing or deleting, and keep backups. Never give an agent your main admin password.

Do I need MCP as a small website owner?

Not necessarily. But if your CMS, hosting or analytics offers an MCP connection, it lets your AI assistant read and act on that data directly instead of you copying it back and forth.