MCP cover image
See in Github
2025-04-01

Référentiel de développement pour le serveur MCP (Protocole de communication géré)

1

Github Watches

0

Github Forks

0

Github Stars

MCP Server

Overview

MCP (Managed Communication Protocol) Server is a modern, scalable, and secure communication protocol server designed to facilitate seamless interactions between clients and services. This development repository contains the source code, documentation, and tools necessary for setting up and extending the MCP server infrastructure.

Concept

The MCP server is built around several core concepts:

1. Managed Communication

MCP provides a standardized way to handle communication between different systems, applications, and services. It abstracts away the complexities of network protocols, serialization formats, and connection management, allowing developers to focus on business logic.

2. Protocol Agnostic

The server is designed to support multiple protocols (HTTP/HTTPS, WebSockets, gRPC, etc.) through a unified interface. This allows clients to connect using their preferred protocol while the server handles the translation and routing.

3. Service Discovery

MCP includes built-in service discovery mechanisms that allow services to register themselves and clients to discover available services dynamically.

4. Security First

Security is a fundamental aspect of MCP, with features including:

  • End-to-end encryption
  • Authentication and authorization
  • Rate limiting and DDoS protection
  • Audit logging

5. Scalability

The architecture is designed for horizontal scalability, allowing you to add more server instances as your load increases.

System Architecture

┌─────────────┐     ┌─────────────┐     ┌─────────────┐
│             │     │             │     │             │
│   Clients   │◄───►│  MCP Server │◄───►│  Services   │
│             │     │             │     │             │
└─────────────┘     └─────────────┘     └─────────────┘
                           │
                    ┌──────┴──────┐
                    │             │
                    │  Database   │
                    │             │
                    └─────────────┘

Installation

Prerequisites

  • Node.js (v16 or higher)
  • MongoDB (v4.4 or higher)
  • Redis (optional, for caching)
  • Docker and Docker Compose (for containerized deployment)

Basic Installation

  1. Clone the repository
git clone https://github.com/cnewave/mcp-server-dev.git
cd mcp-server-dev
  1. Install dependencies
npm install
  1. Configure the server

Copy the example configuration file and modify it according to your environment:

cp config/config.example.json config/config.json

Edit config/config.json to set your database connection, security settings, and other options.

  1. Run the server
npm start

The server will be available at http://localhost:3000 by default.

Docker Installation

  1. Build and start the containers
docker-compose up -d

This will start the MCP server along with MongoDB and Redis instances.

Production Deployment

For production environments, we recommend:

  1. Using environment variables instead of configuration files
  2. Setting up proper monitoring and logging
  3. Configuring a reverse proxy (Nginx, HAProxy) for SSL termination
  4. Implementing proper backup strategies for the database

Example production startup:

NODE_ENV=production \
DB_URI=mongodb://user:password@mongodb:27017/mcp \
AUTH_SECRET=your-secret-key \
npm start

Configuration Options

The MCP server can be configured through a combination of:

  • Configuration files
  • Environment variables
  • Command line arguments

Key configuration options include:

Option Description Default
port Server listening port 3000
dbUri MongoDB connection string mongodb://localhost:27017/mcp
logLevel Logging verbosity info
authSecret Secret for JWT tokens (required)
corsOrigins Allowed CORS origins *

Next Steps

After installation, you might want to:

  1. Create your first service
  2. Set up authentication
  3. Configure client connections
  4. Explore the API documentation

Contributing

We welcome contributions to the MCP server project! Please see CONTRIBUTING.md for details on how to get started.

License

This project is licensed under the MIT License - see the LICENSE file for details.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • modelcontextprotocol
  • Serveurs de protocole de contexte modèle

  • Mintplex-Labs
  • L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • n8n-io
  • Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.

  • open-webui
  • Interface AI conviviale (prend en charge Olllama, Openai API, ...)

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.

    Reviews

    4 (1)
    Avatar
    user_u2E9lmsE
    2025-04-16

    I have been using mcp-server-dev, created by cnewave, for a while now and I am thoroughly impressed. This server development tool is incredibly efficient and user-friendly. The project link on GitHub provides excellent documentation and support, making my development process smooth and hassle-free. Highly recommend this to any developer looking for a robust and reliable server solution!