Back to Blog
Systems & AutomationAugust 27, 2026

Why I’m Building Websites with MCP at the Heart

I’m building websites with MCP at the heart—not to automate everything, but to create controlled systems with useful tools and granular permissions.

Why I’m Building Websites with MCP at the Heart

I have started building toward a simple mission: websites with MCP at the heart.

Not a chatbot pasted into the corner. Not an AI button that produces a paragraph and calls the job finished. I mean websites designed as controllable systems—systems that can safely expose useful actions, carry the right context, and let people or AI agents participate without giving either one unlimited access.

After more than 30 years building systems, I have learned that control is not the enemy of speed. Good boundaries are what make speed sustainable. The fastest systems are not the ones where anything can do anything. They are the ones where every useful action has a clear path and every dangerous action has a clear stop.

Why MCP changed the shape of the problem

Model Context Protocol gives AI applications a standard way to discover tools and context. In plain English, it lets a system say: these are the things I can do, this is the information each action needs, and this is the shape of the result.

That sounds technical because it is. But the practical effect is easy to understand. A website can expose a tool to read an approved article, another to validate it, another to upload media, another to publish, and another to verify what actually went live. The AI does not need a hidden superuser path. It operates through named, constrained capabilities.

The current MCP tools specification even allows the available tool list to change based on the authorization presented with the request. A person with review access can see review tools. A person with publishing access can see publishing tools. Someone without either does not need to be tempted by controls they cannot use.

That is the part that interests me most: ultimate versatility without abandoning granular control.

I do not want one giant “run the website” tool

A lot of early automation was built around broad credentials. Give the integration an API key, let it touch everything, and hope the workflow behaves. That is convenient until the day it is not.

I want the opposite architecture:

  • read tools separated from write tools;
  • drafting separated from approval;
  • approval separated from publication;
  • media access limited to the right brand or project;
  • staging separated from production;
  • deletion separated from ordinary editing; and
  • consequential actions visible to a human before they happen.

The MCP authorization specification emphasizes least privilege and incremental, step-up access. That fits the way I already think about systems. Do not ask for every permission on day one. Ask for the smallest scope that completes the current job. If the job changes, make that increase in authority explicit.

The good news: most websites already have the doorway

This is not as hard to add to an existing site as it may sound. It takes some clever building, but we are usually not starting from zero.

Most working websites already have publishing entry points. WordPress has APIs and hooks. Custom sites have functions, database services, queues, or admin actions. A newsletter platform already knows how to save a draft. A media site already knows how to attach an image. An ecommerce site already knows how to create a product record.

The MCP layer does not have to replace any of that. It can wrap the entry point that already works.

I think of it as an adapter with rules. The MCP tool receives a strict input. The adapter verifies the caller and the scope. The existing application logic does the work. The tool returns a structured result that can be checked instead of a vague “looks good” message.

That is a much smaller and safer project than rebuilding the entire application around AI.

What a controlled publishing flow looks like

Take website content. A useful flow might look like this:

  1. Read the destination rules. Required fields, categories, HTML limits, CTA rules, image requirements, and accepted media types come from the real site.
  2. Research with bounded sources. The agent can gather current facts, but it cannot publish.
  3. Create a review record. The article, source list, metadata, CTA, and image are visible together.
  4. Validate deterministically. The system checks slug uniqueness, required fields, allowed HTML, destination identity, and media readiness.
  5. Request approval for one action. This article, this site, this version, now.
  6. Publish through the existing endpoint. No backdoor and no direct table write.
  7. Verify the remote result. Save the returned URL or ID and confirm the destination accepted it.

OpenAI’s MCP documentation treats approval as a normal part of remote tool use. The protocol’s tools guidance also recommends keeping a human in the loop with the ability to deny an invocation. I do not see that as friction. I see it as a design feature.

Reliable automation is built below the prompt

I use AI aggressively, but I do not expect a prompt to carry the entire reliability burden. The model can research, reason, draft, compare, and choose a tool. The application still needs to enforce reality.

That means strict schemas. Sanitized HTML. Idempotency keys. Audit logs. Rate limits. Bounded retries. Remote verification. It also means checking the records after a timeout before retrying, because a destination may have completed the work even when the response got lost.

It means separating uncertainty from failure. If the system does not know whether a write succeeded, it should not create another copy just to feel productive.

It also means respecting the security risks. MCP is an interface protocol, not a magic shield. OpenAI’s guidance for custom MCP servers is direct about prompt injection, sensitive data, and the consequences of write actions. Trusting your own server is not enough if untrusted content can influence the agent using it.

So the design has to reduce the blast radius. Give each tool only the data it needs. Keep sensitive credentials out of tool descriptions and arguments. Require confirmation at the right moment. Log what happened. Make destructive actions rare and obvious.

My minimum viable MCP checklist

If I am adding MCP to an existing website, I want to answer these questions before I call it ready:

  • What useful goal does each tool complete?
  • Can read access be granted without write access?
  • Which scopes reveal which tools?
  • What input and output schema does the tool guarantee?
  • What action requires a human approval?
  • How does the system prevent duplicate writes?
  • What is recorded in the audit log?
  • How do we verify the remote result?
  • What happens when the result is uncertain?
  • Can we test the exact flow in staging before production?

OpenAI’s MCP server guidance says tools should be built around recognizable user goals and expose only the data and actions required for those goals. That is a good rule far beyond MCP. It is good systems design.

This is the mission

I am not trying to make websites more complicated. I am trying to make their existing capabilities easier to use, easier to automate, and harder to misuse.

MCP at the heart means the website is ready to participate. It can provide context without dumping the database. It can offer actions without handing over the keys. It can let the owner, the team, and carefully constrained agents work through the same dependable entry points.

That is the kind of automation I want to build: useful enough to matter, controlled enough to trust, and flexible enough to keep expanding as the business changes.

Stop dreaming. Start executing—but give execution an architecture.