Learn Everything

Module · Claude Engineer

MCP & Hooks

Connect Claude to your tools, and let a hook enforce the rules you keep repeating.

2 topics4 interactive tasks

TOPIC 01

MCP Servers

The servers Claude can call, and the scopes they live in.

What you'll practice

  • Add a Server to the Project — guided · beginner
  • Decide Which Scope a Server Lives In — practice · intermediate

A command you'll meet

cat .mcp.json

A server is a capability with a contract - and a place in your repository. Open the task below for the full walkthrough.

TOPIC 02

Hooks

The rules that run every time - and the ones that must never run silently.

What you'll practice

  • Hook the Tool Calls — practice · intermediate
  • Write the Safety Rules for Hooks — challenge · advanced

A command you'll meet

cat ~/claude/hooks.json

A hook is code that runs on every step - which makes it the most dangerous place to be sloppy. Open the task below for the full walkthrough.