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
Basic information
Model Context Protocol(MCP) 编程极速入门
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"MCP-Chinese-Getting-Started-Guide": {
"command": "uv",
"args": [
"init",
"mcp_getting_started"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
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.

Yuppsy MCP: build and publish real estate websites from your AI assistant. Yuppsy lets your AI assistant create live websites for real estate agents and individual property listings. You don't need a designer or any code
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
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
不止于 CSS
Painless E2E Automation for Mobile and Web
Comments