[MCP server issue] Cannot access MCP server with env #6037
Labels
awaiting-op-response
Issue or pr has been triaged or responded to and is now awaiting a reply from the original poster
needs-triage
What happened?
Describe the bug
I installed a Stdio MCP server following the configuration:
"github.com/mendableai/firecrawl-mcp-server": {
"command": "npx",
"args": ["-y", "firecrawl-mcp"],
"env": {
"FIRECRAWL_API_KEY": "fc-294547563d9344ef8409bbb8e80f5307"
},
"disabled": false,
"autoApprove": []
}
}
However, when I ran it in AutoGEN 0.4, it throws an unexpected error when registering MCP tools:
Printed on the console it shows the successful onboard of this tool but:
To Reproduce
Which packages was the bug in?
Python Extensions (autogen-ext)
AutoGen library version.
Python dev (main branch)
Other library version.
-mcp
Model used
No response
Model provider
None
Other model provider
No response
Python version
3.12
.NET version
None
Operating system
CentOS
The text was updated successfully, but these errors were encountered: