DM

deniscartin/mcp-cli

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

20 stars 3 forks 品質 58 トレンド 10

モデルコンテキストプロトコル(MCP)サーバーとやり取りするための包括的なツールキット。 このプロジェクトは、MCP サーバーの管理、実行するためのグラフィカルなユーザーインターフェイスとコマンドラインツールの両方を提供します.

概要

モデルコンテキストプロトコル(MCP)サーバーとやり取りするための包括的なツールキット。 このプロジェクトは、MCP サーバーの管理、OpenAI モデルを使用してクエリを実行し、利用可能なツールを発見するためのグラフィカルなユーザーインターフェイスとコマンドラインツールの両方を提供します。 モデルコンテクストプロトコル(MCP)は、大規模な言語モデル(LLM)にツールと機能を公開するためのオープンスタンダードです。 LLM は、Web ブラウザー、データベース、API などの外部ツールを標準化した方法でアクセスできるようにします。 このプロジェクトでは、クライアントの実装を容易にします。 - MCP 互換サーバーに接続 - 複数のサーバー構成を管理する - MCP ツール機能を活用する自然言語のクエリを実行 - 利用可能なツールとその機能の探索 このプロジェクトは3つの主要なコンポーネントで構成されています。 1. : サーバの管理と端末でのクエリの実行 2. : 視覚的相互作用のためのPyQt5ベースのデスクトップアプリケーション 3.

概要(AI 翻訳)

モデルコンテキストプロトコル(MCP)サーバーとやり取りするための包括的なツールキット。 このプロジェクトは、MCP サーバーの管理、OpenAI モデルを使用してクエリを実行し、利用可能なツールを発見するためのグラフィカルなユーザーインターフェイスとコマンドラインツールの両方を提供します。

モデルコンテキストプロトコルとは何ですか?

モデルコンテクストプロトコル(MCP)は、大規模な言語モデル(LLM)にツールと機能を公開するためのオープンスタンダードです。 LLM は、Web ブラウザー、データベース、API などの外部ツールを標準化した方法でアクセスできるようにします。 このプロジェクトでは、クライアントの実装を容易にします。

  • MCP対応サーバーに接続する
  • 複数のサーバー構成を管理する
  • MCPツール機能を活用する自然言語のクエリを実行
  • 利用可能なツールとその機能の探索

プロジェクトコンポーネント

このプロジェクトは3つの主要なコンポーネントで構成されています。

1.Command-Lineインターフェイス(CLI): サーバの管理と端末でのクエリの実行 2.グラフィックユーザーインターフェイス(GUI):視覚相互作用のためのPyQt5ベースのデスクトップアプリケーション 3.API Server:HTTP経由でMCP CLI機能を公開するRESTful APIで、Webアプリケーションやその他のサービスとの統合が可能

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MCP CLI, GUI & API - Model Context Protocol Client

A comprehensive toolkit for interacting with Model Context Protocol (MCP) servers. This project provides both a graphical user interface and command-line tools for managing MCP servers, running queries against them using OpenAI models, and discovering available tools.

What is Model Context Protocol?

The Model Context Protocol (MCP) is an open standard for exposing tools and capabilities to large language models (LLMs). It enables LLMs to access external tools like web browsers, databases, and APIs in a standardized way. This project provides a client implementation that makes it easy to:

  • Connect to MCP-compatible servers
  • Manage multiple server configurations
  • Run natural language queries that leverage MCP tool capabilities
  • Explore available tools and their functionality

Project Components

This project consists of three main components:

  1. Command-Line Interface (CLI): For managing servers and running queries in a terminal
  2. Graphical User Interface (GUI): A PyQt5-based desktop application for visual interaction
  3. API Server: A RESTful API that exposes MCP CLI functionality via HTTP, enabling integration with web applications and other services

Directory Structure

mcp-cli-project/
├── mcp_cli/                 # Core Python package
│   ├── api/                 # RESTful API server implementation
│   │   ├── server.py        # Flask-based API server
│   │   └── README.md        # API documentation
│   ├── gui/                 # GUI implementation using PyQt5
│   ├── core.py              # Core functionality shared by CLI, implementation
├── mcpgui/                  # Web-based GUI (Next.js frontend)
│   ├── src/                 # Source code for the web interface
│   └── public/              # Static assets
├── bin/                     # Executable scripts
│   ├── mcp_gui.py           # Script to start the GUI
│   └── mcp_cli.py           # Script to run CLI commands
├── config/                  # Configuration files
│   └── config.json          # Server configurations
├── docs/                    # Documentation
└── setup.py                 # Package installation configuration

Features

Core Features

  • Server Management: Add, remove, list, and update MCP server configurations
  • Query Execution: Run natural language queries against MCP servers
  • Tool Discovery: View available tools and their capabilities
  • Configuration Import/Export: Share configurations between installations

GUI Features

  • User-friendly Interface: Intuitive desktop application for managing MCP servers
  • Query History: View and reuse previous queries
  • Real-time Output: See query results as they arrive
  • Tool Explorer: Visual interface to browse available tools

API Features

  • RESTful Interface: HTTP endpoints for all MCP CLI functionality
  • JSON-based: Consistent request/response formats
GitHub で README 全文を見る

インストール

npx @playwright/mcp@latest
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "playwright": { "command": "npx", "args": ["@playwright/mcp@latest"], "env": {"DISPLAY": ":1"} }, "airbnb": { "command": "npx", "args": ["-y", "@openbnb/mcp-server-airbnb", "--ignore-robots-txt"], "env": {} } } }