<?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>MCP on 全栈开发刚哥</title>
    <link>https://dongfanger.github.io/tags/mcp/</link>
    <description>Recent content in MCP on 全栈开发刚哥</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Thu, 01 Jan 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://dongfanger.github.io/tags/mcp/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>AI 测试工具开发新姿势 MCP Python SDK</title>
      <link>https://dongfanger.github.io/posts/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/ai%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7%E5%BC%80%E5%8F%91%E6%96%B0%E5%A7%BF%E5%8A%BFmcp-python-sdk/</link>
      <pubDate>Thu, 01 Jan 2026 00:00:00 +0000</pubDate>
      <guid>https://dongfanger.github.io/posts/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/ai%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7%E5%BC%80%E5%8F%91%E6%96%B0%E5%A7%BF%E5%8A%BFmcp-python-sdk/</guid>
      <description>&lt;h1 id=&#34;简介&#34;&gt;简介&lt;/h1&gt;
&lt;p&gt;MCP 是什么？通俗易懂地讲，在互联网时代，应用程序是通过 HTTP 来交互的，而来到 AI 时代，大模型可以通过 MCP 来进行交互。MCP 是 Model Context Protocol 缩写，专为大模型（LLM，Large Language Model）设计的大模型上下文协议。&lt;/p&gt;
&lt;p&gt;MCP Server 是什么？MCP Server 就像网关之于应用程序，数据库连接池之于数据库，位于中间位置，接收请求，调用大模型。可以调用 Server 进行业务开发，也可以自建 Server 实现特定功能。&lt;/p&gt;
&lt;p&gt;MCP Python SDK 是什么？MCP 的 Python 实现，它包含以下功能（官方原文）：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Build MCP clients that can connect to any MCP server&lt;/li&gt;
&lt;li&gt;Create MCP servers that expose resources, prompts and tools&lt;/li&gt;
&lt;li&gt;Use standard transports like stdio, SSE, and Streamable HTTP&lt;/li&gt;
&lt;li&gt;Handle all MCP protocol messages and lifecycle events&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&#34;安装&#34;&gt;安装&lt;/h1&gt;
&lt;p&gt;推荐使用 uv 工具来管理 Python 项目。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
