TouchDesigner AI Companion
БесплатноНе проверенEnables users to capture TouchDesigner node network screenshots and ask Claude for context-aware analysis, diagnosis, and suggestions via MCP tools.
Описание
Enables users to capture TouchDesigner node network screenshots and ask Claude for context-aware analysis, diagnosis, and suggestions via MCP tools.
README
A local desktop tool that captures your TouchDesigner node network via hotkey, sends the screenshot to Claude (with vision + function calling), and returns targeted, context-aware answers about your patches — with full session memory and Langfuse observability.
Stack
| Layer | Tool |
|---|---|
| Language | Python 3.11+ |
| Screenshot | mss + Pillow |
| Hotkey listener | pynput |
| MCP server | mcp Python SDK (FastMCP) |
| LLM | Claude Sonnet 4 (claude-sonnet-4-20250514) |
| Observability | Langfuse |
| Session storage | SQLite |
How to run
# 1. Clone and enter the project
git clone <repo-url> td-companion
cd td-companion
# 2. Install dependencies
pip install -r requirements.txt
# 3. Set your API keys
cp .env.example .env
# Edit .env with your ANTHROPIC_API_KEY and Langfuse keys
# 4. Launch
python main.py
# 5. Focus your TouchDesigner window, press Ctrl+Shift+T,
# type your question, and get an answer.
macOS: Grant Accessibility permissions to your terminal app when prompted by
pynput.
How it works
- Hotkey → Screenshot — Pressing
Ctrl+Shift+Ttriggersmssto capture your full screen. The PNG bytes are held in memory and sent to Claude as a base64 image. - Claude with function calling — The image + question + full session history are sent to Claude Sonnet 4. Claude can invoke four MCP-defined tools (
analyze_network,suggest_next_node,diagnose_problem,explain_node) by extracting what it sees in the screenshot and routing the question to the right analytical frame. - Session persistence + observability — Every turn (user question + assistant answer) is saved to a local SQLite database and logged as a Langfuse trace with model, token usage, and I/O metadata for debugging and cost tracking.
Project structure
td-companion/
├── main.py # Entry point, hotkey listener, main loop
├── screenshot.py # mss screen capture → PNG bytes
├── agent.py # Claude API with vision + function calling
├── session.py # SQLite session read/write
├── observability.py # Langfuse trace logging
├── mcp_server/
│ ├── __init__.py
│ └── tools.py # 4 FastMCP tools + Anthropic tool schemas
├── .env.example
├── .gitignore
└── requirements.txt
Установка TouchDesigner AI Companion
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/LindaEng/mcp_touchFAQ
TouchDesigner AI Companion MCP бесплатный?
Да, TouchDesigner AI Companion MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для TouchDesigner AI Companion?
Нет, TouchDesigner AI Companion работает без API-ключей и переменных окружения.
TouchDesigner AI Companion — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить TouchDesigner AI Companion в Claude Desktop, Claude Code или Cursor?
Открой TouchDesigner AI Companion на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare TouchDesigner AI Companion with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
