Files
lzwcai-mcp-server-package/lzwcai_mcp_api_converter/pyproject.toml
yuanzhipeng 992d97c0a4 feat(core): 改进API响应处理支持纯文本JSON解析
当API返回content-type为text/plain但实际内容是JSON格式时,
现在会尝试解析为JSON对象而不是直接返回文本,
提高API响应的兼容性

fix(create_mcp): 移除硬编码的输出schema定义

移除了工具注册中硬编码的outputSchema定义,
让系统使用更灵活的配置方式

chore(release): 更新版本号至0.2.4
2026-03-06 18:02:41 +08:00

29 lines
856 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[project]
name = "lzwcai-mcp-api-converter"
version = "0.2.4"
description = "基于FastMCP框架的动态API工具服务器自动将企业业务API配置转换为MCP协议工具支持多种传输方式、企业认证和参数验证为AI助手提供标准化的业务接口访问能力。"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"dynaconf>=3.2.11",
"httpx>=0.28.1",
"jinja2==3.1.6",
"mcp[cli]>=1.8.0",
"requests>=2.31.0",
"pypinyin>=0.54.0",
]
[tool.setuptools]
packages = {find = {where = ["."], include = ["lzwcai_mcp_api_converter*"]}}
[tool.setuptools.package-data]
"lzwcai_mcp_api_converter.src" = ["api_config.json"]
[project.scripts]
lzwcai-mcp-api-converter = "lzwcai_mcp_api_converter.src.create_mcp:run_main"
[tool.hatch.build.targets.wheel]
packages = ["lzwcai_mcp_api_converter"]