Azure-Samples / Azure-Samples/remote-mcp-functions-java
Returning values from mcp tool is not working
Open
- Dominant language
- Bicep
- Stars
- 2
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
There is no way to return values from the function to the caller.
Tried to return a sting/interger both did not return values to the caller.
Contributor guide
Research direction
Start by reproducing the issue in the remote MCP server quickstart with a tool that returns a string and one that returns an integer. Trace the tool return path from the Java Azure Functions entry point to the caller; done means both values are returned successfully and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100