modelcontextprotocol / modelcontextprotocol/java-sdk

Would love to be able to provide a log print about the URL request

Open
#286 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Java
Stars
3.7k
Forks
1.1k
Avg merge
1d 15h
Merged PRs (30d)
9

Description

Most of the interface documentation provides url's that carry path parameters, and while I was unable to observe how java-sdk splices them, they uniformly return the error。

error:Failed to wait for the message endpoint

"https://open.bigmodel.cn/api/mcp/web_search/sse?Authorization="+zhipuaiApiKey

How do I write the above url?

Contributor guide

Open the 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.

Research direction

Start by reproducing the request to the documented web_search SSE endpoint with the Authorization value shown in the issue, then trace how the Java SDK constructs that URL. Done means the request reaches the message endpoint without the reported "Failed to wait for the message endpoint" error and the correct URL usage is documented or verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.