DEV Community

Sailor Pepe
Sailor Pepe

Posted on

I Built a Zero-Trust MCP Server With 30+ Local AI Tools

Why I Built This

I got tired of AI tools that send your data to the cloud. I wanted something that runs entirely on my machine β€” no API keys to OpenAI, no data leaving my computer, no monthly subscriptions.

So I built an MCP server with 30+ tools that all run locally. It started as a tool to grade my trading card collection using vision AI, and grew into a full production suite.

Install it now:

pip install undesirables-mcp-server
Enter fullscreen mode Exit fullscreen mode

What It Does

🎴 AI Card Grading

Point a camera at your PokΓ©mon, Magic, or Yu-Gi-Oh card. The server uses Qwen-VL vision AI to analyze centering, surface quality, corners, and edges β€” then predicts a PSA/Beckett grade. All inference runs on Ollama, locally.

πŸ“Š Monte Carlo Price Simulations

Real stochastic models (Heston, Merton, Kou, GBM) running against actual TCGCSV market data. See 150 possible price futures for any card in the market, grounded in empirical drift and volatility.

πŸ–ΌοΈ Local Image Generation

Uses FLUX.1-schnell for image generation:

  • Mac (Apple Silicon): MLX backend via mflux β€” no Python PyTorch needed
  • Windows: DirectML for AMD/Intel GPUs
  • Linux: CUDA for Nvidia GPUs

🎡 AI Music Generation

Full song generation via ACE-Step. Specify genre, lyrics, duration β€” get a complete audio file rendered locally.

🎬 Video Production

Beat-synchronized video editing with librosa audio analysis. Extract viral clips, add text overlays, sync effects to music drops.

πŸ”’ Security Scanning

Built-in SAST auditing for smart contracts and codebases. Path-validated, sandboxed execution.

🧠 RAG Memory Engine

Vector-indexed memory with semantic search. Your AI agent remembers conversations, builds knowledge graphs, and maintains persistent context.

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚           MCP Client (Cursor, Claude)       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                   β”‚ JSON-RPC (stdio)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚        Undesirables MCP Server              β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚Resources β”‚ β”‚  Tools   β”‚ β”‚  Prompts   β”‚  β”‚
β”‚  β”‚Soul Data β”‚ β”‚30+ Tools β”‚ β”‚Templates   β”‚  β”‚
β”‚  β”‚Memory    β”‚ β”‚Vision AI β”‚ β”‚            β”‚  β”‚
β”‚  β”‚RAG Index β”‚ β”‚Audio/Vid β”‚ β”‚            β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                     β”‚ HTTP (localhost)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              Ollama (Local LLM)             β”‚
β”‚         qwen2.5 / llama3.1 / gemma3        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Enter fullscreen mode Exit fullscreen mode

Zero-Trust by Design

  • No cloud calls. Every AI model runs on your hardware via Ollama
  • No telemetry. Zero analytics, zero tracking
  • Sandboxed execution. Path validation prevents directory traversal attacks
  • Memory-locked. Resource limits prevent DoS from malicious prompts
  • BSL-1.1 licensed. Open source with commercial protections

Getting Started

# Install
pip install undesirables-mcp-server

# Or clone from source
git clone https://gitlab.com/meme-merchants/undesirables-mcp-server.git
cd undesirables-mcp-server
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Enter fullscreen mode Exit fullscreen mode

Connect to Claude Desktop

Add this to your Claude config (Settings > Developer > Edit Config):

{
  "mcpServers": {
    "undesirables": {
      "command": "python",
      "args": ["server.py"],
      "cwd": "/path/to/undesirables-mcp-server"
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Links


Built by The Undesirables LLC. For entertainment and educational purposes only. AI models hallucinate. Do not use for live financial decisions.

Top comments (0)