Skip to content

can not import MCPServer from agents.mcp #14

@safdar23

Description

@safdar23

python main_azure_ai_foundry.py
Traceback (most recent call last):
File "C:\ai-foundry-agents-samples\examples\mcp\test_mcp\main_azure_ai_foundry.py", line 6, in
from agents.mcp import MCPServer, MCPServerStdio
ImportError: cannot import name 'MCPServer' from 'agents.mcp' (C:\Users\safdarzaman\AppData\Roaming\Python\Python313\site-packages\agents\mcp_init_.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions