Free Beginner Course

MCP, AGENTS.md, and Context Engineering for Beginners

Learn how to make AI coding tools, agents, and assistants understand your project before they start changing things.

This course explains MCP for beginners, AGENTS.md, CLAUDE.md, and context engineering in plain English. You will learn how to write simple AI project instructions so tools like Codex, Claude Code, Cursor, and Replit make fewer mistakes.

Built for creators, founders, marketers, WordPress site owners, and non-technical builders.

Beginner No coding required Copy/paste friendly WordPress friendly AI agent ready
The Simple Version

AI tools do better work when you give them the right background first

MCP helps AI tools connect to other tools and context, like a universal adapter. AGENTS.md gives AI coding agents instructions for your project, like a project instruction manual. CLAUDE.md gives Claude-specific notes. Context engineering means preparing the right background, rules, examples, and limits before asking AI to do work.

The goal is simple: fewer mistakes, safer edits, and better outputs.

Who this course is for

This AGENTS.md guide is for people who use AI tools but do not want to become full-time developers just to get safer, clearer results.

WordPress site owners

Document what the AI can edit, what it must protect, and how to test a page before you paste or publish.

Creators

Turn your content process, style rules, and examples into instructions an assistant can follow.

Founders

Give AI coding agents for beginners a clear picture of your product, audience, and risk areas.

Marketers

Protect SEO-critical pages, analytics, tracking scripts, and brand voice while still moving faster.

Non-technical builders

Use plain language to explain your project before asking Codex, Claude Code, Cursor, or Replit to edit files.

AI tool users

Learn the difference between a one-off prompt and reusable AI project instructions.

What you will learn

By the end, you will understand context engineering for beginners and know how to create project instructions for AI tools.

  • Why AI tools forget context
  • Prompting vs context engineering
  • What MCP means in plain English
  • What AGENTS.md is
  • What CLAUDE.md is
  • What project instructions should include
  • How to document a WordPress project for AI tools
  • How to write testing instructions
  • How to prevent AI tools from making dangerous changes
  • How to use templates safely

MCP vs AGENTS.md vs CLAUDE.md

These terms overlap, but they are not the same thing.

MCP

What it isA standard way for AI tools to connect to outside tools, apps, files, data, APIs, databases, and workflows.

Beginner translationConnections and permissions.

Best useWhen an AI assistant needs approved access to useful context or external tools.

ExampleAn AI assistant safely accessing approved docs or files instead of asking you to paste everything manually.

AGENTS.md

What it isA project instruction file for AI coding agents.

Beginner translationRules and context for coding agents.

Best useWhen you want Codex or another coding agent to understand your project rules before editing.

ExampleA file that tells the AI what it can edit, what it must protect, and how to test.

CLAUDE.md

What it isA Claude Code memory/instruction file.

Beginner translationClaude’s project notes and rules.

Best useWhen you use Claude Code and want Claude-specific project guidance.

ExampleA Claude-specific file that can import AGENTS.md and add Claude-only instructions.

Context engineering

What it isDesigning the background, examples, rules, files, and workflow context an AI receives.

Beginner translationGiving the AI the right working environment, not just one prompt.

Best useWhen you want more reliable results from AI tools, agents, and coding assistants.

ExampleExplaining the project, audience, constraints, protected areas, and testing steps before asking for changes.

Project instructions

What it isReusable instructions for how an AI should work on a specific project.

Beginner translationThe brief you do not want to rewrite every time.

Best useWhen you repeatedly ask AI to work on the same website, app, content system, or workflow.

ExampleA plain-language file explaining goals, limits, protected areas, and review rules.

Course Lessons

10 short lessons for safer AI work

Open each lesson to see a plain-English explanation, why it matters, a beginner example, a copyable prompt, and a simple action step.

Plain-English explanation: AI tools usually know only what is in the current chat, file, or task. If you do not tell them your project rules, they may guess.

Why it matters

Missing context can lead to broken layouts, changed tracking code, removed SEO text, or edits that do not match your brand.

Beginner example

You ask an AI to improve a WordPress page. It changes the design but removes a copy button because it did not know that button was important.

Copy this prompt
Before editing anything, ask me what project context, protected areas, and testing steps you need to know.

Mini action step: Write down three things your AI tool should always know about your project.

Plain-English explanation: Prompting is the request you type now. Context engineering is the setup you give the AI before the request, including background, examples, rules, and limits.

Why it matters

A great prompt can still fail if the AI does not understand the project. Context makes your prompt safer and more specific.

Beginner example

Instead of only saying “improve this page,” you also say who the page is for, what sections to keep, and what the AI must test.

Copy this prompt
Use the project instructions before you make changes. If the instructions do not cover this task, ask me before guessing.

Mini action step: Pick one recurring AI task and list the background information it needs every time.

Plain-English explanation: MCP means Model Context Protocol. Think of it as a shared connector that can help AI tools access approved context from other tools.

Why it matters

As AI tools become more useful, they often need access to files, docs, tickets, or other systems. MCP is one way to make those connections more consistent.

Beginner example

Instead of copying every detail into a chat, an AI tool may connect to the right source of context when it is allowed to.

Concrete example

Imagine you ask an AI assistant to improve a landing page. Without connected context, you may need to paste the page copy, brand notes, SEO rules, analytics goals, and protected areas into the chat manually. With approved MCP-style connections, an AI tool may be able to access the right files, docs, or tools directly, but only when you have safely granted that access.

More access can mean more usefulness, but it also means permissions matter.

Copy this prompt
Explain which tools or files you can access for this task, and tell me what context you still need from me.

Mini action step: Write one sentence describing what outside context would help your AI assistant most.

Safety Checklist

Beginner MCP Safety Rules

MCP is powerful because it can help AI tools connect to outside tools, files, apps, APIs, databases, docs, and workflows. That is useful, but beginners should treat those connections like browser extensions, plugins, or app integrations, not like ordinary prompts.

  • Only use MCP servers from trusted sources.
  • Review what permissions a server asks for before connecting it.
  • Do not expose API keys, passwords, private files, payment data, customer data, analytics credentials, login credentials, or sensitive business information.
  • Use least-privilege access: only give the AI the minimum access it needs for the task.
  • Keep human review before anything that edits files, sends messages, changes a live website, touches money, accesses private data, changes tracking, changes SEO metadata, changes security settings, or uses external tools.
  • Remember that instruction files like AGENTS.md and CLAUDE.md guide AI behavior, but they are not perfect safety systems.

Plain-English explanation: AGENTS.md is a text file that tells AI coding agents how to work in your project. Codex reads AGENTS.md, and other coding agents may use it as a general project instruction file.

Why it matters

It turns repeated instructions into a reusable project manual, so you do not have to explain the same rules every time.

Beginner example

Your AGENTS.md can say: keep CSS scoped, do not edit payment code, test mobile layout, and ask before publishing.

Copy this prompt
Create a beginner-friendly AGENTS.md file for this project. Include project overview, allowed changes, protected areas, testing steps, and approval rules.

Mini action step: Create a rough list of what your AI tool can and cannot change.

Plain-English explanation: CLAUDE.md is the file Claude Code uses for persistent project instructions. Claude Code reads CLAUDE.md, not AGENTS.md directly, so CLAUDE.md is the best place for Claude-specific notes.

Why it matters

Different AI tools may look for different instruction files. Keeping general rules and tool-specific notes clear helps avoid confusion.

Beginner example

AGENTS.md can hold your general project rules. CLAUDE.md can import or reference those rules and add Claude-specific notes, such as when to ask before editing sensitive files.

Copy this prompt
Create a CLAUDE.md file that references my general AGENTS.md rules and adds Claude-specific notes, including when to ask before editing sensitive files.

Mini action step: If you use Claude Code, write one Claude-specific instruction you want it to remember.

Plain-English explanation: Good project instructions explain the project, audience, tools, important files, allowed changes, protected areas, testing steps, and approval rules.

Why it matters

The AI needs both permission and limits. Clear instructions reduce accidental changes and make review easier.

Beginner example

For a landing page, the AI can edit headline copy and CSS, but it cannot change analytics tags or legal disclaimers.

Copy this prompt
Turn my notes into clear AI project instructions with sections for overview, audience, allowed changes, protected areas, testing, and approvals.

Mini action step: Fill in the sentence: “The AI can change ___, but must not change ___.”

Plain-English explanation: Your first file does not need to be perfect. Start with a short, useful version and improve it as you learn what the AI gets wrong.

Why it matters

A simple instruction file is better than no instruction file. It gives the AI a starting point before it touches your work.

Beginner example

Create project-instructions.md with your website name, audience, goal, protected areas, and testing checklist.

Copy this prompt
Ask me simple questions, one at a time, then create my first project-instructions.md file from my answers.

Mini action step: Use the generator on this page to create your first draft.

Plain-English explanation: WordPress AI coding instructions should say where the code will be used, what theme or page is involved, and what must remain untouched.

Why it matters

WordPress pages often include theme styles, plugins, analytics, forms, and SEO elements. The AI needs to know what is safe.

Beginner example

If you paste HTML into a Custom HTML block, tell the AI to avoid global CSS like body, h1, or button unless scoped to your wrapper.

Copy this prompt
Create WordPress AI coding instructions for this page. Include the page URL, theme if known, Custom HTML block rules, SEO rules, protected areas, and testing checklist.

Mini action step: Write your website URL and the exact page or block the AI is allowed to edit.

Plain-English explanation: Testing instructions tell the AI what to check before it says the work is done. They should cover buttons, mobile layout, links, forms, and visual issues.

Why it matters

AI tools can create changes that look fine in code but fail in the browser. Testing instructions catch more of those problems.

Beginner example

After adding an accordion, the AI should click each item, test keyboard use, and check the mobile view.

Copy this prompt
Before you finish, test every button, link, form field, accordion, copy action, and mobile layout. Tell me what passed and what you could not test.

Mini action step: Add three testing steps to your instruction file.

Plain-English explanation: Dangerous changes are edits that could affect money, logins, customer data, legal pages, tracking, security, or live theme files.

Why it matters

AI can move quickly. Clear safety rules slow it down where a human review point is needed.

Beginner example

Your instruction file can say: do not edit checkout, login, database, analytics, or legal pages without permission.

Copy this prompt
Before making this change, identify whether it touches payment, login, database, customer data, legal, analytics, tracking, SEO-critical, or security areas. Ask before editing any risky area.

Mini action step: Add a “Protected Areas” section to your instruction file.

Beginner translation

Use these simple definitions when technical terms start to blur together.

MCP

A connector standard that helps AI tools reach approved tools and context.

AGENTS.md

A project instruction manual for AI coding agents.

CLAUDE.md

Claude-specific notes for Claude Code.

Context engineering

Giving the AI the right background before asking it to work.

Project instructions

Reusable rules that explain your project, goals, limits, and tests.

AI coding agent

An AI tool that can inspect or change project files when you allow it.

Human review point

A moment where the AI must stop and ask you before continuing.

Safe change

A low-risk edit, such as improving text or styling inside an approved section.

Dangerous change

A risky edit involving payments, logins, data, security, tracking, or legal content.

Source and Accuracy Note

MCP, AGENTS.md, Claude Code, Codex, and AI coding agents can change over time. This course teaches durable beginner concepts, not every advanced implementation detail, so check official documentation before using these tools in production, sensitive workflows, client work, or risky website changes.

Who should use which file?

You do not need every file on day one. Choose the simplest option that matches your tool.

Use AGENTS.md

When you use Codex or another AI coding agent and want general project instructions.

Use CLAUDE.md

When you use Claude Code and want persistent Claude-specific project notes. It can import or reference AGENTS.md when you already keep general rules there.

Use project-instructions.md

When you want a plain-language instruction file that works even if your tool does not look for a special filename.

Templates

Copyable AI project instructions

These templates are practical starting points. Replace bracketed placeholders like [PROJECT NAME] and [WEBSITE URL] with your own details.

Basic AGENTS.md Template

Use this for general AI coding agent instructions in any project.

Copy template
# AGENTS.md

## Project
- Name: [PROJECT NAME]
- Website or app: [WEBSITE URL]
- Audience: [TARGET AUDIENCE]
- Main goal: [PROJECT GOAL]

## How the AI should work
- Read these instructions before editing.
- Keep changes focused on the task.
- Explain risky changes before making them.
- Ask if instructions are unclear.

## Allowed changes
- [WHAT AI CAN CHANGE]

## Do not change without permission
- [DO NOT CHANGE]

## Testing steps
- [TESTING STEPS]

## Approval rules
- Show what changed.
- Mention anything that was not tested.
- Do not publish or deploy without human review.

WordPress Website AGENTS.md Template

Use this when Codex, Claude Code, Cursor, or another AI tool is helping with a WordPress-related page.

Copy template
# WordPress Website AGENTS.md

## Project
- Project name: [PROJECT NAME]
- Website URL: [WEBSITE URL]
- WordPress theme, if known: [THEME NAME]
- Page URL: [PAGE URL]
- Goal: [GOAL]
- Audience: [TARGET AUDIENCE]

## Files or page sections involved
- [FILES OR PAGE SECTIONS]

## Design rules
- Match the existing brand and page style.
- Keep layout mobile-friendly.
- Do not add external fonts, scripts, or libraries unless approved.

## SEO rules
- Preserve SEO-critical headings, links, titles, and important page copy.
- Do not make unsupported claims.
- Do not keyword stuff.

## AI can change
- [WHAT AI CAN CHANGE]

## AI must not change
- Payment systems
- Login systems
- Databases
- Customer data
- Tracking scripts
- Analytics tags
- Legal pages
- Live theme files
- [DO NOT CHANGE]

## Testing checklist
- Test links and buttons.
- Check desktop and mobile layout.
- Check forms, accordions, copy buttons, and interactive elements.
- Confirm no obvious visual overlap.
- [TESTING STEPS]

## Rollback instructions
- Tell me which file or block changed.
- Keep a copy of the previous version if possible.
- If something breaks, restore the last working version.

Custom HTML Block Template

Use this when building a single copy/paste HTML block inside WordPress.

Copy template
# Custom HTML Block Instructions

## Goal
Create or edit a single self-contained HTML block for [PROJECT NAME].

## Requirements
- Must be one copy/paste block for WordPress Custom HTML.
- Use vanilla HTML, CSS, and JavaScript only.
- Do not use React.
- Do not use external libraries.
- Do not use external fonts.
- Do not use external scripts.
- Do not require a build step.
- Scope all CSS under [WRAPPER CLASS].
- Do not use global CSS that affects body, html, headings, buttons, inputs, or tables outside the wrapper.
- Keep JavaScript scoped to this block.
- Build mobile-first.
- Use accessible buttons and form labels.
- Make text readable on mobile.

## AI can change
- [WHAT AI CAN CHANGE]

## AI must not change
- [DO NOT CHANGE]

## Testing steps
- Paste into a test WordPress Custom HTML block.
- Preview desktop and mobile.
- Test all buttons, links, copy actions, forms, and accordions.
- Confirm no console errors if testing tools are available.

AI Calculator/App Template

Use this for small tools like calculators, quizzes, checklists, or lead magnets.

Copy template
# AI Calculator or App Instructions

## Project
- Tool name: [PROJECT NAME]
- Tool type: [CALCULATOR / QUIZ / CHECKLIST / LEAD MAGNET]
- Audience: [TARGET AUDIENCE]
- User goal: [WHAT USER WANTS TO DO]

## Inputs
- [INPUT FIELD 1]
- [INPUT FIELD 2]
- [INPUT FIELD 3]

## Outputs
- [RESULT OR RECOMMENDATION]
- Include plain-English explanations.
- Do not make medical, legal, financial, or technical claims unless I provide approved wording.

## Design rules
- Keep the tool easy to use on mobile.
- Use clear labels and buttons.
- Show helpful error messages.

## Testing steps
- Test empty fields.
- Test normal examples.
- Test unusually long answers.
- Test mobile layout.
- Test reset or copy buttons if included.

Blog SEO Template

Use this for creating or improving SEO articles without hallucinating or making unsupported claims.

Copy template
# Blog SEO Instructions

## Article
- Topic: [TOPIC]
- Target reader: [TARGET AUDIENCE]
- Primary keyword: [PRIMARY KEYWORD]
- Related phrases: [RELATED PHRASES]
- Search intent: [WHAT THE READER WANTS]

## Writing rules
- Write for humans first.
- Use beginner-friendly language.
- Explain technical terms immediately.
- Do not keyword stuff.
- Do not invent facts, stats, quotes, or sources.
- Flag anything that needs verification.

## SEO rules
- Use clear H2 and H3 sections.
- Answer the main question early.
- Include examples and practical steps.
- Preserve important internal links.

## Do not change
- [DO NOT CHANGE]

## Review
- Check claims.
- Check headings.
- Check links.
- Check readability on mobile.

Testing Instructions Template

Use this to tell the AI how to test buttons, mobile layout, links, forms, accordions, copy buttons, and visual layout.

Copy template
# Testing Instructions

Before saying the work is done, test:

## Interaction
- Buttons
- Links
- Forms
- Accordions
- Copy buttons
- Navigation

## Layout
- Desktop view
- Tablet view if possible
- Mobile view
- Long text
- Narrow screens
- Tables and code boxes

## Accessibility
- Buttons are real buttons.
- Form fields have labels.
- Keyboard focus is visible.
- Text contrast is readable.

## Report back
- What passed: [TESTING STEPS]
- What failed:
- What could not be tested:
- Any risky areas that need human review:

Safety Rules Template

Use this when you want the AI to stop before making risky changes.

Copy template
# Safety Rules

The AI must ask before making risky changes.

## Do not edit without permission
- Payment systems
- Checkout flows
- Login systems
- User accounts
- Databases
- Customer data
- Tracking scripts
- Analytics tags
- Legal pages
- Privacy policy
- Terms pages
- Live WordPress theme files
- Security settings
- SEO-critical pages
- [DO NOT CHANGE]

## Publishing rule
- Do not publish without review.
- Do not deploy without approval.
- Do not remove analytics or tracking.
- Ask before making any change that could affect money, access, data, legal content, security, or search visibility.
Project Instructions Generator

Create a starter instruction file

Fill in the fields and generate a simple AGENTS.md or project-instructions.md draft. This tool runs in your browser. It does not send your answers anywhere.

Generated instructions
Danger Zone

Do not let AI change these without review

These areas can affect money, access, customer trust, legal risk, search visibility, or site security.

  • Payment systems and checkout flows
  • Login systems and user accounts
  • Databases and customer data
  • SEO-critical pages and metadata
  • Legal pages, privacy policy, and terms pages
  • Live WordPress theme files
  • Tracking scripts, analytics tags, and conversion pixels
  • Security settings, redirects, and access rules

Examples by use case

Here are simple ways to use AI project instructions in real work.

WordPress page

Tell the AI the page URL, Custom HTML block rules, protected plugins, SEO rules, and mobile testing steps.

AI calculator

Document inputs, outputs, assumptions, disclaimers, and edge cases before the AI builds the tool.

Blog article

Give audience, search intent, approved claims, internal links, and facts that need verification.

Landing page

Define the offer, CTA, audience, brand voice, conversion goal, and sections that must stay intact.

App prototype

Describe screens, user flow, allowed features, data rules, and testing steps.

YouTube workflow

List title rules, script style, thumbnail notes, publishing steps, and review points.

Final project

Create your first project instruction file for your website, app, or content workflow.

  • Describe the project
  • Describe the audience
  • List tools involved
  • List files or pages involved
  • Write what AI can change
  • Write what AI cannot change
  • Write testing steps
  • Write approval rules
  • Save the file as AGENTS.md or project-instructions.md

Related Kingy AI guides

Continue with beginner-friendly courses that build on project context, AI coding, agents, workflows, search, and video.

FAQ

Questions beginners ask about MCP, AGENTS.md, and context engineering

What is MCP in simple terms?

MCP is a standard way for AI tools to connect to approved tools and context. A simple analogy is a universal adapter.

Do I need to know code to understand MCP?

No. You only need the basic idea: MCP helps AI tools connect to useful context instead of relying only on what you type.

What is AGENTS.md?

AGENTS.md is a project instruction file for AI coding agents. It tells the AI how to work, what it can change, what it must protect, and how to test.

Is AGENTS.md only for developers?

No. Non-technical builders can use AGENTS.md to explain goals, rules, protected areas, and review steps in plain language.

Is AGENTS.md the same as a prompt?

No. A prompt is usually one request you type in the moment. AGENTS.md is reusable project context that an AI coding agent can read before working.

Where do I put an AGENTS.md file?

For coding projects, AGENTS.md usually belongs near the root of the project so the AI agent can find the general instructions. Non-technical users can keep the same information in project-instructions.md.

What is CLAUDE.md?

CLAUDE.md is a Claude-specific instruction file often used with Claude Code. It can hold notes that are meant for Claude in particular.

What is the difference between AGENTS.md and CLAUDE.md?

AGENTS.md is useful for general AI coding agent instructions. Claude Code reads CLAUDE.md for persistent project instructions and Claude-specific notes.

Should I use both AGENTS.md and CLAUDE.md?

Use AGENTS.md for general AI coding agent instructions. Use CLAUDE.md when you use Claude Code and want Claude-specific notes. Some projects use both.

What is context engineering?

Context engineering means giving AI the right background, rules, examples, and limits before asking it to do work.

Is MCP safe for beginners?

MCP can be useful, but beginners should be careful. Only connect trusted servers, review permissions, avoid sensitive data, and keep human approval for risky actions.

Can I use this with WordPress?

Yes. You can document WordPress pages, Custom HTML blocks, theme limits, SEO rules, and testing steps before asking AI to edit anything.

Can I use project instructions even if I do not code?

Yes. Project instructions can explain the goal, audience, protected areas, allowed changes, and review steps for WordPress pages, content workflows, calculators, and small website tools.

What should I put in an AGENTS.md file?

Include project overview, audience, allowed changes, protected areas, testing steps, style rules, and approval rules.

Does Claude Code read AGENTS.md?

Claude Code reads CLAUDE.md. If your project already uses AGENTS.md, you can create a CLAUDE.md file that imports or references AGENTS.md and then adds Claude-specific notes.

Can I use this with Codex?

Yes. Codex can use project instructions to understand what you want changed, what should stay protected, and how to verify the work.

Can I use this with Claude Code or Cursor?

Yes. The same ideas work across Claude Code, Cursor, Replit, and other AI coding tools, though each tool may handle instruction files differently.

Can AI tools break my website?

Yes, especially if they edit risky areas without review. That is why protected areas, testing steps, and approval rules matter.

What should I do before letting AI edit code?

Tell the AI the goal, allowed changes, protected areas, testing steps, and review rules. If possible, keep a backup or previous version.

For AI Companies

Need to explain an AI product before people understand why it matters?

Kingy AI can help turn complex AI products into clear YouTube demos, tutorials, and category education for a large AI-native audience.

For AI founders and marketers

Want your AI product explained to a large AI-native audience?

Kingy AI helps AI companies turn complex products into clear, useful YouTube videos that drive awareness, product understanding, demos, clicks, and search visibility.