# MCP-X Agent 🀿 πŸ€– [English](README.md) | [δΈ­ζ–‡](README_zh.md) ![GitHub stars](https://img.shields.io/github/stars/TimeCyber/MCP-X?style=social) ![GitHub forks](https://img.shields.io/github/forks/TimeCyber/MCP-X?style=social) ![GitHub watchers](https://img.shields.io/github/watchers/TimeCyber/MCP-X?style=social) ![GitHub repo size](https://img.shields.io/github/repo-size/TimeCyber/MCP-X) ![GitHub language count](https://img.shields.io/github/languages/count/TimeCyber/MCP-X) ![GitHub top language](https://img.shields.io/github/languages/top/TimeCyber/MCP-X) ![GitHub last commit](https://img.shields.io/github/last-commit/TimeCyber/MCP-X?color=red) MCP-X is an open-source MCP Host Desktop Application that seamlessly integrates with any LLMs supporting function calling capabilities. ✨ ![MCP-X Demo](./docs/MCP-XAI.gif) ## Use Cases 🎯 ### AI Agent MCP-X good at agent and understanding various types of content through its powerful AI agents. Here's an example of food content agent: ![Food Analysis Example](./docs/food-analysis-example.png) **Key Features Demonstrated:** - 🍽️ **Food Content Analysis**: Detailed breakdown of dishes, ingredients, and nutritional information - 🎯 **Targeted Recommendations**: Personalized suggestions based on user preferences - πŸ“Š **Structured Output**: Well-organized information with clear categorization - πŸ’¬ **Interactive Chat**: Natural conversation flow with comprehensive responses **Perfect for:** - Food bloggers and content creators - Nutritionists and health professionals - Restaurant owners and chefs - Anyone interested in food analysis and recommendations This showcases how MCP-X can transform simple queries into detailed, actionable insights across various domains. ## What's New We've just rolled out major updates to improve your experience: ### πŸ“š Brand New Knowledge Base Feature (v0.1.0) MCP-X now supports powerful knowledge base management! - **Knowledge Management**: Upload, view, search, and delete knowledge documents (supports txt, md, json, csv, xml, html formats) - **Smart Search**: Full-text search by filename and content with highlighted matching results - **Chat References**: One-click reference to knowledge base documents in chat, AI can answer based on your knowledge base content - **Document Preview**: Real-time document content preview with file metadata display - **Responsive Design**: Perfect adaptation for desktop and mobile devices ### πŸš€ AI Agent System MCP-X as a full-fledged AI agent platform. - **New Agent Sidebar**: Discover, manage, and search for specialized AI agents. - **One-Click Talk**: Instantly talk to any agent for your current task. - **Agent Profiles**: See what each agent can do, with details on their skills and example uses. - **Organized for You**: Agents are sorted into categories like content creation, data analysis, and programming. ### 🎨 A Fresh New Look We've redesigned the app to be cleaner and more intuitive. - **New Side Navigation**: A permanent sidebar gives you quick access to Chat, Agents, Knowledge Base, Tools, Models, and System settings. - **Clearer Icons**: Navigation icons now have text labels so you know exactly where you're going. - **Consistent Design**: We've unified the color scheme and layout for a more polished feel. This update also includes a move to a more professional icon set (`react-icons`) and various under-the-hood CSS and component optimizations for better performance. ## Features 🎯 - 🌐 **Universal LLM Support**: Compatible with ChatGPT, Anthropic, Ollama and OpenAI-compatible models - πŸ’» **Cross-Platform**: Available for Windows, MacOS, and Linux - πŸ“š **Knowledge Base Management**: Upload, search, and reference knowledge documents, let AI answer based on your materials - πŸ”„ **Model Context Protocol**: Enabling seamless MCP AI agent integration on both stdio and SSE mode - πŸ€– **AI Agent System**: Rich professional AI agents covering various domain-specific needs - 🌍 **Multi-Language Support**: Traditional Chinese, Simplified Chinese, English, Spanish with more coming soon - βš™οΈ **Advanced API Management**: Multiple API keys and model switching support - πŸ’‘ **Custom Instructions**: Personalized system prompts for tailored AI behavior - πŸ”„ **Auto-Update Mechanism**: Automatically checks for and installs the latest application updates ## Download and Install ⬇️ Get the latest version of MCP-X: [![Download](https://img.shields.io/badge/Download-Latest%20Release-blue.svg)](https://github.com/TimeCyber/MCP-X/releases/latest) For Windows users: πŸͺŸ - Download the .exe version - Python and Node.js environments are pre-installed For MacOS users: 🍎 - Download the .dmg version - You need to install Python and Node.js (with npx uvx) environments yourself - Follow the installation prompts to complete setup For Linux users: 🐧 - Download the .AppImage version - You need to install Python and Node.js (with npx uvx) environments yourself - For Ubuntu/Debian users: - You may need to add `--no-sandbox` parameter - Or modify system settings to allow sandbox - Run `chmod +x` to make the AppImage executable ## MCP Tips While the system comes with a default echo MCP Server, your LLM can access more powerful tools through MCP. Here's how to get started with two beginner-friendly tools: Fetch and Youtube-dl. ### Quick Setup Add this JSON configuration to your MCP-X MCP settings to enable both tools: ```json "mcpServers":{ "fetch": { "command": "uvx", "args": [ "mcp-server-fetch", "--ignore-robots-txt" ], "enabled": true }, "filesystem": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/files" ], "enabled": true }, "youtubedl": { "command": "npx", "args": [ "@kevinwatt/yt-dlp-mcp" ], "enabled": true } } ``` ### Using SSE Server for MCP You can also connect to an external MCP server via SSE (Server-Sent Events). Add this configuration to your MCP-X MCP settings: ```json { "mcpServers": { "MCP_SERVER_NAME": { "enabled": true, "transport": "sse", "url": "YOUR_SSE_SERVER_URL" } } } ``` ### Additional Setup for yt-dlp-mcp yt-dlp-mcp requires the yt-dlp package. Install it based on your operating system: #### Windows ```bash winget install yt-dlp ``` #### MacOS ```bash brew install yt-dlp ``` #### Linux ```bash pip install yt-dlp ``` ## Usage Guide πŸ“– ### How to use Knowledge Base: 1. **Add Documents**: Click "Knowledge Base" in sidebar β†’ Upload supported file formats (txt, md, json, csv, xml, html) 2. **Search Documents**: Use search box in knowledge base page, supports search by filename and content 3. **Reference Documents**: Click knowledge base button (πŸ“š) in chat β†’ Search and select document β†’ Auto-insert reference 4. **Manage Documents**: Preview, delete documents, view detailed information and metadata For more details, see [CHANGELOG.md](CHANGELOG.md). ## Build πŸ› οΈ See [BUILD.md](BUILD.md) for more details. ## Connect With Us 🌐 - πŸ’¬ Join our [Home](https://mcp-x.com/) - 🐦 Follow us on [RedNote](https://www.xiaohongshu.com/user/profile/6833b89f000000000e0137ca) - ⭐ Star us on GitHub - πŸ› Report issues on our [Issue Tracker](https://github.com/TimeCyber/MCP-X/issues)