[project]
name = "tgclient-mcp"
version = "0.1.0"
description = "tgclient-mcp — мульти-аккаунтный Telegram-клиент (Telethon) с MCP-сервером для ИИ-агентов и SPA-админкой (экосистема Gnexus)"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.115",
"uvicorn[standard]>=0.30",
"aiosqlite>=0.20",
"pydantic>=2.7",
"pydantic-settings>=2.3",
"mcp>=1.10,<2",
"telethon>=1.36",
"cryptg>=0.4", # быстрый AES для MTProto (иначе Telethon качает/шлёт заметно медленнее)
"gnexus-gauth @ git+https://git.gnexus.space/git/root/gnexus-auth-client-py.git",
# установка по свежему тегу (handbook 10-platform/notifications.md)
"gnexus-synapse @ git+https://git.gnexus.space/git/root/gn-synapse-client-py.git@v0.1.2",
]
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["app*"]