toon-mcp
Verified Safeby copyleftdev
Overview
Provides TOON format encoding/decoding as an MCP or HTTP server for LLM token cost optimization.
Installation
./target/release/toon-mcpEnvironment 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
rust-mcp-schema
Provides a type-safe Rust implementation of the Model Context Protocol (MCP) schema, enabling developers to build robust MCP servers and clients.
mcp-framework
A Rust framework for building AI agents with built-in Model Context Protocol (MCP) support, multi-LLM integration, and a web-based inspector for debugging.
toon-mcp
This server provides tools to encode JSON into TOON format and decode TOON back to JSON, primarily for optimizing LLM prompts and context by reducing token count.
kodegen
A Rust-native Model Context Protocol (MCP) server providing blazing-fast auto-coding and development tools for AI agents.