-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.sh
More file actions
executable file
路23 lines (18 loc) 路 1.05 KB
/
Copy pathtest.sh
File metadata and controls
executable file
路23 lines (18 loc) 路 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
echo "馃敟 Testing Fire TV MCP Server"
echo "============================="
# Test 1: List tools
echo -e "\n1锔忊儯 Testing: List available tools..."
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | node src/index.js | head -n 1
# Test 2: Check status
echo -e "\n2锔忊儯 Testing: Check Fire TV status..."
echo '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"firetv_status","arguments":{}}}' | node src/index.js | head -n 1
# Test 3: Try Fire TV control (home)
echo -e "\n3锔忊儯 Testing: Fire TV control (home screen)..."
echo '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"firetv_control","arguments":{"command":"home"}}}' | node src/index.js | head -n 1
echo -e "\n馃帀 Test completed!"
echo -e "\n馃挕 If you see JSON responses above, the MCP server is working!"
echo -e "\n馃敡 To use with an AI assistant:"
echo " 1. Configure your MCP client to use this server"
echo " 2. Make sure your Fire TV has ADB debugging enabled"
echo " 3. Try commands like: firetv_control(command=\"open_netflix\")"