Back to Home
bintang-aswam icon

fastAPI-MCP-server

Verified Safe

by bintang-aswam

Overview

This server provides image processing functionalities, specifically OCR and barcode/QR code scanning, through a standardized Model Context Protocol (MCP) interface for integration with AI agents in business automation scenarios.

Installation

Run Command
uvicorn app.main:app --host 0.0.0.0 --port 8000

Environment Variables

  • DESCOPE_PROJECT_ID
  • DESCOPE_API_BASE_URL

Security Notes

The server fetches images from arbitrary public URLs provided by clients for OCR and barcode scanning. While Pydantic's HttpUrl provides basic URL validation, there is a potential risk for Server-Side Request Forgery (SSRF) if a malicious actor provides a URL pointing to internal network resources. No explicit IP range filtering or deeper URL sanitization is implemented beyond basic HTTP(S) scheme enforcement and connection timeouts. The wide-open CORS policy (allow_origins=['*']) is noted, though potentially intended for broad integration.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2025-12-14

Tags

FastAPIMCPOCRBarcode ScanningImage ProcessingAI Agent