title: “Local Server Server” description: “Tool integration example.” ---~~~python """
fastmcp is required for this demo.
fastmcp run cookbook/90_tools/mcp/local_server/server.py
"""
from fastmcp import FastMCP
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
fastmcp is required for this demo.
uv pip install fastmcp
fastmcp run cookbook/90_tools/mcp/local_server/server.py
"""
from fastmcp import FastMCP
## Run the Example
```bash
# Clone and setup repo
git clone https://github.com/agno-agi/agno.git
cd agno/cookbook/91_tools/mcp/local_server
# Create and activate virtual environment
./scripts/demo_setup.sh
source .venvs/demo/bin/activate
python server.py
```
Was this page helpful?