Skip to main content
Glama

yeepay_yop_java_sdk_user_guide

Get the user guide for YOP Java SDK to integrate payment services with Yeepay's open platform. Access documentation and follow links for detailed implementation steps.

Instructions

通过此工具,获取易宝支付开放平台(YOP)的yop-java-sdk的使用说明,内容中包含链接时可以调用工具yeepay_yop_link_detail进一步获取其详细内容

Returns: str: 易宝支付开放平台(YOP)的yop-java-sdk的使用说明(markdown格式)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function decorated with @mcp.tool() that implements the 'yeepay_yop_java_sdk_user_guide' tool. It dynamically fetches the platform version and downloads the Java SDK user guide content, falling back to a static URL if needed.
    @mcp.tool()
    def yeepay_yop_java_sdk_user_guide() -> str:
        """
        通过此工具,获取易宝支付开放平台(YOP)的yop-java-sdk的使用说明,内容中包含链接时可以调用工具yeepay_yop_link_detail进一步获取其详细内容
    
        Returns:
            str: 易宝支付开放平台(YOP)的yop-java-sdk的使用说明(markdown格式)
    
        """
        try:
            platform_info = json.loads(
                HttpUtils.download_content(
                    "https://open.yeepay.com/apis/commons/doc/platform/info"
                )
            )
            platform_version = platform_info.get("data").get("docVersion")
            return HttpUtils.download_content(
                "https://open.yeepay.com/apis/docs/platform/"
                + platform_version
                + "/sdk_guide/java-sdk-guide.html"
            )
        except (ValueError, TypeError, ConnectionError):
            return HttpUtils.download_content(
                "https://open.yeepay.com/docs-v3/platform/201.md"
            )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yop-platform/yop-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server