mirror of
https://github.com/invariantlabs-ai/invariant-gateway.git
synced 2026-05-24 15:54:05 +02:00
SSE-based Server and Client for MCP
An example MCP Server and Client for SSE-based transport.
Install dependencies
pip install .
Run the MCP Server
python weather.py
This will start the server.
Run the MCP Client
python client.py
This will run the client, make a couple of tool calls and then exit. You can modify the tool calls to test different scenarios.