Skip to content

ImportError: cannot import name 'MCPServerSse' from 'agents.mcp' #413

Closed
@oms0401

Description

@oms0401

Traceback (most recent call last):
File "C:\Users\Lenovo\Desktop\Strats AI\open ai sdk\main.py", line 4, in
from agents.mcp import MCPServerSse, MCPServerStdio
ImportError: cannot import name 'MCPServerSse' from 'agents.mcp' (C:\Users\Lenovo\Desktop\Strats AI\open ai sdk\venv\Lib\site-packages\agents\mcp_init_.py)

This is the error i am facing despite creating the venv and installing the latest version of the open ai sdk

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-more-infoWaiting for a reply/more info from the author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions