-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
41 lines (35 loc) · 1.33 KB
/
Taskfile.yml
File metadata and controls
41 lines (35 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: '3'
tasks:
setup:
desc: Install project dependencies with uv
cmds:
- uv sync
- task: mcpm-register
mcpm-register:
desc: Register or update the local server in MCPM
cmds:
- uvx mcpm new screen-mcp --type stdio --command uv --args "run screen-mcp" --env "DISPLAY=${DISPLAY},WAYLAND_DISPLAY=${WAYLAND_DISPLAY},XAUTHORITY=${XAUTHORITY},XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR},DBUS_SESSION_BUS_ADDRESS=${DBUS_SESSION_BUS_ADDRESS}" --force || uvx mcpm edit screen-mcp --command uv --args "run screen-mcp" --env "DISPLAY=${DISPLAY},WAYLAND_DISPLAY=${WAYLAND_DISPLAY},XAUTHORITY=${XAUTHORITY},XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR},DBUS_SESSION_BUS_ADDRESS=${DBUS_SESSION_BUS_ADDRESS}" --force
server:
desc: Run the MCP server via mcpm (stdio)
deps:
- mcpm-register
cmds:
- uvx mcpm run screen-mcp
client:
desc: Run the MCP smoke-test client
deps:
- mcpm-register
cmds:
- uv run python scripts/smoke_client.py
inspector:
desc: Run MCP Inspector to view exchanges in real time
deps:
- mcpm-register
cmds:
- npx -y @modelcontextprotocol/inspector uvx mcpm run screen-mcp
debug:
desc: Quick debug command help
cmds:
- 'echo "Terminal 1: task server"'
- 'echo "Terminal 2: task client"'
- 'echo "Terminal 3: task inspector"'