★ 1584 Go MIT sse 更新 9小时前

Tools

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

安装配置

暂未识别到可直接复制的 MCP 配置,请查看 GitHub README。后台管理员可以补充配置。

README 摘要

Swiss Army Knife for MCP Servers A comprehensive command-line interface for interacting with MCP (Model Context Protocol) servers. Discover, call, and manage tools, resources, and prompts from any MCP-compatible server. Supports multiple transport methods, output formats, and includes powerful mock and proxy server capabilities. [![Blog Post](https://img.shields.io/badge/Blog-Read%20about%20MCP%20Tools-blue)](https://blog.fka.dev/blog/2025-03-27-mcp-inspector-vs-mcp-tools/) ## Table of Contents - [Overview](#overview) - [Difference Between the MCP Inspector and MCP Tools](https://blog.fka.dev/blog/2025-03-27-mcp-inspector-vs-mcp-tools/) - [Installation](#installation) - [Using Homebrew](#using-homebrew) - [From Source](#from-source) - [Getting Started](#getting-started) - [Features](#features) - [Transport Options](#transport-options) - [Output Formats](#output-formats) - [Commands](#commands) - [Interactive Shell](#interactive-shell) - [Web Interface](#web-interface) - [Project Scaffolding](#project-scaffolding) - [Server Aliases](#server-aliases) - [LLM Apps Config Management](#llm-apps-config-management) - [Server Modes](#server-modes) - [Mock Server Mode](#mock-server-mode) - [Proxy Mode](#proxy-mode) - [Guard Mode](#guard-mode) - [Examples](#examples) - [Basic Usage](#basic-usage) - [Script Integration](#script-integration) - [Debugging](#debugging) - [Contributing](#contributing) - [Roadmap](#roadmap) - [License](#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) ```bash brew tap f/mcptools brew install mcp ``` > ❕ The binary is installed as `mcp` but can also be accessed as `mcpt` to avoid conflicts with other tools that might use the `mcp` command name. ### From Source (for Windows and GNU/Linux) ```bash go install github.com/f/mcptools/cmd/mcptools@latest ``` > ❕ The binary will be installed as `mcptools` when but can be aliased to `mcpt` for convenience. > > > > Windows 11 Running Example ## Getting Started The simplest way to start using MCP Tools is to connect to an MCP server and list available tools: ```bash # List all available tools from a filesystem server mcp tools npx -y @modelcontextprotocol/server-filesystem ~ # Call a specific tool mcp call read_file --params '{"path":"README.md"}' npx -y @modelcontextprotocol/server-filesystem ~ # Open an interactive shell mcp shell npx -y @modelcontextprotocol/server-filesystem ~ ``` ## Features MCP Tools supports a wide range of features for interacting with MCP servers: ``` Usage: mcp [command] Available Commands: version Print the version information tools List available tools on the MCP server resources List available resources on the MCP server prompts List available prompts on the MCP server call Call a tool, res...

相关 MCP

Fastapi

Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!

★ 11868 Python sse 待补充
mcp Python sse

Chrome

Chrome MCP Server is a Chrome extension-based Model Context Protocol (MCP) server that exposes your Chrome browser funct...

★ 11659 TypeScript sse 有配置
mcp sse TypeScript

Unity

Unity MCP acts as a bridge, allowing AI assistants (like Claude, Cursor) to interact directly with your Unity Editor via...

★ 9756 C# sse 有配置
mcp sse C#

Go

A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and exte...

★ 8720 Go sse 待补充
mcp sse Go

Agent

Build effective agents using Model Context Protocol and simple workflow patterns

★ 8327 Python sse 待补充
mcp Python sse

Registry

A community driven registry service for Model Context Protocol (MCP) servers.

★ 6836 Go sse 待补充
mcp sse Go