qingfei1994 commented on PR #434: URL: https://github.com/apache/flink-agents/pull/434#issuecomment-3762490921
> Hi, @qingfei1994, thanks for your contribution. Sorry for the late reply, we're in the final sprint toward the 0.2 code freeze. > > I think just add prompts field in `MCPServer` can't resolve the issue you reported that mcp can't work with mcp server not provide list_prompts interface. User may not fill in the prompts field, and use a server not provide list_prompts interface. > > Moreover, I think it doesn't make much sense to allow MCP to use predefined prompts—why wouldn't users just declare a `LocalPrompt` in such a case? > > I think the key issue is that we need to support work with the MCP servers that do not provide the list_prompts interface, and return empty list for list prompt method. I agree. Let me just fix the list_prompts and return empty list when it do not provide the list_prompts interface. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
