pip install ucp-clientfrom ucp_client import UCPAgentTools
# Initialize UCP tools with your server URL
tools = UCPAgentTools(server_url)Quickly spin up a local UCP-compliant mock server for development and testing:
# Install the UCP client with server extras
uv pip install "ucp-client[server]==0.0.11"
# Run the mockup server
uv run ucp mockup_serverThe mockup server provides a fully functional UCP endpoint at http://localhost:8182 with:
- Product catalog
- Checkout session management
- Mock payment processing
- Order tracking
Perfect for testing your AI agents and UCP integrations locally.