Back to Home
copyleftdev icon

toon-mcp

Verified Safe

by copyleftdev

Overview

Provides TOON format encoding/decoding as an MCP or HTTP server for LLM token cost optimization.

Installation

Run Command
./target/release/toon-mcp

Environment Variables

  • TOON_MODE
  • TOON_HOST
  • TOON_PORT

Security Notes

The server demonstrates good security practices: no 'eval' or obfuscation found, uses 'thiserror' for structured error handling preventing raw internal errors from leaking, and handles environment variables for configuration. The HTTP mode's permissive CORS (`allow_origin(Any)`) is a configuration choice for its exposed API, not a direct vulnerability in the server's core logic. The MCP mode uses standard input/output for communication, which is secure for local process interaction.

Similar Servers

Stats

Interest Score81
Security Score9
Cost ClassLow
Avg Tokens50
Stars2
Forks0
Last Update2026-01-17

Tags

LLMToken OptimizationData SerializationRustAPI