AI-powered multi-language chat app with real-time streaming, multi-server support, and customizable features
CarrotAI is an advanced, cutting-edge AI agent application that leverages Model Context Protocol (MCP) to deliver real-time streaming chat via Server-Sent Events (SSE). It supports concurrent connections to multiple SSE MCP servers and provides user interfaces in English, Chinese, and Japanese. This versatile AI application integrates seamlessly with a wide range of MCP clients, including popular tools such as Claude Desktop, Continue, and Cursor.
CarrotAI MCP Server is designed to enhance the capabilities of AI applications by enabling them to connect to multiple data sources or tools through standardized protocols. It supports multi-language support for English, Chinese (简体中文), and Japanese, making it accessible to a global user base. The server's core features include:
dynamic_color.CarrotAI MCP Server implements Model Context Protocol (MCP) through a well-defined architecture that ensures seamless communication between the client applications and multiple MCP servers. The key components include:
To set up and use CarrotAI MCP Server, follow these steps:
pip install python-decouple
npm install
{
"mcpServers": {
"continue-server": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-continue"],
"env": {
"API_KEY": "your-api-key"
}
},
"cursor-server": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-cursor"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
python app.py
CarrotAI MCP Server is designed to support various AI workflows and use cases, enabling AI applications to handle both simple and complex tasks efficiently. Here are two realistic AI workflow scenarios:
CarrotAI MCP Server is designed to be easily integrated with a wide range of MCP clients, including:
Below is the compatibility matrix for CarrotAI MCP Server with various MCP clients:
| MCP Client | Resources | Tools | Prompts | Status |
|---|---|---|---|---|
| Claude Desktop | ✅ | ✅ | ✅ | Full Support |
| Continue | ✅ | ✅ | ✅ | Full Support |
| Cursor | ❌ | ✅ | ❌ | Tools Only |
from fastapi import Depends, HTTPException, status
from fastapi.security import OAuth2PasswordBearer
from jose import JWTError, jwt
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
def get_current_user(token: str = Depends(oauth2_scheme)):
try:
payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
username = payload.get("sub")
if username is None:
raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED,
detail="Invalid or expired token")
return {"username": username}
except JWTError:
raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED,
detail="Could not validate credentials")
export API_KEY=your-api-key
Contributions to the CarrotAI MCP Server project are welcome! To contribute:
Join our vibrant community of developers and contributors by exploring the broader MCP ecosystem:
CarrotAI MCP Server is a powerful platform for integrating multi-language, multi-server AI applications seamlessly. With its robust architecture, advanced features, and compatibility with various tools, it offers unparalleled flexibility and performance in the AI domain. Whether you're developing healthcare applications or financial risk assessment tools, CarrotAI MCP Server is designed to meet your needs.
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
graph TD
A[MCP Client] --> B[SSE Connection]
B --> C[MCP Server]
C -->|Query| D[Data Source/Tool]
D --> E[Response]
style A fill:#e1f5fe
style D fill:#e8f5e8
By focusing on these MCP-specific elements and detailed use cases, this documentation ensures that CarrotAI MCP Server stands out as a valuable tool for developers looking to integrate AI applications with multiple data sources and tools through standardized protocols.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration