Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix(CI): Pin @modelcontextprotocol/server-filesystem to version 2025.8.18 (#10561)

Xingyao Wang2a86e322634c
diff --git a/tests/runtime/test_mcp_action.py b/tests/runtime/test_mcp_action.py
index e3d29fa18a..0433424f9d 100644
--- a/tests/runtime/test_mcp_action.py
+++ b/tests/runtime/test_mcp_action.py
@@ -44,7 +44,7 @@ def sse_mcp_docker_server():
container_command_args = [
'--stdio',
- 'npx -y @modelcontextprotocol/server-filesystem /',
+ 'npx -y @modelcontextprotocol/[email protected] /',
'--port',
str(container_internal_port), # MCP server inside container listens on this
'--baseUrl',
@@ -292,7 +292,7 @@ async def test_microagent_and_one_stdio_mcp_in_config(
name='filesystem',
command='npx',
args=[
- '@modelcontextprotocol/server-filesystem',
+ '@modelcontextprotocol/[email protected]',
'/',
],
)