Andrii · AI at work

All lessons

02

MCP from Scratch: Connecting Claude to My Own Data in 20 Minutes

14:28 · 11 steps

1 Materials repository github.com
  1. 1 00:00 The same question, the same Claude: before and after

    1 What to do

    I ask Claude Code about my orders without a server: there's an answer, but it takes four commands, and the next question starts from scratch.

    2 Prompt

    EN · Prompt
    How many orders were canceled?
    EN · Prompt from the screen
    Сколько заказов отменено?

    Ask in Telegram

  2. 2 01:10 Why you need MCP at all: where the model ends
  3. 3 02:10 A ready-made server from the docs: connecting and the first call
  4. 4 04:21 Data: a generator and two hundred fictional orders
  5. 5 05:25 Your own server: the task in words, not in syntax
  6. 6 07:35 Registering in .mcp.json, restart, three levels
  7. 7 08:55 What you see when the model calls a tool
  8. 8 09:43 The run: five questions, the fifth one about volume
  9. 9 11:14 Where it breaks: secrets, limits, when a script is simpler
  10. 10 13:36 Homework
  11. 11 14:14 What's next