Skip to main content
Glama

MCP Toolkit

by zxfgds

MCP ツールキット

英語 |中国語

概要

MCP Toolkitは、包括的なモデルコンテキストプロトコル(MCP)サーバー実装であり、AIアシスタントがローカルシステム、ファイル、データベース、外部サービスとやり取りするための豊富なツールセットを提供します。セキュリティと制御を維持しながら、AIの機能を現実世界のインタラクションに拡張するように設計されています。

特徴

  • ファイルシステム操作
    • ファイルの読み取りと書き込み
    • ディレクトリの作成と削除
    • 正規表現パターンでファイルを検索する
    • ディレクトリの内容を一覧表示する
    • コード定義の抽出
  • データベース統合
    • MySQLサポート
    • PostgreSQLサポート
    • Redisのサポート
    • トランザクション管理
    • パラメータ化されたクエリ
  • GitHub 統合
    • リポジトリ管理
    • コード検索
    • ファイル操作
    • ツリー構造解析
  • ウェブ機能
    • ウェブページコンテンツの抽出
    • Brave検索の統合
    • HTTPリクエスト処理
    • プロキシサポート
  • システムツール
    • コマンド実行
    • あらゆる検索統合
    • スタックトレース分析
    • ログシステム

インストール

npm install mcp-toolkit

構成

プロジェクトにconfig.jsonファイルを作成します。

{ "workspace": { "rootPath": "/path/to/workspace", "allowedPaths": ["/allowed/path1", "/allowed/path2"] }, "network": { "proxy": "http://proxy-server:port" // Optional }, "database": { "mysql": { "host": "localhost", "port": 3306, "user": "user", "password": "password", "database": "dbname" } // Similar configuration for PostgreSQL and Redis } }

使用法

import { Server } from 'mcp-toolkit'; const server = new Server({ configPath: './config.json' }); server.start();

ツールの詳細

ファイル操作ツール

  • read_file : ファイルの内容を読み取ります。テキストファイルとバイナリファイルをサポート
  • write_to_file : ファイルの書き込みまたは作成
  • apply_diff : ファイルに差分変更を適用する
  • insert_content : 指定された位置にコンテンツを挿入する
  • search_and_replace : ファイルの内容を検索して置換する
  • list_files : ディレクトリの内容を一覧表示する
  • search_files : 正規表現を使用してファイルを検索する
  • list_code_definition_names : コード定義を抽出する

データベースツール

  • db_connect : データベース (MySQL/PostgreSQL/Redis) に接続する
  • db_query : データベースクエリを実行する
  • db_begin_transaction : トランザクションを開始する
  • db_commit_transaction : トランザクションをコミットする
  • db_rollback_transaction : トランザクションのロールバック
  • db_close : データベース接続を閉じる

GitHubツール

  • github_ls : リポジトリの内容を一覧表示する
  • github_tree : リポジトリのツリー構造を表示する
  • github_search_repo : リポジトリを検索する
  • github_search_code : コードを検索
  • github_cat : ファイルの内容を表示する
  • github_list_repos : ユーザーのリポジトリを一覧表示する
  • github_create_repo : リポジトリを作成する
  • github_update_repo : リポジトリ設定を更新する
  • github_delete_repo : リポジトリを削除する

ウェブツール

  • read_webpage : ウェブページのコンテンツを抽出する
  • brave_search : Brave検索を使用する
  • http_request : HTTPリクエストを送信する

システムツール

  • execute_command : システムコマンドを実行する
  • everything_search : ローカルファイル検索
  • logger : ログ記録
  • get_stack_trace : スタックトレースの分析

安全

  • 設定可能なワークスペース制限
  • コマンド実行制御
  • データベースアクセス管理
  • 外部サービス向けのトークンベースの認証

貢献

貢献を歓迎します!詳細については貢献ガイドラインをお読みください。

ライセンス

MITライセンス

-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

AI アシスタントがセキュリティと制御を維持しながら、ファイル システム、データベース、GitHub リポジトリ、Web リソース、システム ツールと対話できるようにする包括的なモデル コンテキスト プロトコル サーバー実装。

  1. 概要
    1. 特徴
      1. インストール
        1. 構成
          1. 使用法
            1. ツールの詳細
              1. ファイル操作ツール
              2. データベースツール
              3. GitHubツール
              4. ウェブツール
              5. システムツール
            2. 安全
              1. 貢献
                1. ライセンス

                  Related MCP Servers

                  • A
                    security
                    F
                    license
                    A
                    quality
                    A Model Context Protocol server that allows secure execution of pre-approved commands, enabling AI assistants to safely interact with the user's system.
                    Last updated -
                    1
                    3
                    18
                    JavaScript
                  • -
                    security
                    -
                    license
                    -
                    quality
                    A Model Context Protocol server implementation that enables AI assistants to interact with Linear project management systems, allowing them to create, retrieve, and modify data related to issues, projects, teams, and users.
                    Last updated -
                    20
                    2
                    TypeScript
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A Model Context Protocol server that enables AI assistants to perform GitHub operations including repository management, file operations, issue tracking, and pull request creation.
                    Last updated -
                    1
                    TypeScript
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A Model Context Protocol server that extends AI capabilities by providing file system access and management functionalities to Claude or other AI assistants.
                    Last updated -
                    3
                    TypeScript
                    • Apple

                  View all related MCP servers

                  MCP directory API

                  We provide all the information about MCP servers via our MCP API.

                  curl -X GET 'https://glama.ai/api/mcp/v1/servers/zxfgds/mcp-toolkit'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server