File size: 952 Bytes
8c6097b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright (c) 2025 Huawei Technologies Co., Ltd. All rights reserved.
"""
Model Context Protocol (MCP) Integration

This package contains MCP server implementations, tools, and integrations
for the DeepDiver multi-agent system.
"""

from .mcp_tools import MCPTools

# Server imports
try:
    from .mcp_server_standard import create_app as create_standard_app
    from .mcp_server_simple import app as simple_app
    MCP_STANDARD_AVAILABLE = True
except ImportError:
    MCP_STANDARD_AVAILABLE = False
    create_standard_app = None
    simple_app = None

# For backward compatibility
try:
    standard_app = simple_app  # Keep simple app for basic compatibility
    MCP_AVAILABLE = MCP_STANDARD_AVAILABLE
except Exception as e:
    MCP_AVAILABLE = False
    standard_app = None

__all__ = [
    'MCPTools',
    'create_standard_app',
    'simple_app',
    'standard_app',  # Backward compatibility
    'MCP_AVAILABLE',
    'MCP_STANDARD_AVAILABLE'
]