You play red. The computer plays yellow. Can you spot a winning move?
Compare the system that selected the move with the code that accepted it.
Reference: PydanticAI structured output and output modes.
Reference: PydanticAI structured output.
Sources: PPQ · Decisions; TypeSafe · Jev introduction.
Contract: PPQ API documentation. Choice requires at least two alternatives. This excerpt omits transport and error handling.
Sources: TypeSafe · Confidence; PPQ decision model catalog. Interface checked 7 October 2026.
Reference: Model Context Protocol introduction.
The host coordinates the experience. The client speaks MCP. The server provides capabilities.
Source: MCP architecture. Tour checked against protocol 2026-07-28 on 7 October 2026.
A community integration for a real 3D application. Generated Python runs inside Blender: review the code and inspect the resulting scene.
Example: MCP for Blender · ahujasid. Architecture checked 11 October 2026.
A browser experience created by William Droz with help from Blender MCP tools. What did the assistant do, and how was the result checked?
Live demonstration: Open Idiap Café · A little coffee break. Screenshot supplied by the instructor.
Typical control: tools by the model, resources by the application, prompts by the user. The host chooses the interface.
Source: MCP server concepts.
Discovery gives the assistant a menu. Calling a tool executes one operation from that menu.
Sources: Discovery; message format and metadata.
Source: MCP tools. Input schema excerpt from our bridge; descriptions and generated titles omitted.
Our game serves Streamable HTTP at http://127.0.0.1:8055/mcp/. Starting the game also starts its MCP endpoint.
http://127.0.0.1:8055/mcp/
Sources: stdio; Streamable HTTP.
Source: MCP resources. Illustrative additions; our bridge exposes two tools.
Sources: MCP prompts; argument completion. Illustrative addition.
Elicitation lets the server request missing input through the host, with the user choosing how to respond.
Sources: Elicitation; multi round-trip requests.
Sources: deprecation registry; sampling; roots; logging.
Sources: progress; cancellation; notification streams; pagination.
There are extensions for richer experiences, including skills discovery. Support depends on both the host and the server.
Sources: Tasks extension; MCP Apps; extensions catalog.
Remote access can use OAuth. Our game's local HTTP MCP endpoint needs no authentication or token.
Sources: MCP authorization; tool permissions and annotations.
Yellow plays → you play red → the updated board returns to the assistant.
References: MCP architecture; FastMCP mounting. Local server supplied with this lab.
Open the MCP and Connect Four flow video.
Open video separately · 1 min 42 s · silent · MCP architecture · Minimax and alpha-beta reference
Reference: UC Berkeley CS188 · Minimax and alpha-beta pruning.
Open the Connect Four search video.
Open video separately · 73 seconds · silent · UC Berkeley CS188: algorithm reference