12강 · MCP & HooksLesson 12 · MCP & Hooks
Rule No.12 — Claude의 팔다리를 만들어라Rule No.12 — Build Claude's limbs
강의 요약Summary
11강에서 우리는 내장 도구를 배웠습니다. Bash, Read, Edit 같은 도구로 Claude가 직접 내 컴퓨터를 만질 수 있었죠. 그런데 그 도구함은 딱 내 컴퓨터, 내 셸까지가 손이 닿는 끝입니다. ERP, 팀 채널, 사내 데이터베이스 같은 외부 시스템은 그 너머에 있습니다. 이 강은 그 너머에 닿는 두 가지 방법을 다룹니다 — MCP로 팔을 늘리고, Hooks로 반사신경을 심는 것입니다.In session 11 we learned the built-in tools — Bash, Read, Edit — and let Claude touch your machine directly. But that toolbox reaches only as far as your own computer and shell. ERP systems, team channels, internal databases sit beyond that. This session covers two ways to reach beyond: extending the arm with MCP, and wiring in reflexes with Hooks.
MCP(Model Context Protocol)는 외부 시스템을 연결하는 공개 표준입니다. USB처럼, 규격을 한 번 정해두면 GitHub, Slack, DB를 같은 방식으로 꽂을 수 있습니다. 예전에는 서비스마다 연결 방식이 제각각이었지만, MCP는 이를 하나의 규약으로 통일합니다. 연결된 도구는 내장 도구와 똑같이 호출됩니다 — Claude 입장에서는 그냥 '도구'입니다.MCP (Model Context Protocol) is an open standard for connecting outside systems. Like USB — one spec, and GitHub, Slack, and a database all plug in the same way. Connections used to differ by service; MCP unifies them into one protocol. A connected tool is called exactly like a built-in — to Claude it's just another tool.
Hooks는 '이때 이걸 해라'를 미리 박아두는 자동 트리거입니다. 두 대표 시점이 있습니다. PreToolUse — 도구를 쓰기 전에 끼어드는 가드로, 위험한 동작을 미리 차단합니다. PostToolUse — 도구를 쓴 후에 돌아 정리·후처리를 자동화합니다. MCP가 팔이라면 Hooks는 반사신경 — 둘은 경쟁 관계가 아니라 함께 씁니다.Hooks are automatic triggers that bake in "when this happens, do that" ahead of time. Two key moments: PreToolUse — a guard that steps in before a tool runs, blocking dangerous actions in advance. PostToolUse — runs after the tool, automating cleanup and follow-up. If MCP is the arm, Hooks are the reflexes — they're not rivals, you use them together.
단, 이 강은 의도적으로 '개념 인지(awareness) 강'입니다. MCP 연결과 Hooks 설정은 JSON 설정 파일과 터미널 작업이 수반되어 비개발자가 단독으로 수행하기 어렵습니다. 실제 설치와 설정은 IT 담당자와 함께 하거나 사내 도입 절차를 따르세요. 오늘의 목표는 '무엇을, 왜' — 어떤 시스템에 연결하면 좋을지 판단하고, IT 담당자에게 정확한 요청을 전달할 수 있게 되는 것입니다.This session is intentionally an "awareness" lesson. Connecting MCP servers and configuring Hooks involves JSON config files and terminal work — hard for non-developers to do alone. For actual installation and setup, work with your IT team or follow your organization's process. Today's goal is the "what and why" — learning to judge which systems to connect, and being able to make a precise request to IT.
핵심 개념 5가지5 Key Concepts
-
1
닿으려면 MCP — USB 규격처럼 꽂히는 표준 연결MCP to reach — a standard plug like USB
내장 도구는 내 컴퓨터의 파일·셸까지가 기본 사정거리입니다. 그 너머에 있는 ERP, Slack, 재고 DB 같은 외부 시스템에 닿으려면 MCP 서버를 연결해야 합니다. MCP는 각 서비스마다 달랐던 연결 방식을 하나의 공개 표준으로 통일한 것입니다 — 규격에 맞는 서버는 무엇이든 같은 방식으로 꽂힙니다. 연결된 도구는 Read나 Bash처럼 Claude가 능동적으로 호출합니다. 외부 시스템이 필요할 때는 "그 MCP 서버가 있나?"부터 찾아보세요.Built-in tools reach as far as your local files and shell. To reach beyond — ERP, Slack, an inventory DB — you connect an MCP server. MCP unifies the previously fragmented per-service connection methods into one open standard: any server that fits the spec plugs in the same way. A connected tool is called actively by Claude, just like Read or Bash. When you need an outside system, start by asking: "is there an MCP server for this?"
-
2
자동화하려면 Hook — 반복 동작을 심어두는 반사신경Hooks to automate — reflexes baked into repeated actions
매번 손으로 같은 점검이나 정리를 반복하고 있다면, Hook으로 자동화할 수 있습니다. Hook은 Claude Code 동작의 특정 시점에 미리 정의한 동작을 자동으로 실행하는 트리거입니다. MCP가 닿는 범위(새로운 도구)를 늘린다면, Hook은 자동 반응(사람이 시키지 않아도 돌아가는 동작)을 추가합니다. 무언가가 필요할 때 먼저 가르세요 — "이건 닿는 범위 문제인가, 자동화 문제인가?"If you're repeating the same checks or cleanups by hand every time, a Hook can automate it. A Hook is a trigger that automatically runs a predefined action at a specific moment during Claude Code's operation. Where MCP extends reach (new tools), a Hook adds automatic reaction (an action that runs without being asked). When you need something, split it first: "Is this a reach problem or an automation problem?"
-
3
PreToolUse(도구 쓰기 전 가드) · PostToolUse(쓴 후 마무리)PreToolUse (guard before) · PostToolUse (finish after)
Hooks에는 두 대표 시점이 있습니다. PreToolUse는 도구 실행 전에 끼어들어 실행 여부를 제어합니다 — 위험한 동작을 미리 차단하는 가드로 씁니다. PostToolUse는 실행이 끝난 뒤에 돌아 후속 정리를 자동화합니다. 결정적인 차이: PreToolUse는 막을 수 있지만, PostToolUse는 이미 벌어진 일을 되돌리지 못합니다. 11강에서 사람이 매번 하던 "하고 나서 확인"을 바로 이 Hook이 자동으로 합니다.Hooks have two key moments. PreToolUse steps in before execution and can control whether the tool runs — used as a guard to block dangerous actions in advance. PostToolUse runs after execution to automate follow-up cleanup. The decisive difference: PreToolUse can block, but PostToolUse cannot undo what already happened. The "do, then check" that a person did by hand in session 11 — this Hook does it automatically.
-
4
권한은 좁게 — 팔이 길어질수록 부술 곳도 넓어진다Keep permissions narrow — a longer arm can break more
MCP 서버는 읽기만 아니라 쓰기·삭제까지 권한을 가질 수 있습니다. Hooks는 사람 확인 없이 자동 실행됩니다. 출처를 모르는 서버는 그 자체로 위험입니다. 팔다리를 붙이기 전에 확인할 것 다섯 가지: ① 내장 도구로 안 되나? ② 서버 출처·권한은? ③ 위험 동작을 막았나? (PreToolUse) ④ 결과를 다시 읽었나? ⑤ 이름·옵션이 맞나? (버전 확인). 만드는 법이 절반, 길들이는 법이 절반입니다.An MCP server can hold permissions as far as write and delete, not just read. Hooks fire automatically with no human check. A server of unknown origin is a risk in itself. Five things to verify before attaching a limb: (1) can't a built-in do it? (2) server origin and permissions? (3) dangerous action blocked? (PreToolUse) (4) result read back? (5) names and options right? (check the docs). Half is building the limb; half is taming it.
-
5
결과는 항상 다시 읽는다 — MCP 도구도 그냥 '도구'Always read the result back — an MCP tool is still just a tool
MCP로 연결한 커스텀 도구는 Claude 입장에서 내장 도구와 완전히 같습니다 — 호출하고, 결과가 오면, 다시 읽고 판단합니다. 11강의 do–verify 루프가 외부 서버 결과에도 그대로 적용됩니다. 커스텀 도구 결과라고 그냥 믿지 마세요. 또한 서버·이벤트·필드 이름은 버전마다 바뀌므로, 이름은 외우지 말고 항상 공식 문서로 현행을 확인하세요.A custom tool connected via MCP is, from Claude's point of view, identical to a built-in: call it, the result comes back, read it and judge. The do–verify loop from session 11 applies to outside-server results too. Don't just trust a custom tool's result. Also, server, event, and field names change by version — don't memorize them; always check the official docs for what's current.
이해 점검 & 준비 체크리스트Understanding Check & Readiness Checklist
MCP와 Hooks 설치는 혼자 하지 않아도 됩니다 — IT 담당자에게 전달할 연결 검토 요청 메모 한 장이 오늘의 산출물입니다. 아래 세 단계를 순서대로 해 보세요.You don't need to install MCP or Hooks alone — one page of connection-review notes to hand your IT team is today's deliverable. Work through the three steps below in order.
- 내 업무에서 Claude가 '닿지 못하는' 시스템 3개 적기. 예: ERP(발주·재고 조회), 사내 메신저(팀 알림), 재고 관리 DB. 지금 당장 반복적으로 복붙하거나 손으로 옮기는 작업이 있는 시스템을 고릅니다.List 3 systems Claude can't reach in your work. Examples: ERP (order and stock lookup), internal messenger (team alerts), inventory DB. Pick systems where you currently copy-paste or transfer data by hand on a regular basis.
- 그중 하나를 골라 "연결되면 어떤 반복 업무가 사라지나" 1문장으로 씁니다. 예: "ERP MCP가 연결되면, 매일 아침 재고 현황을 수동으로 확인하고 팀 채널에 복붙하는 작업이 사라진다." 이 한 문장이 IT 담당자에게 우선순위를 설득하는 근거가 됩니다.Pick one and write 1 sentence: "What repeated task disappears if this is connected?" Example: "If the ERP MCP is connected, the daily manual stock check and copy-paste into the team channel disappears." This sentence becomes the argument for prioritization when talking to IT.
- IT 담당자에게 전달할 연결 검토 요청 메모 초안을 만듭니다. 아래 '복붙 프롬프트'를 Claude에 넣으면 초안이 나옵니다. 완성된 메모를 IT 담당자나 업무 자동화 담당자에게 전달하는 것이 오늘의 성공 기준입니다.Draft a connection-review request memo for your IT team. Paste the prompt below into Claude and a draft will come out. The success criterion for today is handing that memo to your IT or process-automation team.
설치는 혼자 하지 않아도 됩니다 — 이 메모가 오늘의 산출물입니다.You don't need to install anything alone — this memo is today's deliverable.
복붙 프롬프트Copy-paste Prompt
우리 팀이 쓰는 시스템 목록을 알려줄게. Claude Code의 MCP로 연결하면 자동화 효과가 클 순서로 정렬하고, IT 담당자에게 보낼 연결 검토 요청 메모를 초안으로 써줘: [시스템 목록]I'll give you a list of systems our team uses. Rank them by how much automation impact connecting each via Claude Code MCP would have, then draft a connection-review request memo I can send to our IT team: [system list]
메모에 포함할 것: ① 연결 대상 시스템 이름 ② 연결 시 자동화되는 반복 작업 설명 ③ 예상 효과(시간 절감·오류 감소 등) ④ IT 담당자에게 필요한 협조 사항(서버 접근 권한, MCP 서버 존재 여부 확인 등). 기술적 설정 방법은 적지 말고, "무엇을 왜 연결하면 좋은가"와 "IT 측에 무엇을 부탁하는가"에만 집중해서 써줘.Include in the memo: (1) name of the system to connect (2) description of the repeated task automated by connecting it (3) expected benefit (time saved, error reduction, etc.) (4) what IT needs to do (access permissions, confirming MCP server availability, etc.). Don't describe technical setup steps — focus only on "what to connect and why" and "what we're asking IT to do."