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.
Overview
MyAIServ is a high-performance FastAPI server that implements the Model Context Protocol (MCP) for seamless integration with Large Language Models (LLMs). It is built using a modern tech stack including FastAPI, Elasticsearch, Redis, Prometheus, and Grafana.
To use MyAIServ, clone the repository from GitHub, set up a virtual environment, install the required dependencies, configure the environment variables, and run the server using Uvicorn. Access the API documentation and GraphQL interface through your browser.
- FastAPI-powered REST, GraphQL, and WebSocket APIs - Full MCP support (Tools, Resources, Prompts, Sampling) - Vector search capabilities with Elasticsearch - Real-time monitoring using Prometheus and Grafana - Docker-ready deployment with comprehensive test coverage
- Building AI-powered applications that require fast and efficient API responses.
- Integrating with Large Language Models for advanced data processing and analysis.
- Implementing real-time monitoring and analytics for AI services.
Add to your AI client
Use these steps to connect MyAIServ: AI-Powered FastAPI Server with MCP 🚀 in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"myaiserv-eagurin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-myaiserv-eagurin"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"myaiserv-eagurin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-myaiserv-eagurin"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"myaiserv-eagurin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-myaiserv-eagurin"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"myaiserv-eagurin": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-myaiserv-eagurin"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"myaiserv-eagurin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-myaiserv-eagurin"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"myaiserv-eagurin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-myaiserv-eagurin"
]
}
}
}FAQ
What is the Model Context Protocol (MCP)?
MCP is a protocol designed to facilitate the integration of various tools and resources with Large Language Models, enhancing their capabilities.
Is MyAIServ suitable for production use?
Yes! MyAIServ is designed for high performance and can be deployed in production environments.
How can I contribute to MyAIServ?
You can contribute by submitting issues, feature requests, or pull requests on the GitHub repository.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1512,"uuid":"86f2284a-d898-47da-b1ea-5731b5d9561e","name":"myaiserv","title":"MyAIServ: AI-Powered FastAPI Server with MCP 🚀","description":"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.","avatar_url":"https://avatars.githubusercontent.com/u/22112139?v=4","created_at":"2025-02-20T16:08:57.477Z","updated_at":"2025-02-23T07:13:16.098Z","status":"created","author_name":"eagurin","author_avatar_url":"https://avatars.githubusercontent.com/u/22112139?v=4","tags":"myaiserv,fastapi,ai-server","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/eagurin/myaiserv","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]