Jeneen's MCP Agent
A multi-functional AI agent with an Arabic legal chatbot, Google search capability, and a VAE model that generates handwritten digit images.
README
š§ Jeneen's MCP Agent
This project is a multi-functional AI agent built using FastMCP. It includes:
- ā An Arabic legal chatbot that answers common legal questions.
- š A Google search tool.
- 𧬠A Variational Autoencoder (VAE) model that generates handwritten digit images.
š Project Structure
āāā main.py # Main script to run the MCP agent āāā chatbot.py # Arabic legal chatbot logic āāā vae_model.py # VAE model definitions (Encoder, Decoder, VAE) āāā output/ # Model checkpoints and generated images āāā data/ # MNIST dataset (auto-downloaded) āāā VAE.ipynb # Jupyter notebook for training the VAE model āāā README.md # This documentation file
āļø Available MCP Tools
1. legal_chat(query: str) ā str
Arabic-language chatbot that responds to legal questions such as:
- Annual leave
- Divorce
- Custody
- Employment rights
- Rental agreements Example: { "tool": "legal_chat", "input": "Ł Ų§ ŁŁ ŲŁŁŁŁ ŁŁ ŲŲ§Ł Ų§ŁŲ·ŁŲ§ŁŲ" }
2. search_google(query: str) ā str
Opens a Google search in the default browser. Example: { "tool": "search_google", "input": "ŁŲ§ŁŁŁ Ų§ŁŲ¹Ł Ł Ų§ŁŲ£Ų±ŲÆŁŁ" }
3. vae_generate(n_images: int) ā str
Generates handwritten digit images using a trained VAE model. Returns a base64-encoded PNG image. Example: { "tool": "vae_generate", "input": { "n_images": 8 } }
How to Run Create and activate a virtual environment python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
Install dependencies pip install -r requirements.txt (Optional) Train the VAE model using VAE.ipynb Or use the pre-trained model in: output/vae_epoch_50.pth
Run the MCP agent python main.py
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.