feat: 集成MCP统一外部接口管理系统
All checks were successful
构建并部署 AI Agent 服务 / deploy (push) Successful in 5m38s
All checks were successful
构建并部署 AI Agent 服务 / deploy (push) Successful in 5m38s
- 添加MCP Manager统一入口管理 - 实现Contact/Dictionary/News三个适配器 - 三层降级策略:MCP -> Database -> Mock - 保持原有api_client向后兼容 - 添加完整文档和测试
This commit is contained in:
8
backend/app/mcp/adapters/__init__.py
Normal file
8
backend/app/mcp/adapters/__init__.py
Normal file
@@ -0,0 +1,8 @@
|
||||
"""
|
||||
MCP适配器包
|
||||
"""
|
||||
from .contact_adapter import ContactAdapter
|
||||
from .dictionary_adapter import DictionaryAdapter
|
||||
from .news_adapter import NewsAdapter
|
||||
|
||||
__all__ = ["ContactAdapter", "DictionaryAdapter", "NewsAdapter"]
|
||||
Reference in New Issue
Block a user