MCP Toolkit

Integrations

  • Enables search capabilities through Brave search API, allowing retrieval of information from the web

  • Provides comprehensive repository management including listing contents, viewing file structure, searching repositories and code, managing repositories (creation, updates, deletion), and viewing file contents

  • Allows connection to MySQL databases, executing queries, and managing transactions for data storage and retrieval

MCP 툴킷

영어 | 중국어

개요

MCP 툴킷은 AI 어시스턴트가 로컬 시스템, 파일, 데이터베이스 및 외부 서비스와 상호 작용할 수 있도록 다양한 도구를 제공하는 포괄적인 모델 컨텍스트 프로토콜(MCP) 서버 구현입니다. 보안과 제어를 유지하면서 실제 상호작용을 통해 AI 기능을 확장하도록 설계되었습니다.

특징

  • 파일 시스템 작업
    • 파일 읽기 및 쓰기
    • 디렉토리 생성 및 삭제
    • 정규식 패턴으로 파일 검색
    • 디렉토리 내용 나열
    • 코드 정의 추출
  • 데이터베이스 통합
    • MySQL 지원
    • PostgreSQL 지원
    • Redis 지원
    • 거래 관리
    • 매개변수화된 쿼리
  • GitHub 통합
    • 저장소 관리
    • 코드 검색
    • 파일 작업
    • 트리 구조 분석
  • 웹 기능
    • 웹 페이지 콘텐츠 추출
    • Brave 검색 통합
    • HTTP 요청 처리
    • 프록시 지원
  • 시스템 도구
    • 명령 실행
    • 모든 검색 통합
    • 스택 추적 분석
    • 로깅 시스템

설치

지엑스피1

구성

프로젝트에 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

AI 어시스턴트가 보안과 제어를 유지하면서 파일 시스템, 데이터베이스, GitHub 저장소, 웹 리소스 및 시스템 도구와 상호 작용할 수 있도록 하는 포괄적인 모델 컨텍스트 프로토콜 서버 구현입니다.

  1. Overview
    1. Features
      1. Installation
        1. Configuration
          1. Usage
            1. Tool Details
              1. File Operation Tools
              2. Database Tools
              3. GitHub Tools
              4. Web Tools
              5. System Tools
            2. Security
              1. Contributing
                1. License
                  ID: lhj0b7jlx3