What dependencies are required to run the examples?
Python 3.11, `uv`, the Python packages `mcp[cli]`, `httpx`, `openai`, and `python-dotenv`. Node.js is also required for the MCP Inspector.
@liaokongVFX
基本情報
Model Context Protocol(MCP) 编程极速入门
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"MCP-Chinese-Getting-Started-Guide": {
"command": "uv",
"args": [
"init",
"mcp_getting_started"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
This is a step‑by‑step tutorial that teaches how to build a Model Context Protocol (MCP) server and client from scratch using Python 3.11 and the uv package manager. It focuses on implementing a web‑search tool via the ZhiPu API and integrating it with a large language model like DeepSeek. The guide is designed for developers who want to learn how to connect LLMs to external data sources and tools through MCP.
Follow the tutorial in order: initialize a uv project, install dependencies (mcp[cli], httpx, openai), write an MCP server using FastMCP, run it via uv run web_search.py, debug with the MCP Inspector (npx -y @modelcontextprotocol/inspector or mcp dev), and finally build a client that uses the OpenAI‑compatible API and the MCP SDK to call tools.
FastMCP abstraction.stdio transport to communicate between server and client.ClientSession.Sampling feature for human‑in‑the‑loop approval.Python 3.11, `uv`, the Python packages `mcp[cli]`, `httpx`, `openai`, and `python-dotenv`. Node.js is also required for the MCP Inspector.
Yes, you need a ZhiPu API key for the web‑search tool (obtainable at `bigmodel.cn`) and an API key/compatible endpoint for the LLM (e.g., DeepSeek via `OPENAI_BASE_URL`).
The examples do not persist any data to disk. All state exists only in memory during a single run. No databases or file storage are used.
The examples use `stdio` (standard input/output). The README mentions SSE as an alternative but focuses on `stdio`.
Yes, the client code uses the OpenAI‑compatible API, so any LLM that supports the same interface (e.g., OpenAI, DeepSeek) can be used by changing the `base_url` and model name.
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
コメント