Your First MCP Server
27%
Installing the Official MCP SDK
On your Ubuntu system, since we already installed Python 3.12 and uv, we can start by installing the official MCP SDK for Python after creating a project directory and a virtual environment:
# Create a project directory
mkdir -p $HOME/workspace/mcp-server
cd $HOME/workspace/mcp-server
# Initialize a new uv project
# with a specified Python version (3.12)
uv init --bare --python 3.12
# Add MCP and its cli as dependencies
uv add "mcp[cli]==1.26.0"
Practical MCP with FastMCP & LangChain
Engineering the Agentic ExperienceEnroll now to unlock current content and receive all future updates for free. Your purchase supports the author and fuels the creation of more exciting content. Act fast, as the price will rise as the course nears completion!
