[BUG] MCP tool calls hang when arguments contain Japanese (Unicode) characters

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Feb 7, 2026 · closed Feb 7, 2026

Environment

  • Claude Desktop: 1.1.2156 (4e9bb2) 2026-02-05
  • OS: macOS
  • MCP Server: Custom stdio-based server calling external API

Description

MCP tool calls hang indefinitely when the tool arguments contain Japanese characters. The same call succeeds immediately when using English text only.

Steps to Reproduce

  1. Create an MCP server with a tool that accepts string parameters
  2. Call the tool with Japanese text in the arguments:

``json
{
"description": "センサーデータを記録するためのスキーマです。温度、湿度、気圧などの環境情報を保存します。",
"jsonSchema": {
"properties": {
"temperature": {
"type": "number",
"description": "温度(摂氏)"
},
"humidity": {
"type": "number",
"description": "相対湿度(%)"
}
}
}
}
``

  1. The call hangs with a spinning indicator

Expected Behavior

Tool call should complete successfully regardless of language.

Actual Behavior

  • Japanese text: Hangs indefinitely
  • English text: Completes successfully

Workaround

Use English for all MCP tool arguments, then edit Japanese text via Web UI.

Notes

The issue appears to be related to Unicode escape sequences (\uXXXX) during JSON serialization of tool arguments.

View original on GitHub ↗

4 Comments

github-actions[bot] · 8 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/23500
  2. https://github.com/anthropics/claude-code/issues/19143
  3. https://github.com/anthropics/claude-code/issues/16018

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

hayori · 8 months ago

This issue is distinct from the suggested duplicates:

  • #23500, #16018: Object arguments serialized as JSON strings (model-specific, affects all languages)
  • #19143: Streaming truncation causing invalid JSON

This issue is language-specific:

  • Japanese (Unicode) text in arguments → hangs indefinitely
  • English text with identical structure → works immediately

The problem appears to be in how Claude Desktop handles Unicode escape sequences (\uXXXX) during JSON serialization of MCP tool arguments, not in the object/string serialization itself.

Workaround: Use English for MCP tool arguments, then edit Japanese text via Web UI.

hayori · 8 months ago

Closing this issue as the root cause is unclear. The problem may not be specific to Japanese/Unicode characters. We'll investigate further on our side.

github-actions[bot] · 8 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.