feat(k3cloud): 新增金蝶云星空 MCP 服务器

新增完整的 K3Cloud MCP 服务器实现,包含配置管理、API 客户端、工具定义和签名验证
更新文件工具 MCP 服务器的 MinIO 配置和上传路径前缀
This commit is contained in:
2026-05-06 16:29:34 +08:00
parent 49bdf45bfa
commit ede63f6e92
13 changed files with 491 additions and 5 deletions

View File

@@ -387,7 +387,7 @@ def _upload_file_to_minio_sync(file_path: str) -> str:
secure = endpoint_secure or False
client = Minio(endpoint, access_key=access_key, secret_key=secret_key, secure=secure)
bucket = "lzwcai"
prefix = "tmp"
prefix = "upload"
if not client.bucket_exists(bucket):
client.make_bucket(bucket)
date_str = datetime.now().strftime("%Y-%m-%d")

View File

@@ -9,9 +9,9 @@
"lzwcai-file-tools-mcp"
],
"env": {
"minio_endpoint": "http://192.168.11.24:9000",
"minio_access_key": "cXk8WPR3ix86J9aGK6tH",
"minio_secret_key": "FSH8g3tx8bTR4w8BZmwl35WvWbOXZvfvCcivRRJE"
"minio_endpoint": "http://hyy-minio.awin25.com:1800",
"minio_access_key": "orOXTOpVfRtYzovP",
"minio_secret_key": "4EOMjjbrji1DHW0EBSlYA7JqBnJUy0aj"
}
}
}

View File

@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "lzwcai-file-tools-mcp"
version = "0.1.0"
version = "0.1.1"
description = "File tools MCP server"
requires-python = ">=3.10"
dependencies = [