MyAIServ: AI-Powered FastAPI Server with MCP π
High-performance FastAPI server implementing Model Context Protocol (MCP) for seamless integration with Large Language Models (LLMs). Built with modern stack: FastAPI, Elasticsearch, Redis, Prometheus, and Grafana.
Core Features β¨
- FastAPI-powered REST, GraphQL, and WebSocket APIs
- Full MCP support (Tools, Resources, Prompts, Sampling)
- Vector search with Elasticsearch
- Real-time monitoring (Prometheus + Grafana)
- Docker-ready deployment
- Comprehensive test coverage
Quick Start π
# Clone and setup
git clone https://github.com/eagurin/myaiserv.git
cd myaiserv
python -m venv venv
source venv/bin/activate # Linux/macOS
pip install -r requirements.txt
# Configure and run
cp .env.example .env
uvicorn app.main:app --reload
Access:
- API Docs: http://localhost:8000/docsβ
- GraphQL: http://localhost:8000/graphqlβ
Stack π
- Backend: FastAPI, Python 3.8+
- Storage: Elasticsearch, Redis
- Monitoring: Prometheus, Grafana
- Testing: Pytest
- Deployment: Docker, Docker Compose
License π
Last updated on