
mcp_ffg
First MCP for LLM integration
Repository Info
About This Server
First MCP for LLM integration
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP System - Multi-Client Protocol for LLM Collaboration
Overview
MCP System is a collaborative website development platform that leverages Claude and ChatGPT as autonomous agents. The system enables structured, persistent dialogue between these LLMs, with one acting as a Builder to generate code and design solutions, and the other as a Judge to evaluate and critique the Builder's work.
!MCP System Screenshot
Features
- Dual-Agent Architecture: Utilizes both Claude and ChatGPT in complementary roles
- Role Switching: Dynamically swap Builder and Judge roles between LLMs
- Persistent Memory: Maintains conversation history and context across sessions
- Token Optimization: Intelligently manages context windows for optimal performance
- Real-time Communication: Socket.io integration for immediate agent responses
- Project Management: Create and manage multiple website development projects
- Responsive UI: Modern interface that works across desktop and mobile devices
Getting Started
Prerequisites
- Node.js v20 or later
- MongoDB (running locally or accessible via connection string)
- Redis (running locally or accessible via connection string)
- API keys for OpenAI and Anthropic
Installation
-
Clone the repository:
git clone https://github.com/your-username/mcp-system.git cd mcp-system -
Install dependencies:
npm install -
Create a
.envfile in the root directory with the following content:NODE_ENV=development PORT=3000 MONGODB_URI=mongodb://localhost:27017/mcp_system REDIS_URL=redis://localhost:6379 OPENAI_API_KEY=your_openai_api_key ANTHROPIC_API_KEY=your_anthropic_api_key SESSION_SECRET=your_session_secret -
Set up the database:
node scripts/setup-db.js -
Start the development server:
npm run dev -
Access the application at http://localhost:3000
Deployment
For production deployment:
-
Run the deployment script:
./deploy.sh -
Follow the prompts to configure your production environment.
Architecture
The MCP System is built with a modern tech stack:
- Backend: Node.js with Express
- Frontend: React with Tailwind CSS
- Database: MongoDB for persistent storage
- Cache: Redis for session management and memory optimization
- Real-time Communication: Socket.io for agent interactions
- LLM Integration: OpenAI and Anthropic APIs
The system follows a modular architecture:
- Server: Express application with RESTful API endpoints
- Client: React SPA with component-based UI
- Models: MongoDB schemas for Projects, Agents, and Memory
- Services: Business logic for agent communication and memory management
- Utils: Helper functions for token management and summarization
Documentation
- User Documentation - Guide for end users
- API Documentation - Reference for developers
- Project Structure - Overview of codebase organization
Development
Available Scripts
npm run dev- Start development server with hot reloadingnpm run build- Build production-ready frontend assetsnpm start- Start production servernpm test- Run test suitenpm run lint- Run ESLint to check code quality
Testing
The MCP System includes comprehensive tests:
- Unit Tests: For individual components and utilities
- Integration Tests: For API endpoints and database operations
- End-to-End Tests: For complete user flows
Run tests with:
npm test
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- OpenAI for the ChatGPT API
- Anthropic for the Claude API
- The open-source community for the amazing tools and libraries
Contact
For questions or support, please open an issue on this repository or contact the maintainers at support@mcp-system.com.
Quick Start
Clone the repository
git clone https://github.com/fmfg03/mcp_ffgInstall dependencies
cd mcp_ffg
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.