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. It has been installed 0 times through Conduid.
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 presentNot checked yet.
- ·License declaredNot checked yet.
- ·Tests presentNot checked yet.
- ·Dependencies pinnedNot checked yet.
- ·No dynamic code executionNot checked yet.
- ·Scoped permissionsNot checked 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 mirrored from the source repository 4 months ago. The original is authoritative.