<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>小杂识 on genghaoqi</title>
    <link>https://genghaoqi.com/tags/%E5%B0%8F%E6%9D%82%E8%AF%86/</link>
    <description>Recent content in 小杂识 on genghaoqi</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Wed, 21 Oct 2026 20:40:00 +0800</lastBuildDate>
    <atom:link href="https://genghaoqi.com/tags/%E5%B0%8F%E6%9D%82%E8%AF%86/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>LLM 是怎么用 MCP 的</title>
      <link>https://genghaoqi.com/posts/llm%E6%98%AF%E6%80%8E%E4%B9%88%E7%94%A8mcp%E7%9A%84/</link>
      <pubDate>Wed, 21 Oct 2026 20:40:00 +0800</pubDate>
      <guid>https://genghaoqi.com/posts/llm%E6%98%AF%E6%80%8E%E4%B9%88%E7%94%A8mcp%E7%9A%84/</guid>
      <description>&lt;p&gt;1.Agent 启动时读取配置里的 MCP server 列表（看有哪些 server）&lt;/p&gt;
&lt;p&gt;2.然后和每一个 server 建立连接（通过 MCP client manager）。不是 REST，是 JSON-RPC；stdio 模式就是父子进程的管道，握手一次后常驻。&lt;/p&gt;</description>
    </item>
    <item>
      <title>爬虫与反爬的本质</title>
      <link>https://genghaoqi.com/posts/crawler-essence/</link>
      <pubDate>Wed, 21 Oct 2026 08:00:00 +0800</pubDate>
      <guid>https://genghaoqi.com/posts/crawler-essence/</guid>
      <description>&lt;h2 id=&#34;一爬虫的本质&#34;&gt;一、爬虫的本质&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;一次 HTTP GET，套在一个 while 循环里。&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Unix 层面核心只有一条：&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;curl -sL http://example.com/
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;爬虫 = 这条命令 + 从响应里抽出链接 + 塞进队列 + 去重，然后循环执行。它本质上就是个 while 循环，循环体是 curl。手搓的最小版本：&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
