NAME
hello - print a greeting
SYNOPSIS
hello
[--loud]
DESCRIPTION
Prints a greeting. MCP tool name hello. Input schema:
loud (bool), args (string array).
Examples:
# CLI form, same binary
demo hello world
# hello, world
# MCP form over HTTP, single call
curl -sS -X POST http://127.0.0.1:8080/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hello","arguments":{"args":["world"]}}}'
# via mcporter, pointing at the HTTP endpoint
# mcporter.json: {"mcpServers":{"demo":{"baseUrl":"http://127.0.0.1:8080/mcp"}}}
mcporter call demo.hello --args '{"args":["world"]}'
# hello, world
The HTTP transport adds zero semantic difference at the tool level. Same Action body, same input schema, same content in the result.
Usage:
hello [GLOBAL OPTIONS] [command [COMMAND OPTIONS]] [ARGUMENTS...]
GLOBAL OPTIONS
--loud: shout the greeting