mcptools
by f
A command-line interface for interacting with MCP (Model Context Protocol) servers using both stdio and HTTP transport.
1,466stars
111forks
Go
Added 12/27/2025
MCP Serversmcpmcp-servermodelcontextprotocol
Installation
# Add to your Claude Code skills
git clone https://github.com/f/mcptools<p align="center">
<img src="./.github/resources/logo.png" alt="MCP Tools" height="150">
</p>
<p align="center">
<h1 align="center">Swiss Army Knife for MCP Servers</h1>
<p align="center">
A comprehensive command-line interface for interacting with MCP (Model Context Protocol) servers.
<br>
Discover, call, and manage tools, resources, and prompts from any MCP-compatible server.
<br>
Supports multiple transport methods, output formats, and includes powerful mock and proxy server capabilities.
</p>
</p>
Table of Contents
- Overview
- Difference Between the MCP Inspector and MCP Tools
- Installation
- Getting Started
- Features
- Server Aliases
- LLM Apps Config Management
- Server Modes
- Examples
- Contributing
- Roadmap
- License
Overview
MCP Tools provides a versatile CLI for working with Model Context Protocol (MCP) servers. It enables you to:
- Discover and call tools provided by MCP servers
- Access and utilize resources exposed by MCP servers
- Create mock servers for testing client applications
- Proxy MCP requests to shell scripts for easy extensibility
- Create interactive shells for exploring and using MCP servers
- Scaffold new MCP projects with TypeScript support
- Format output in various styles (JSON, pretty-printed, table)
- Guard and restrict access to specific tools and resources
- Support all transport methods (HTTP, stdio)
Installation
Using Homebrew (for macOS)
brew tap f/mcptools
brew install mcp
❕ The binary is installed as
mcpbut can also be accessed asmcptto avoid conflicts with other tools that might use themcpcommand name.
From Source (for Windows and GNU/Linux)
go install github.com/f/mcptools/cmd/mcptools@latest
❕ The binary will be installed as
mcptoolswhen but can be aliased tomcptfor convenience.<img width="500" alt="Screenshot 2025-05-05 at 22 21 29" src="https://github.com/user-attachments/assets/eaba...