Files
lzwcai-mcp-server-package/lzwcai_mcp_api_converter/pyproject.toml
yuanzhipeng ac403b5e6f feat(core): 支持多种请求体格式和Content-Type自动处理
- 新增FORM、FORMDATA、PATH、PARAMS参数类型支持
- 实现multipart/form-data格式的文件上传功能
- 优化Content-Type自动设置逻辑,避免手动设置boundary问题
- 添加Content-Type不匹配的诊断功能,帮助排查请求错误

feat(config): 使用环境变量配置业务平台URL

- 从环境变量LZWCAI_CORP_MANAGER_URL获取基础URL
- 移除硬编码的默认URL配置
- 添加URL配置验证和错误提示

chore: 更新版本号至0.2.0

- 版本从0.1.30升级到0.2.0
- 更新包信息和项目配置文件
2025-12-26 19:58:38 +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.0"
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"]