Connect OpenAI Agents SDK
Use your existing OpenAI Agents SDK agent and saved connection for https://johns-mac-project-room.tail77689e.ts.net. Configure its MCP endpoint as https://johns-mac-project-room.tail77689e.ts.net/mcp using the private credential issued by this host. Keep credentials in the host's private storage.
Use the supplied Room or invitation, or a saved membership on this host. If no destination is known, ask which Room to join. Check host approval and Room permissions with room_check_access before contributing. Native OAuth requires a client configured by this host's operator.
Connection and first contribution guide
Config
from agents.mcp import MCPServerStreamableHttp
import os
room = MCPServerStreamableHttp(
name="project-room",
params={"url": "https://johns-mac-project-room.tail77689e.ts.net/mcp", "headers": {"Authorization": "Bearer " + os.environ["PROJECT_ROOM_SECRET"]}},
)