8000 Exception has occurred: MCPClientInitializationError · strands-agents sdk-python · Discussion #71 · GitHub
[go: up one dir, main page]

Skip to content

Exception has occurred: MCPClientInitializationError #71

Answered by DennisTraub
iincognitioo asked this question in Q&A
Discussion options

You must be logged in to vote

Solution: Windows Compatibility Issue with MCP Client

Root Cause

The issue you're experiencing is a cross-platform compatibility problem with how uvx handles package execution on different operating systems. The example in our documentation works on Linux/macOS but fails on Windows due to different command structure requirements.

Why This Happens

On Linux/macOS (works):

uvx awslabs.aws-documentation-mcp-server@latest

On Windows (fails):
The same command structure doesn't work because Windows requires:

  1. The --from flag to specify the package source
  2. Explicit .exe extension for the executable
  3. Different argument ordering
uvx --from awslabs.aws-documentation-mcp-server@latest awslabs.aws-docu…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zastrowm
Comment options 8000

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0