Webapp voor LLM-integratie MCP-tools beheer prompt verrijking en modelselectie
This Flask web application enables users to:
The MCP server acts as a bridge between AI applications like Claude Desktop, Continue, Cursor, and other LLM clients that support the Model Context Protocol (MCP). It integrates directly into the application stack, providing enhanced functionality by leveraging external data sources and tools. This server allows for seamless context gathering, enrichment of prompts before they reach the LLM, and ultimately, improved response accuracy.
The core features of this MCP server include:
The architecture of this server integrates seamlessly with the Model Context Protocol (MCP). It comprises a web application built using Flask to provide an intuitive user interface and an underlying API for interacting with external tools. The protocol flow is designed to ensure secure and efficient communication between the AI application, the MCP server, and the respective data sources or tools. This architecture supports a wide range of use cases, ensuring that AI applications can leverage diverse resources while maintaining high security standards.
Clone the repository
git clone https://github.com/Fbeunder/MCP_FLASK.git
cd MCP_FLASK
Set up a virtual environment (recommended)
# Windows
python -m venv venv
venv\Scripts\activate
# macOS/Linux
python3 -m venv venv
source venv/bin/activate
Install the required packages
# Recommended: install all dependencies via requirements.txt
pip install -r requirements.txt
# Alternative: install specific packages if needed
pip install flask requests
# For OpenAI model access
pip install openai
# For Anthropic model access
pip install anthropic
# For .env file support
pip install python-dotenv
Configure API keys
.env
file.Option 1: Create a .env
file
# Windows
copy .env.example .env
# macOS/Linux
cp .env.example .env
Edit the .env
file and fill in your API keys.
Option 2: Set environment variables directly
export OPENAI_API_KEY="your-openai-api-key"
export ANTHROPIC_API_KEY="your-anthropic-api-key"
export BRAVE_API_KEY="your-brave-api-key"
export GITHUB_TOKEN="your-github-token"
On Windows:
set OPENAI_API_KEY=your-openai-api-key
set ANTHROPIC_API_KEY=your-anthropic-api-key
set BRAVE_API_KEY=your-brave-api-key
set GITHUB_TOKEN=your-github-token
Code Debugging and Optimization:
Data-Specific Research Queries:
The server is compatible with the following MCP clients:
MCP Client | Resources | Tools | Prompts |
---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ |
Continue | ✅ | ✅ | ✅ |
Cursor | ❌ | ✅ | ❌ |
This server is optimized for performance and compatibility across various AI applications. The protocol implementation ensures that data flows securely and efficiently, minimizing latency and maximizing accuracy.
Advanced configuration includes setting up environment variables, managing dependencies, and ensuring secure handling of API keys.
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"API_KEY": "your-github-token"
}
},
"braveSearch": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-bravesearch"],
"env": {
"API_KEY": "your-brave-api-key"
}
}
}
}
.env
file.Contributions are welcome! If you would like to contribute, please follow these guidelines:
For more information on the Model Context Protocol (MCP) ecosystem, see the official documentation and resources.
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
MCP Client | Resources | Tools | Prompts |
---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ |
Continue | ✅ | ✅ | ✅ |
Cursor | ❌ | ✅ | ❌ |
This detailed documentation positions the MCP server as a critical component for developers building AI applications and integrating MCP clients into their workflows. It focuses on enhancing AI performance through context enrichment, ensuring optimal integration with various tools and resources.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration