添加了固定的输出Schema定义,包含code、message和data字段, 用于规范MCP工具的返回格式,提高API响应的一致性。 - 定义了标准的输出Schema结构 - 包含响应状态码、消息和数据字段 - code和message为必需字段
36 lines
1.0 KiB
TOML
36 lines
1.0 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "lzwcai-mcpskills-analyzeWorkOrder"
|
|
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-mcpskills-analyzeWorkOrder = "lzwcai_mcpskills_analyzeWorkOrder.main:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["lzwcai_mcpskills_analyzeWorkOrder"]
|
|
|
|
[tool.hatch.build.targets.wheel.force-include]
|
|
"lzwcai_mcpskills_analyzeWorkOrder/businessQueries.json" = "lzwcai_mcpskills_analyzeWorkOrder/businessQueries.json"
|