mirror of https://github.com/aliasrobotics/cai.git
Replace entire working tree with contents of /Users/unai/cai-public-staging. This is a wholesale overwrite reflecting the current public staging state. Co-Authored-By: Claude (claude-opus-4-7) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| README.md | ||
| main.py | ||
| server.py | ||
README.md
MCP SSE Example
This example uses a local SSE server in server.py.
Run the example via:
uv run python examples/mcp/sse_example/main.py
Details
The example uses MCPServerSse from agents.mcp (see main.py; same MCP server types as in CAI’s cai.sdk.agents.mcp). The SSE URL must match your server (often http://localhost:8000/sse).