MCP cover image
See in Github
2025-02-04

现代可扩展的MCP服务器实现,并支持多个AI提供商,高级监视和强大的对话管理。

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.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • 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
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • modelcontextprotocol
  • 模型上下文协议服务器

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

    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.