About Caller
Caller is an MCP server in the Files category: mCP client CLI that starts an MCP server, performs the protocol handshake, and calls a tool by JSON input.
Install
git clone https://github.com/AB498/mcp-callerThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Caller
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
mcp-caller
mcp-caller is a small MCP client CLI that starts an MCP server, performs the protocol handshake, and calls a tool by JSON input.
Install
npm install -g mcp-caller
Usage
Call a stdio MCP server:
npx -y mcp-caller \
--server-json '{"type":"stdio","command":"uvx","args":["--from","git+https://github.com/macsymwang/hello-mcp-server.git","hello-mcp-server"]}' \
--call-json '{"tool":"say_hello","params":{"name":"world"}}'
PowerShell:
npx -y mcp-caller `
--server-json '{"type":"stdio","command":"uvx","args":["--from","git+https://github.com/macsymwang/hello-mcp-server.git","hello-mcp-server"]}' `
--call-json '{"tool":"say_hello","params":{"name":"world"}}'
Call a remote streamable HTTP MCP server:
npx -y mcp-caller \
--server-json '{"type":"streamable-http","url":"https://gitmcp.io/idosal/git-mcp"}' \
--call-json '{"tool":"fetch_git_mcp_documentation","params":{}}'
PowerShell:
npx -y mcp-caller `
--server-json '{"type":"streamable-http","url":"https://gitmcp.io/idosal/git-mcp"}' `
--call-json '{"tool":"fetch_git_mcp_documentation","params":{}}'
Read JSON from files instead of inline values:
npx -y mcp-caller --server-file server.json --call-file call.json
Short call form:
npx -y mcp-caller --server-file server.json --tool say_hello --params-json '{"name":"world"}'
List callable tools:
npx -y mcp-caller --server-file server.json --list-tools
Inspect tools, prompts, and resources:
npx -y mcp-caller --server-file server.json --inspect --pretty
JSON Shapes
Server JSON:
{
"mcpServers": {
"name": {
"type": "stdio",
"command": "node",
"args": ["server.js"]
}
}
}
Or a single server object:
{
"type": "streamable-http",
"url": "https://example.com/mcp",
"headers": {}
}
Call JSON:
{
"tool": "tool-name",
"params": {}
}
Notes
- The CLI prints text content when the tool result contains text.
- Use
--prettyto format non-text JSON output. - The example probes are covered by test/cli.examples.test.js.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.