
f/mcptools
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
stdioとHTTPの両方のトランスポートを用いてMCP(Model Context Protocol)サーバーとやり取りするためのコマンドラインインターフェースです。
概要
MCPサーバー向けスイスアーミーナイフ MCP(モデルコンテキストプロトコル)サーバーとのやり取りのための包括的なコマンドラインインターフェースです。任意のMCP互換サーバーからツール、リソース、プロンプトを発見、呼び出し、管理できます。複数のトランスポート方式、出力フォーマットをサポートし、強力なモックサーバーおよびプロキシサーバー機能を備えています。 MCP Toolsは、モデルコンテキストプロトコル(MCP)サーバーと連携するための多用途CLIを提供します。これにより、以下のことが可能になります: - MCPサーバーが提供するツールの発見と呼び出し - MCPサーバーが公開したリソースへのアクセスと利用 - クライアントアプリケーションのテスト用モックサーバー作成 - 拡張性を容易にするためのシェルスクリプトへのプロキシMCPリクエスト - MCPサーバーの探索と利用のためのインタラクティブシェル作成 - TypeScriptサポートによる新しいMCPプロジェクトのスキャフォールド - 様々なスタイル(JSON、きれいな印刷、テーブル)での出力フォーマット - 特定のツールやリソースへのアクセスを保護・制限 - すべてのトランスポート方式(HTTP、stdio)をサポートする ❕ バイナリはMCPとしてインストールされますが、他のカテゴリも含まれます。
概要(AI 翻訳)
MCPサーバー向けスイスアーミーナイフ
MCP(モデルコンテキストプロトコル)サーバーとやり取りするための包括的なコマンドラインインターフェース。
任意のMCP対応サーバーからツール、リソース、プロンプトを発見し、呼び出し、管理できます。
複数のトランスポート方式、出力フォーマットをサポートし、強力なモックサーバーおよびプロキシサーバー機能を備えています。
目次
- 概要
- MCPインスペクターとMCPツールの違い
- 設置
- ホームブリューの使用
- ソースより
- はじめかす
- 特徴
- 交通手段
- 出力フォーマット
- コマンド
- インタラクティブシェル
- ウェブインターフェース
- プロジェクト・スキャフォールディング
- サーバー別名
- LLMアプリ設定管理
- サーバーモード
- モックサーバーモード
- プロキシモード
- ガードモード
- 例
- 基本用法
- スクリプト統合
- デバッグ
- 貢献
- ロードマップ
- ライセンス
概要
MCP Toolsは、モデルコンテキストプロトコル(MCP)サーバーと連携するための多用途CLIを提供します。これにより、以下のことが可能になります:
- MCPサーバーが提供するディスカバーおよび呼び出しツール
- MCPサーバーから公開されたリソースへのアクセスと利用
- クライアントアプリケーションのテスト用モックサーバー作成
- シェルスクリプトへのプロキシMCPリクエストによる拡張性の確保
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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.
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.
インストール
npx -y @modelcontextprotocol/server-filesystem /Users/fka/Desktop