---
type: email
from: tauzhang <notifications@github.com>
subject: Re: [openai/openai-agents-python] MCPServerSse not able to connect to

 mcp server running within docker container (Issue #946)
received: 2026-03-06 07:37:54
date_header: Thu, 18 Sep 2025 03:08:12 -0700
priority: normal
status: awaiting_approval
uid: 30753
---

## Email Content

**From:** tauzhang <notifications@github.com>
**Subject:** Re: [openai/openai-agents-python] MCPServerSse not able to connect to

 mcp server running within docker container (Issue #946)
**Date:** Thu, 18 Sep 2025 03:08:12 -0700

### Body (preview)

tauzhang-cn left a comment (openai/openai-agents-python#946)



> i also meet this problem, have you find out what causes this?



i fixed this problem,  if parse a  http_streamable_url but using MCPServerSse  like below  will raise Exception



mcp_server = MCPServerSse(

            name="SSE Python Server",

            params={

                "url": http_streamable_url,

            },

        )

        await mcp_server.connect()





need change it to MCPServerStreamableHttp





-- 

Reply to this email directly or view it on GitHub:

https://github.com/openai/openai-agents-python/issues/946#issuecomment-3306618201

You are receiving this because you are subscribed to this thread.



Message ID: <openai/openai-agents-python/issues/946/3306618201@github.com>

---

## Suggested Actions
- [ ] Reply
- [ ] Archive
- [ ] Escalate
