AI websites, Skills and read-only MCP basics
Separate content, reusable instructions and tool protocols in a small local site, then verify minimal permissions using synthetic data.
Models generate and reason. Agents use tools to work on tasks. A harness manages an agent’s environment. MCP connects tools and data. Skills are reusable task guidance.
Research notes
Goal
Deliver a three-page production build, one statically inspectable Skill and one read-only synthetic-data MCP server. Retain tool listing, a successful call and at least four failure cases; no secrets or external writes, with client/SDK/protocol versions recorded.
Before you start
Prerequisites
Know basic HTML, files and terminals; prepare Git, local Node.js and an editor. Pin SDK/runtime versions from current Astro and MCP tutorials; any agent account/API must be legitimately provided but is not required for this exercise.
Estimated time
Plan 3–5 sessions of 30–60 minutes; downloads and rendering are additional, not measured.
Implementation steps
Build an independently working local static page
Stage practice: Follow Astro’s introduction to create three original pages: home, resources and about, using fictional data. Check navigation, mobile width and production build, ensuring browser assets contain no keys; do not deploy or connect accounts yet.
Sources for this stage: Astro official blog-building tutorialAgent Skills specificationMCP official server quickstartWrite the editorial process as a minimal Skill
Stage practice: Create a directory matching name and a SKILL.md with name, description and original acceptance steps. Define trigger, project-only file scope and failure handling; statically inspect then manually rehearse a synthetic case, without treating permission fields as a universally enforced sandbox.
Sources for this stage: Astro official blog-building tutorialAgent Skills specificationMCP official server quickstartAdd one offline read-only MCP tool
Stage practice: Use the official SDK to build a local STDIO server returning only three synthetic records; log to stderr. List/call tools with a test client and check unknown IDs, oversized input, path traversal and timeouts. Expose no shell, file writes, arbitrary URLs or credential tools.
Sources for this stage: Astro official blog-building tutorialAgent Skills specificationMCP official server quickstart
Common problems
Treating Skills as executable plugins or MCP as a model, stdout logging, dependency drift and browser-embedded keys; protocol connectivity does not validate agent features or security boundaries.
Cost
Not verified
Amounts unverified. Local software can use existing hardware; model licensing, VRAM, storage, electricity and labor are separate. Cloud, APIs or subscriptions may charge.
Alternatives and next steps
Next steps
Pass the route’s acceptance checks before adding one variable; retain failed samples, versions, costs and rights records.
Original sources
- Astro official blog-building tutorial ↗
docs.astro.build · · Official documentation
- Agent Skills specification ↗
agentskills.io · · Official documentation
- MCP official server quickstart ↗
modelcontextprotocol.io · · Official documentation