Documentation
¶
Overview ¶
Command mcpagent drives Pinky as an agent would, one call at a time: it keeps a single MCP session to `pinky mcp` (one lease, one task, refs that carry over) and serves tool calls on a local HTTP port, so a person or a model can decide each step from the last result. scripts/mcpcall runs a fixed list of calls instead. Used for the field test in docs/notes/field-test-iphone.md.
go run ./scripts/mcpagent serve -port 7701 -name claude-field-test -dir /tmp/pinky-field
go run ./scripts/mcpagent call -port 7701 phone_connect '{"task":"Check the weather"}'
go run ./scripts/mcpagent call -port 7701 -timeout 5s phone_tap '{"ref":3}' # cancels after 5 s
go run ./scripts/mcpagent quit -port 7701
serve writes every call, result, progress notification and screenshot to -dir. Results print as the agent reads them, with progress lines first.