Toon MCP Server

MCP server that reduces LLM context by removing code comments and converting data formats to TOON

Local serverstdioPython

What is the Toon MCP server?

Connect Toon to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP server that reduces LLM context by removing code comments and converting data formats to TOON. The toon mcp server is what makes that connection.

What the server does

A specialized Model Context Protocol (MCP) server that optimizes token usage by converting data to TOON (Token-Oriented Object Notation) and stripping non-essential context from code files.

The toon-parse-mcp MCP server helps AI agents (like Cursor, Claude Desktop, etc.) operate more efficiently by: 1. Optimizing Code Context: Stripping comments and redundant spacing from code files while preserving functional structure and docstrings. 2. Data Format Conversion: Converting JSON, XML, YAML, and CSV inputs into the compact TOON format to save tokens. 3. Mandatory Efficiency Protocol: A built-in resource that instructs LLMs to prioritize token-saving tools.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Tools — The Tools tool exposed by this server
  • Resources — The Resources tool exposed by this server
  • Cursor — 1. Open Cursor Settings -> MCP. 2. Click "+ Add New MCP Server". 3. Name: toon-parse-mcp 4. Type: command 5. Command: python3 -m
  • Windsurf — 1. Click the hammer icon in the Cascade toolbar and select "Configure". 2. Alternatively, edit ~/.codeium/windsurf/mcp_config.json directly. 3. Add
  • Antigravity — 1. Open the MCP store via the "..." menu at the top right of the agent panel. 2. Select "Manage MCP Servers" -> "View raw config". 3. Alternatively

Installation

Installation goes through your MCP client rather than a global install: point it at toon-parse-mcp on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Credentials and setup notes

  • Python >= 3.10 - mcp >= 1.25.0 - toon-parse >= 2.4.3

Where it fits

This sits in the AI and media services group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Toon's toolset — Tools, Resources, Cursor and 2 more — is a fair guide to whether it matches your workflow. It is maintained by ankitpal181; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Toon's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
ToolsThe Tools tool exposed by this server.
ResourcesThe Resources tool exposed by this server.
Cursor1. Open Cursor Settings -> MCP. 2. Click "+ Add New MCP Server". 3. Name: toon-parse-mcp 4. Type: command 5. Command: python3 -m toon_parse_mcp.server (Ensure your environment is active or use absolute path to python)
Windsurf1. Click the hammer icon in the Cascade toolbar and select "Configure". 2. Alternatively, edit ~/.codeium/windsurf/mcp_config.json directly. 3. Add the following to the mcpServers object:
Antigravity1. Open the MCP store via the "..." menu at the top right of the agent panel. 2. Select "Manage MCP Servers" -> "View raw config". 3. Alternatively, edit ~/.gemini/antigravity/mcp_config.json directly. 4. Add the followi

How to install the Toon MCP server

{
  "mcpServers": {
    "toon-parse": {
      "command": "uvx",
      "args": ["toon-parse-mcp"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Python >= 3.10 - mcp >= 1.25.0 - toon-parse >= 2.4.3

Example prompts to try

  • Use Toon to Tools.
  • Use Toon to Resources.
  • Use Toon to Cursor.

Frequently asked questions

It connects Toon to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (Tools, Resources, Cursor, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Toon directly.