--- title: Hieroglyph Mcp Server emoji: πŸ‘ colorFrom: gray colorTo: yellow sdk: gradio sdk_version: 6.0.1 app_file: app.py pinned: false short_description: Detect and classify hieroglyphs to its Gardiner code tags: - building-mcp-track-creative - mcp-server --- # π“€€ Egyptian Hieroglyph Detector (MCP Server) Welcome to our submission for the MCP Hackathon (Track 1: Building MCP)! This project bridges the gap between ancient history and modern AI Agents. It provides an MCP Server that allows Claude Desktop to "see" and identify Gardiner's Egyptian Hieroglyphs in any image. --- ## πŸŽ₯ Demo Video (Replace **YOUR_VIDEO_ID** in the link above with your actual YouTube video ID) --- ## 🚨🌍 IMPORTANT NOTICE FOR HACKATHON πŸ€– We are participating in the Creative Track (**building-mcp-track-creative**) because this tool unlocks new cultural and educational capabilities for AI agents. **πŸ”— Social Media Post:** [Link to your X/LinkedIn Post Here] --- ## 🌐 Project Overview This is not just a standard object detector. It is a **Hybrid Security Architecture** designed for the Model Context Protocol: ### **πŸ”“ Public Interface** An open MCP endpoint hosted on Hugging Face Spaces that anyone can connect to. ### **πŸ” Private Intelligence** The core intelligence (a fine-tuned YOLOv8 model) is hosted in a **Private Repository**. The Space acts as a secure proxy, authenticating with a secret token to load the weights without exposing them to the public. ### **πŸ›‘οΈ Secure Bridge** We built a custom **Upload Helper** tool that allows Claude Desktop to securely transfer local files from your computer to the cloud server for analysis. --- ## πŸ—‚οΈ Capabilities & Tools When connected to Claude, this server exposes **two powerful tools**: ### **1. `detect_hieroglyphs` (The AI Eye)** - **Purpose:** Takes an image input and performs object detection for Egyptian Hieroglyphs. - **Output:** Annotated image + JSON summary of symbol counts (e.g., `"3x Owl"`, `"1x Water"`). - **Model:** Custom-trained YOLOv8 model specialized on Gardiner signs. --- ### **2. `upload_file` (The Bridge)** - **Purpose:** Solves the β€œlocal vs. cloud” problem. - **Function:** Uploads a local file from your machine to the Space’s temporary storage so the AI can analyze it. --- ## πŸš€ How to Use (Claude Desktop) You can connect this tool to your own Claude Desktop right now! ### **πŸ“Œ Prerequisites** - Claude Desktop installed - Node.js & Python - Gradio MCP extension: ```sh pip install "gradio[mcp]" ### βš™οΈ Configuration Add the following JSON to your Claude Desktop configuration file. Windows path: %APPDATA%\Claude\claude_desktop_config.json Mac path: ~/Library/Application Support/Claude/claude_desktop_config.json Replace C:\\Claude_Work with the actual folder where you keep images, and update the URLs if your Space address differs.