EM

ecolash/mcplex-ai-v1.0

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

10 stars 5 forks 품질 52 트렌드 18MIT

𝗠𝗼𝗱𝗲𝗹 𝗖𝗼𝗻𝘁𝗲𝘅𝘁 𝗣𝗿𝗼𝘁𝗼𝗰𝗼𝗹 (𝗠𝗖𝗣) 𝗕𝗮𝘀𝗲𝗱 𝗖𝗟𝗜 𝗔𝗜 | 𝗧𝗼𝗼𝗹 𝗜𝗻𝘁𝗲𝗴𝗿𝗮𝘁𝗶𝗼𝗻 | 𝗚𝗲𝗺𝗶𝗻𝗶 𝟮.𝟬

개요

This document provides an introduction to MCPlex-AI v1.0, a system that integrates Google's Gemini large language model with external tools through a Model Context Protocol (MCP). Unlike typical chatbot frontends, MCPlex-AI runs entirely from the command line, giving users fine-grained control and a minimalistic interface to execute intelligent queries and trigger tool-based actions — all from a single terminal. The document covers the system's purpose, high-level architecture, key components, and interaction patterns. For detailed information about specific components, please refer to their respective sections: MCPlex-AI v1.0 is designed to enhance the capabilities of large language models (Google Gemini-2.0) by enabling them to interact with external tools and APIs. This allows the AI to: 1) Access real-time information (news, Wikipedia, etc.

README

원문 README의 일부입니다. 원문 보기.

MCPlex-AI v1.0

This document provides an introduction to MCPlex-AI v1.0, a system that integrates Google’s Gemini large language model with external tools through a Model Context Protocol (MCP). Unlike typical chatbot frontends, MCPlex-AI runs entirely from the command line, giving users fine-grained control and a minimalistic interface to execute intelligent queries and trigger tool-based actions — all from a single terminal. The document covers the system’s purpose, high-level architecture, key components, and interaction patterns. For detailed information about specific components, please refer to their respective sections:

Purpose

MCPlex-AI v1.0 is designed to enhance the capabilities of large language models (Google Gemini-2.0) by enabling them to interact with external tools and APIs. This allows the AI to:

  1. Access real-time information (news, Wikipedia, etc.)
  2. Perform specific actions (post to Twitter, search files)
  3. Calculate results (truth tables, mathematical operations)
  4. Retrieve data from external services (GitHub, OMDB)

System Architecture

The system follows a client-server architecture where the client handles user interaction and AI communication, while the server manages tool execution. MCPlex-AI consists of three primary components:

  • MCP Client (client/index.js): Handles user chat with Google Gemini AI, sends tool execution requests to the server
  • MCP Server (server/index.js): Manages tool registration and execution, handles client requests
  • Tool System (server/tools.js): Collection of tools that extend the AI’s capabilities

The diagram below illustrates the high-level architecture of the system:

Available Tools

Tool Name Description Source Location
print-menu Prints available tools server/tools.js (37-71)
news-by-topic Fetches news headlines server/tools.js (74-128)
twitter-X-post Posts to Twitter/X server/tools.js (156-177)
wikipedia-search Searches Wikipedia server/tools.js (180-225)
github-repo-info Gets GitHub repo info server/tools.js (228-268)
movie-ratings Gets movie information server/tools.js (271-354)
local-file-search Searches local files server/tools.js (356-522)
truth_table Generates truth tables server/tools.js (525-588)
define_word Gets word definitions server/tools.js (590-618)

Usage

1. Print Menu Tool

Name: print-menu Description: Prints what the MCP server can do with the available tools, provides descriptions of tools.

Input Parameters:

  • title (string, optional): Optional title for the menu
GitHub에서 전체 README 보기

설치

npx nodemon index.js
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →