mcptools

CLI tool to interact with MCP servers via stdio and HTTP transport.

brewmacoslinux
Try with needOr install directly
Source

About

CLI for interacting with MCP servers using both stdio and HTTP transport

Commands

mcp

Examples

connect to MCP server and run a tool$ mcp run --transport stdio --command 'python server.py' --tool get_weather --args '{"location": "NYC"}'
list all available tools on an MCP server$ mcp list-tools --transport http --url http://localhost:3000
call a remote MCP server using HTTP$ mcp call --transport http --url http://example.com:8000 --tool search --args '{"query": "python"}'
test connection to MCP server$ mcp ping --transport stdio --command './mcp_server'
get detailed information about a specific tool$ mcp tool-info --transport http --url http://localhost:3000 --tool read_file