Azure-Samples / Azure-Samples/ai-foundry-agents-samples

MCPServerStdio has no response

Open
#6 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
33
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Thanks, I found this repro pretty helpful to get started with MCP and anzure ai portal.

Currently I stuck in
async with MCPServerStdio(
name="Filesystem Server, via npx",
params={
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", samples_dir],
},
) as server:
print("MCPServerStdio 已启动")
await run(server)

There is not any input and nor do exception happened, it just no response.
Still trying to work it out, do anyone know why?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.