Skip to main content
Glama

🧠 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


Related MCP server: cross-validated-search

βš™οΈ 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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Universal Search-First Knowledge Acquisition Plugin for LLMs. Enables real-time web search and deep page browsing via MCP or CLI. Zero-cost, privacy-first, supports DuckDuckGo, Bing, Google, Brave, Wikipedia, Arxiv, YouTube, Reddit and more.
      2
      23 npm
      32 PyPI
      20
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Integrates multiple search APIs (Google Search, Maps, Flights, Hotels) through the Model Context Protocol and Agent-to-Agent protocol, enabling AI assistants to perform diverse searches via natural language queries.
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables AI agents to perform comprehensive search across 27 search engines including web, academic, code, community, package managers, video, images, podcasts, and maps, with multi-modal support, caching, and security features.
      14
      MIT