mcp-tv-cast
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ADB_PATH | No | Optional path to the adb executable. | |
| SCRCPY_PATH | No | Optional path to the scrcpy executable. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| diagnosticar_miracastA | Verifica se o PC suporta Miracast (driver gráfico e Wi-Fi), status do Wi-Fi e do serviço de projeção. |
| listar_displays_sem_fioB | Lista receptores Miracast / Wireless Display que o Windows conhece (pareados ou detectados). |
| abrir_painel_transmitirA | Abre o painel 'Transmitir' do Windows (equivalente a Win + K) para escolher a TV. |
| modo_projecaoB | Define como a tela vai para a TV (equivalente a Win + P). |
| ligar_tvB | Liga a TV via Wake-on-LAN (a TV precisa estar na mesma rede e com 'Ligar via Wi-Fi/rede' ativado). |
| samsung_teclaA | Envia uma tecla do controle para TV Samsung (Tizen) na rede. Use KEY_SOURCE para abrir as entradas/espelhamento. Na primeira vez a TV pede para autorizar o dispositivo; guarde o token retornado. |
| instalar_ferramentasB | Instala adb (Platform Tools) e scrcpy no Windows via winget, se ainda não estiverem instalados. |
| tv_conectarB | Conecta à TV Android/Google TV por ADB via rede (rápido, sem Win + K). Na TV: Configurações > Sobre > clique 7x em 'Build' > Opções do desenvolvedor > ative 'Depuração USB/ADB' e 'Depuração de rede'. Aceite o pedido de autorização na TV na primeira vez. |
| tv_dispositivosB | Lista dispositivos ADB conectados (e se estão autorizados). |
| tv_infoB | Diagnóstico da TV: modelo, Android, RAM livre, armazenamento, temperatura, sinal Wi-Fi e os apps que mais consomem memória. |
| tv_listar_appsA | Lista apps instalados na TV (de terceiros por padrão; 'sistema' inclui bloatware que pode ser desativado). |
| tv_otimizarA | Otimiza a TV para ficar mais ágil: encerra processos em segundo plano, limpa caches, reduz/desliga animações e limita processos em background. Opcionalmente desativa apps (reversível com tv_reativar_app; não desinstala). |
| tv_reativar_appC | Reativa um app desativado por tv_otimizar. |
| tv_teclaB | Envia uma tecla do controle remoto (ex.: HOME, BACK, POWER, VOLUME_UP, VOLUME_DOWN, MUTE, DPAD_CENTER, TV_INPUT). |
| tv_abrir_appB | Abre um app na TV pelo nome do pacote (ex.: com.google.android.youtube.tv, com.netflix.ninja). |
| tv_reiniciarC | Reinicia a TV (libera memória e aplica as otimizações). |
| tv_miracast_receberB | Abre o receptor Miracast na TV (ADB) e o painel Win + K no PC, deixando tudo pronto para espelhar a tela inteira do computador sem fio. |
| tv_espelharB | Abre a tela da TV numa janela no PC (scrcpy), com controle por teclado/mouse. Muito mais rápido que Win + K. Parâmetros baixos de bitrate/resolução deixam fluido em Wi-Fi fraco. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 18 tools
Several tools achieve screen-to-TV in overlapping ways (abrir_painel_transmitir for Win+K, modo_projecao for Win+P, tv_espelhar via scrcpy, tv_miracast_receber combining ADB receiver + Win+K), so an agent must reason carefully about which path to pick. Descriptions do help distinguish these, and tv_tecla vs samsung_tecla is separable by platform. Boundary clarity is decent but not crisp.
There is a loose domain vocabulary but no stable pattern: some tools carry a tv_ prefix (tv_conectar, tv_espelhar) while others do not (diagnosticar_miracast, ligar_tv, modo_projecao), and word order varies between verb_noun (abrir_painel_transmitir, tv_listar_apps) and noun_verb (samsung_tecla, tv_dispositivos). Names are still readable in context but the convention is clearly mixed.
18 tools is borderline heavy for a TV casting/control server, and the total is inflated by multiple redundant mirroring entry points and a one-off installer (instalar_ferramentas). Most tools do map to real operations, so it is not gratuitous, but it sits in the 16-25 heavy band.
The surface covers diagnostics, wake-on-LAN, ADB connect/list, mirroring, remote keys, app listing/launch/deactivation, optimization, and restart — a strong lifecycle for the domain. Minor gaps remain: no explicit disconnect from ADB, no app install/uninstall beyond optimizacao's reversible disable, and no dedicated volume/playback tools beyond generic key presses.