Files
lzwcai-mcp-server-package/lzwcai_mcp_sqlexecutor/pyproject.toml
yuanzhipeng a47ab6df07 feat(api_client): 增加详细的API请求和响应日志记录
增加对test_sql_with_schema接口的详细日志记录功能,
包括传入数据和返回数据的完整信息,便于调试和问题排查。

fix(utils): 修复sqlParams为空时的处理逻辑

修改process_skill_response函数中对空sqlParams的处理,
避免在sqlParams为None时导致JSON解析错误,并注释掉默认参数设置逻辑。

chore(config): 更新环境配置和项目版本

更新多个项目的数据库ID、数据源ID和后端基础URL配置,
并将lzwcai-mcp-sqlexecutor版本从0.1.8升级到0.10。

chore(logger): 改进日志目录创建逻辑

修改LoggerConfig类中的日志目录创建方法,使用mkdir(parents=True, exist_ok=True)
确保所有父目录都被创建。
2026-01-26 09:50:09 +08:00

36 lines
985 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "lzwcai-mcp-sqlexecutor"
version = "0.1.10"
description = "MCP server for executing business SQL queries with dynamic tool generation"
readme = "README.md"
requires-python = ">=3.13"
license = {text = "MIT"}
authors = [
{name = "lzwcai", email = "your-email@example.com"},
]
keywords = ["mcp", "sql", "executor", "server"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"httpx>=0.28.1",
"mcp[cli]>=1.10.1",
"pypinyin>=0.53.0",
]
[project.scripts]
lzwcai-mcp-sqlexecutor = "lzwcai_mcp_sqlexecutor.main:main"
[tool.hatch.build.targets.wheel]
packages = ["lzwcai_mcp_sqlexecutor"]
[tool.hatch.build.targets.wheel.force-include]
"lzwcai_mcp_sqlexecutor/businessQueries.json" = "lzwcai_mcp_sqlexecutor/businessQueries.json"