新增 Dify 到 MCP 的集成工具,支持通过 Dify API 将模型部署到 MCP 平台并进行推理。 该模块包含完整的服务器实现、依赖配置和命令行启动脚本。 主要功能: - 支持 Workflow 和 Completion 模式的调用 - 自动翻译工具名称为驼峰命名格式 - 提供文件上传与任务停止接口 - 兼容流式与非流式响应处理
10 lines
222 B
Python
10 lines
222 B
Python
"""
|
|
Entry point for lzwcai-mcp-sqlexecutor
|
|
Runs the MCP server for SQL query execution
|
|
"""
|
|
|
|
if __name__ == "__main__":
|
|
# Import and run the actual MCP server
|
|
from lzwcai_mcp_sqlexecutor.main import main
|
|
main()
|