Codec-aware MCP leaf helper. Annotates each text content block with a per-block _meta['ai.codec/leaf-tokenization'] payload so a Codec-aware gateway (or client) skips re-tokenization. The thin layer between an MCP tool author and the leaf-mode contract in
MCPpedia last refreshed this data
MCP Leaf is an MCP server that codec-aware MCP leaf helper. Annotates each text content block with a per-block _meta['ai.codec/leaf-tokenization'] payload so a Codec-aware gateway (or client) skips re-tokenization. The thin layer between an MCP tool author and the leaf-mode contract in. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 84/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"mcp-leaf": {
"args": [
"-y",
"@codecai/mcp-leaf"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Codec is the substrate that lets gateways, routers, agents, tool dispatchers, and observers operate on raw token IDs end-to-end. No detokenize on the hot path. No JSON-parse per token. No UTF-8 round-trip at every hop. Compression and wire reduction are byproducts of the framing — what you actually buy is the ability to run the inference layer like infrastructure.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y '@codecai/mcp-leaf' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @codecai/mcp-leaf against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in other
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.
Unofficial KakaoTalk CLI and native MCP server for macOS — read, watch, and send messages via Accessibility automation.
Official command-line tool for Reolink IP cameras, doorbells and NVRs — LAN only, no cloud. Snapshots, PTZ, RTSP/RTMP stream URLs, two-way audio (talkback/TTS), motion and AI detection, event monitoring, VOD download. JSON output and a built-in MCP server. Works with Home Assistant, Frigate and go2rtc.
Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms.
MCP Security Weekly
Get CVE alerts and security updates for Mcp Leaf and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.