Back to Home
kweinmeister icon

toon-mcp

Verified Safe

by 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

Run Command
npx -y git+https://github.com/kweinmeister/toon-mcp.git

Environment 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

Stats

Interest Score37
Security Score8
Cost ClassLow
Stars6
Forks0
Last Update2026-01-16

Tags

MCPTOONJSONLLMToken Optimization