Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot convert argument to a ByteString because the character at index 31 has a value of 8776 which is greater than 255 #312

Open
niknas opened this issue Dec 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@niknas
Copy link

niknas commented Dec 11, 2024

Describe the bug
Using the Brave API search with latest Claude desktop app on MacOS give the error Error: Cannot convert argument to a ByteString because the character at index 31 has a value of 8776 which is greater than 255.

To Reproduce
Steps to reproduce the behavior:

  1. Setup Brave MCP as described in https://github.com/modelcontextprotocol/servers/tree/main/src/brave-search
  2. Restart Claude app
  3. Enter prompt "Show me the top headlines from cnn.com"
  4. Claude app tries to query but gets stuck as per screenshot

image

Expected behavior
A list of news articles from the Brave API search

Logs
If applicable, add logs to help explain your problem.
From the mcp.log file:
2024-12-11T14:53:58.158Z [info] Attempting to connect to MCP server brave-search... 2024-12-11T14:53:58.161Z [info] Attempting to connect to MCP server filesystem... 2024-12-11T14:53:58.169Z [info] Connected to MCP server brave-search! 2024-12-11T14:53:58.170Z [info] Connected to MCP server filesystem!
Additional context
Environment MacOS
System Version: macOS 15.2 (24C100)
Kernel Version: Darwin 24.2.0
Country Code: SE
Current Input Source: com.apple.keylayout.Swedish-Pro
Language Code: en
Locale: en_SE
Preferred Interface Languages: en-SE, sv-SE
Uses Metric System: Yes
Claude
Version 0.7.5 (0.7.5)
claude_desktop_config.json
{ "mcpServers": { "brave-search": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-brave-search" ], "env": { "BRAVE_API_KEY": "*HIDDEN*" } }, "filesystem": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/*HIDDEN*/"] } } }

@niknas niknas added the bug Something isn't working label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant