MCPTools

Stale
GitHub Go MIT

Description

A command-line interface for interacting with MCP (Model Context Protocol) servers using both stdio and HTTP transport.

Key Features

  • Swiss army knife CLI for interacting with any MCP-compatible server
  • Supports stdio, HTTP SSE, and Streamable HTTP transport methods
  • Mock server mode for testing client applications without a real MCP server
  • Proxy mode to forward MCP requests to shell scripts
  • Interactive shell and web interface for exploring MCP servers
  • Output formatting in table, JSON, and pretty-printed styles

Use Cases

💡 Debugging and testing MCP server implementations during development
💡 Creating mock MCP servers for client application testing
💡 Scripting and automating MCP tool calls in CI/CD pipelines
💡 Exploring available tools, resources, and prompts on remote MCP servers
💡 Proxying MCP requests to custom shell scripts for extensibility

Categories

Quick Start

1. brew tap f/mcptools && brew install mcp
2. mcp tools npx -y @modelcontextprotocol/server-filesystem ~
3. mcp call read_file --params '{"path":"README.md"}' npx -y @modelcontextprotocol/server-filesystem ~
4. mcp shell npx -y @modelcontextprotocol/server-filesystem ~
5. mcp web npx -y @modelcontextprotocol/server-filesystem ~

Related Projects