Skip to content

Update 17_186_mcp_cli_testing.html#77

Open
b4rdos wants to merge 2 commits intohyperskill:mainfrom
b4rdos:patch-1
Open

Update 17_186_mcp_cli_testing.html#77
b4rdos wants to merge 2 commits intohyperskill:mainfrom
b4rdos:patch-1

Conversation

@b4rdos
Copy link

@b4rdos b4rdos commented Sep 29, 2025

Add initialisation step before calling mcp server.

Fixes issue

echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | python echo_server.py | jq
[09/29/25 17:22:27] WARNING  Failed to validate request: Received request before initialization was complete                  session.py:363
{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": -32602,
    "message": "Invalid request parameters",
    "data": ""
  }
}

Add initialisation step before calling mcp server.
@github-actions
Copy link

github-actions bot commented Oct 9, 2025

Validation Success

@pa7lux pa7lux requested a review from RodinIvan December 12, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant