Files
lzwcai-mcp-server-package/lzwcai_workflow_to_mcp/pyproject.toml
yuanzhipeng 3ee23fe2c4 feat(lzwcai-workflow-to-mcp): 初始化项目并实现动态 MCP 工具生成功能
- 添加 Python 3.13 版本声明文件 `.python-version`
- 新增 `businessQueries.json`,包含三个 SQL 查询配置:按摘要、科目查凭证及科目余额
- 实现主程序 `main.py` 支持 local 和 api 两种模式加载配置,并注册为 MCP Server 工具
- 创建 `schema_converter.py` 用于将 sqlParams 转换为 MCP 输入 schema
- 配置 `pyproject.toml` 定义项目元数据与依赖(mcp, anyio, requests)
- 引入 utils 包结构,支持 API 请求、环境变量读取、日志配置等辅助功能模块
- 提供完整的工具列表和调用逻辑,通过 stdio 与 MCP 客户端通信执行工作流
2025-12-20 17:49:45 +08:00

36 lines
984 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "lzwcai-workflow-to-mcp"
version = "0.1.8"
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-workflow-to-mcp = "lzwcai_workflow_to_mcp.main:main"
[tool.hatch.build.targets.wheel]
packages = ["lzwcai_workflow_to_mcp"]
[tool.hatch.build.targets.wheel.force-include]
"lzwcai_workflow_to_mcp/businessQueries.json" = "lzwcai_workflow_to_mcp/businessQueries.json"