[Bug for MCP&API]: Windows MCP server JSON parsing error

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript

Research direction

Start by reproducing the Windows failure with uvx minimax-coding-plan-mcp and inspect the JSON parsing error reported at server.py:700. Trace how the MCP server handles the newline input and verify the server can start without an EOF validation error; no repository file or test is identified in the issue.

Written by the indexing model from the issue text.

Description

bug
Basic Information - Models Used

mcp foe openclaw

Basic Information - Scenario Description

PS C:\Users\Admin> uvx minimax-coding-plan-mcp Starting Minimax MCP server [02/09/26 18:55:00] ERROR Received exception from stream: 1 validation error for server.py:700 JSONRPCMessage Invalid JSON: EOF while parsing a value at line 2 column 0 [type=json_invalid, input_value='\n', input_type=str] For further information visit https://errors.pydantic.dev/2.12/v/json_invalid {"method":"notifications/message","params":{"level":"error","logger":"mcp.server.exception_handler","data":"Internal Server Error"},"jsonrpc":"2.0"}

Is this bug known and solvable?
Information about environment

PS C:\Users\Admin> uvx minimax-coding-plan-mcp
Starting Minimax MCP server

[02/09/26 18:55:00] ERROR Received exception from stream: 1 validation error for server.py:700
JSONRPCMessage
Invalid JSON: EOF while parsing a value at line 2
column 0 [type=json_invalid, input_value='\n',
input_type=str]
For further information visit
https://errors.pydantic.dev/2.12/v/json_invalid
{"method":"notifications/message","params":{"level":"error","logger":"mcp.server.exception_handler","data":"Internal Server Error"},"jsonrpc":"2.0"}

Trace-ID in the request head

PS C:\Users\Admin> uvx minimax-coding-plan-mcp Starting Minimax MCP server [02/09/26 18:55:00] ERROR Received exception from stream: 1 validation error for server.py:700 JSONRPCMessage Invalid JSON: EOF while parsing a value at line 2 column 0 [type=json_invalid, input_value='\n', input_type=str] For further information visit https://errors.pydantic.dev/2.12/v/json_invalid {"method":"notifications/message","params":{"level":"error","logger":"mcp.server.exception_handler","data":"Internal Server Error"},"jsonrpc":"2.0"}

Description
Steps to reproduce

This happens to Minimax_M1 and xxx.
The bug can be reproduced with the following steps:

  1. ...
  2. ...

The following example input & output can be used:

system: ...
user: ...
...
Expected results

The results are expected to be ...

Actual behaviours

The actual outputs are as follows: ...

Error logs

The error logs are as follows: ...

The screenshots are as belows:
Dominant language
TypeScript
Stars
132
Forks
45
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MiniMax-AI/MiniMax-MCP-JS

All issues in MiniMax-AI/MiniMax-MCP-JS

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.