toon-mcp
Verified Safeby kweinmeister
Overview
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.
Installation
npx -y git+https://github.com/kweinmeister/toon-mcp.gitEnvironment Variables
- PORT
Security Notes
The server uses the `@toon-format/toon` library for core encoding/decoding, and `JSON.parse` for handling input JSON strings. While `JSON.parse` is generally safe against code injection, an attacker controlling the input `json` string could potentially craft malformed JSON that triggers unexpected behavior in the `toon` library. The server is built using `FastMCP` which likely includes standard web server security practices like rate limiting. No direct 'eval' or malicious patterns are observed in the provided source code, and network exposure is handled by the `FastMCP` SDK.
Similar Servers
mcp
An MCP server providing a set of mathematical tools (calculator functions) for remote execution via the Model Context Protocol.
toon-mcp
Provides TOON format encoding/decoding as an MCP or HTTP server for LLM token cost optimization.
forge-armory
An MCP (Multi-Modal Communication Protocol) gateway that aggregates tools from multiple backend MCP servers, optimizing responses for LLMs using TOON format.
mcp-server
The server compresses and decompresses JSON data into the ASON format to optimize token usage for Large Language Models (LLMs) and integrate with Model Context Protocol (MCP) clients.