MCP cover image
See in Github
2025-02-04

A modern, scalable MCP server implementation with support for multiple AI providers, advanced monitoring, and robust conversation management.

1

Github Watches

1

Github Forks

0

Github Stars

Modern Control Protocol (MCP) Server

A modern, scalable MCP server implementation with support for multiple AI providers, advanced monitoring, and robust conversation management.

Features

  • Multi-provider AI support (OpenAI, Anthropic, Google AI, Azure)
  • Real-time streaming responses
  • Conversation management and history
  • Function calling and tool usage
  • Vector database integration
  • Semantic caching
  • Prometheus metrics and Grafana dashboards
  • Rate limiting and error handling
  • PostgreSQL for data persistence
  • Redis for caching
  • Elasticsearch for search
  • Docker containerization

Quick Start

  1. Clone the repository
  2. Copy environment template:
    cp .env.example .env
    
  3. Update environment variables in .env
  4. Start services with Docker Compose:
    docker-compose up -d
    

API Documentation

Once running, visit:

Monitoring

Development

Prerequisites

  • Python 3.9+
  • PostgreSQL
  • Redis
  • Elasticsearch
  • Docker & Docker Compose

Local Setup

  1. Create virtual environment:

    python -m venv venv
    source venv/bin/activate  # Linux/Mac
    # or
    .\venv\Scripts\activate  # Windows
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Run development server:

    uvicorn app.main:app --reload
    

Testing

Run tests with:

pytest

Architecture

The MCP server is built with a microservices architecture:

  • FastAPI for the REST API
  • PostgreSQL for data persistence
  • Redis for caching and rate limiting
  • Elasticsearch for search functionality
  • Qdrant for vector storage
  • Prometheus and Grafana for monitoring

API Endpoints

  • /api/v1/mcp/prompts: Prompt management
  • /api/v1/mcp/conversations: Conversation handling
  • /api/v1/mcp/conversations/{id}/complete: AI completions
  • /metrics: Prometheus metrics
  • /health: Health check

License

MIT License

相关推荐

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

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • https://jgadvisorycpa.com
  • This GPT assists in finding a top-rated business CPA - local or virtual. We account for their qualifications, experience, testimonials and reviews. Business operators provide a short description of your business, services wanted, and city or state.

  • 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

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

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

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

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • modelcontextprotocol
  • Model Context Protocol Servers

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

    Reviews

    1 (1)
    Avatar
    user_83mvQQez
    2025-04-18

    I've been using mymcpserv for a while now, and it's absolutely fantastic. Created by eagurin, this service has streamlined my workflow like no other. Its seamless integration and efficiency have significantly boosted my productivity. Highly recommend checking it out on GitHub: https://github.com/eagurin/mymcpserv.