Back to Home
marc-shade icon

coral-tpu-mcp

by marc-shade

Overview

Provides fast, local, hardware-accelerated ML inference (image classification, object detection, pose estimation, semantic segmentation, audio classification, keyword spotting) and text embeddings for AI agentic systems using Google Coral TPUs.

Installation

Run Command
python -m coral_tpu_mcp.server

Environment Variables

  • AGENTIC_SYSTEM_PATH
  • TF_CPP_MIN_LOG_LEVEL
  • ABSL_MIN_LOG_LEVEL

Security Notes

The `AGENTIC_SYSTEM_PATH` environment variable is used to dynamically add a directory to `sys.path` for importing the `tpu_monitor` module. If this environment variable is controlled by an untrusted entity, it could lead to arbitrary code execution through Python module injection, posing a Remote Code Execution (RCE) vulnerability. While model file validation (checksums, size, extension) is implemented to mitigate risks during model loading, this does not address the `sys.path` injection vector. The server uses stdio for communication and does not appear to open direct network listeners.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassLow
Avg Tokens1
Stars0
Forks0
Last Update2025-12-29

Tags

Edge MLTPUAI InferenceAgentic SystemsComputer VisionAudio Processing