Lab 03 · Ask this site a questionTime: 5 minutes

Ask this site a question.

The address

https://andrewyu.app/mcp

Objective

Connect a client to this site and ask it about my work. It answers from the pages here and gives you the link to each one.

You will need

Claude Code, or a Claude account on the web, desktop, or phone app. No sign-in to this site and no key.

Step 1 Connect

Claude Code

  1. In a terminal, run:
    claude mcp add --transport http andrewyu https://andrewyu.app/mcp
    Add --scope user before the address to have it in every project.
  2. Run claude mcp list. The andrewyu line should say Connected.
  3. Start claude and ask a question from Step 2.

Claude apps

  1. Open Customize, then Connectors.
  2. Click + Add, then Add custom connector.
  3. Name it Andrew Yu, paste the address, and click Continue.
  4. Review the settings Claude detected and click Continue.
  5. Under Authentication, choose No sign in, leave Request headers empty, and click Add.
  6. In a chat, open the + menu, then Connectors, and switch it on.

On a Team or Enterprise plan, an Owner or Primary Owner adds it first under Organization settings, then Connectors. After that, each person switches it on.

Step 2 Ask

  • What did Andrew’s docs eval find? Say which model each number belongs to.

    Expect it to call search_portfolioget_case_study

  • List Andrew’s case studies and tell me which ones are about teaching.

    Expect it to call list_work

  • How many people has Andrew taught to build with Claude Code? Give me the page that says so.

    Expect it to call search_portfolio

The model decides which tool to ask for and when. Claude Code then calls the server from your machine, and the Claude apps call it from Anthropic’s servers. You will see each call and its result in the conversation. Claude Code may first look up the server’s tools by name before it calls one.

Checkpoint

Ask the server, from this page, which tools it has.

This sends one request to /mcp and prints what comes back.

Waiting for the server.

Expected output. The server named three tools:

    Your client reads the same list when it connects.

    If it fails. The server did not answer. Check that you are online and try again. If a client fails the same way, the address is the first thing to check.

    The tools

    The server is read-only. Its tools can reach this site’s published pages and nothing else, and none of them can change anything.

    search_portfolio
    Search everything on Andrew Yu's portfolio (case studies, lessons, writing, and his career timeline) and return the most relevant passages with the page each came from. Use this first for any question about Andrew's experience, teaching, or projects. Returns up to 5 results, each with a title, a URL, and a short excerpt.
    get_case_study
    Return the full text of one case study, with its outcome, dates, role, and headline numbers. Use this after search_portfolio or list_work when a question needs more detail than an excerpt gives. Takes the slug of the case study, for example "claude-dojo".
    list_work
    List every case study on Andrew Yu's portfolio with its slug, title, where the work happened, and a one-sentence outcome. Use this for an overview of his work, or to find the slug to pass to get_case_study.

    What MCP is

    For anyone who has only heard the term.

    MCP, the Model Context Protocol, is a shared way for an AI app to use tools that live somewhere else. A server like this one publishes a list of tools, each with a name and a plain description of when to use it. When you connect, your app makes those tools available to the model. If the model decides a tool would help with your question, it asks for it. Your app then calls the server: Claude Code calls it from your machine, and the Claude apps call it from Anthropic’s servers. The answer comes back for the model to read before it replies. The model itself never runs anything.

    Try Lab 01: who runs the tool?