mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 20:40:13 +03:00
- Move fastmcp from core requirements.txt to mcp-requirements.txt - Add MCP_AVAILABLE feature flag in agent/__init__.py (graceful degradation) - Guard MCP imports/registration in server.py and tasks.py - Replace ai-copilot/mcp/ai-support extras with single ai-features extra - Add stub MCP routes returning 501 when MCP is not installed - Add gns3server-uninstall-ai-features CLI command - Remove old gns3server-uninstall-ai-copilot command - Update all error messages and docs to reference ai-features Closes #2794
49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
# GNS3 Server Core Dependencies
|
|
uvicorn==0.48.0
|
|
pydantic==2.13.4
|
|
fastapi==0.136.3
|
|
python-multipart==0.0.30
|
|
websockets==16.0
|
|
aiohttp>=3.14,<3.15
|
|
aiofiles>=25.1.0,<26.0
|
|
Jinja2>=3.1.6,<3.2
|
|
sentry-sdk>=2.61.1,<3 # optional dependency
|
|
psutil>=7.2.2
|
|
async-timeout>=5.0.1,<5.1; python_version < '3.11' # this library has effectively been upstreamed into Python 3.11+
|
|
distro>=1.9.0
|
|
py-cpuinfo>=9.0.0,<10.0
|
|
greenlet==3.5.1; python_version >= '3.13' # necessary to run sqlalchemy on Python >= 3.13
|
|
sqlalchemy==2.0.50
|
|
aiosqlite==0.22.1
|
|
alembic==1.18.4
|
|
bcrypt==5.0.0
|
|
joserfc==1.7.0
|
|
email-validator==2.3.0
|
|
watchdog==6.0.0
|
|
zstandard==0.25.0
|
|
platformdirs>=2.4.0 # fastmcp-slim >=3.4 requires >=4.0.0; upper bound removed for compatibility
|
|
truststore>=0.10.4; python_version >= '3.10'
|
|
|
|
# Shared dependencies (also used by AI Copilot)
|
|
telnetlib3==4.0.4
|
|
asyncssh>=2.23.0,<3
|
|
typing-extensions>=4.15.0
|
|
requests>=2.34.2
|
|
urllib3>=2.7.0
|
|
|
|
# ==============================================================================
|
|
# File type detection
|
|
python-magic>=0.4.27
|
|
|
|
# Optional AI Features (AI Copilot + MCP)
|
|
# ==============================================================================
|
|
# AI Copilot and MCP features are now optional. Install with:
|
|
# pip install gns3-server[ai-features]
|
|
# Or:
|
|
# pip install -r ai-requirements.txt
|
|
# pip install -r mcp-requirements.txt
|
|
#
|
|
# This reduces installation size and supports restricted environments where
|
|
# AI dependencies may not be allowed.
|
|
# ==============================================================================
|