mcptools
$ mcp Community Med Riskmcptools (mcp) lets developers and agents discover tools, resources, and prompts on local stdio or remote HTTP/SSE MCP servers from the shell. Supports mcp tools, mcp resources, mcp prompts, mcp call, mcp shell, mcp web, and -f/--format (table|json|pretty).
brew install mcptools mcp gives coding agents a fast terminal bridge to test or invoke MCP servers on demand without loading every tool schema into permanent context.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Provides -f/--format json and pretty across tools, resources, prompts, and call, though mcp shell and mcp web are interactive.
-f/--format (table|json|pretty)and non-interactivetools/callsubcommands
Cleanly separates read-only discovery (tools/resources/prompts) from mcp call, though call executes arbitrary server side effects.
- Read-only schema inspection vs explicit
mcp call <tool> -p '<json>'
Fast single Go binary installable via brew install mcptools (or tap f/mcptools) and go install across macOS, Linux, and Windows.
- Homebrew formula
mcptoolsandgo installsupport
Lightweight alternative to Node-based MCP inspectors, plus built-in mock/guard/proxy utilities for MCP debugging.
- Sub-second Go CLI for testing stdio and HTTP MCP servers
Popular MIT-licensed community project (f/mcptools) with steady contributions.
- Open-source
f/mcptoolsrepository under MIT
Clear README examples for tools, call, shell, web, and Homebrew/Go installation.
- Documented CLI commands and format flags in GitHub README
Security, Auth & Guardrails
Passes through shell environment variables and MCP client config files (~/.mcp.json / server args) to target servers.
100% free and MIT open-source.
# mcptools (mcp) Agent Rules - Always pass `-f json` and avoid interactive `mcp shell` or `mcp web` in agent runs. - Inspect `mcp tools -f json` schemas before invoking `mcp call` on unfamiliar servers.
Agent-Ready Command Recipes
Safe Read-Only Queries
mcp tools -f json npx -y @modelcontextprotocol/server-filesystem .
Queries tools/list on a stdio MCP server and outputs machine-readable JSON.
mcp resources -f json http://localhost:8000/mcp
Enumerates available MCP resources over HTTP without entering interactive mcp shell.
Controlled Writes & Previews
mcp call read_file -p '{"path":"README.md"}' -f json npx -y @modelcontextprotocol/server-filesystem . Invokes one named MCP tool with explicit -p JSON arguments and prints formatted JSON output.
Strengths for Agents
- +
-f jsonworks cleanly acrossmcp tools,mcp resources,mcp prompts, andmcp call. - + Fast Go binary requires no Node/Python runtime just to inspect an MCP endpoint.
- + Supports both stdio subprocesses and HTTP/SSE MCP endpoints uniformly.
Caveats & Pitfalls
- ! Binary name
mcp(ormcptalias) may collide with other tools;go installproducesmcptools. - !
mcp shellandmcp weblaunch interactive/blocking interfaces unsuitable for headless loops.