feat(core): 改进API响应处理支持纯文本JSON解析
当API返回content-type为text/plain但实际内容是JSON格式时, 现在会尝试解析为JSON对象而不是直接返回文本, 提高API响应的兼容性 fix(create_mcp): 移除硬编码的输出schema定义 移除了工具注册中硬编码的outputSchema定义, 让系统使用更灵活的配置方式 chore(release): 更新版本号至0.2.4
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "lzwcai-mcp-api-converter"
|
||||
version = "0.2.1"
|
||||
version = "0.2.4"
|
||||
description = "基于FastMCP框架的动态API工具服务器,自动将企业业务API配置转换为MCP协议工具,支持多种传输方式、企业认证和参数验证,为AI助手提供标准化的业务接口访问能力。"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
|
||||
Reference in New Issue
Block a user