CyberMax
Home › Use with › Leafmelt

Use Leafmelt MCP with OpenAI Codex CLI

PDF/Word/Excel/HTML to clean Markdown for LLMs and RAG. Keys $19/mo; 50 free calls a day.

Remote MCP server (Streamable HTTP), nothing to install. Free: 50 free calls a day · Paid: Keys $19/mo

Set it up

  1. Open ~/.codex/config.toml (create it if needed).
  2. Add the [mcp_servers] table shown and save.
  3. Start Codex; the server's tools are available to the agent.
  4. Ask a question the tools can answer.

Add to ~/.codex/config.toml:

[mcp_servers.leafmelt]
url = "https://leafmelt.cybermaxtools.com/mcp?via=use-with-codex"

With a paid key:

[mcp_servers.leafmelt]
url = "https://leafmelt.cybermaxtools.com/mcp?via=use-with-codex"
env_http_headers = { "x-api-key" = "CYBERMAX_API_KEY" }

env_http_headers maps the header to an environment variable name, so the key stays in your environment.

Where it goes:

Config format checked 2026-10-09 against OpenAI Codex CLI's MCP documentation.

Tools you get

Endpoint checked 2026-10-09: https://leafmelt.cybermaxtools.com/mcp answered an MCP initialize (protocol 2025-06-18) and tools/list with 2 tools, all marked read-only. No key was used and no tool was called.

ToolWhat it doesRequired inputs
convert_to_markdownConvert 1-5 documents (PDF, Word .docx, Excel .xlsx/.xls, OpenDocument, Apple Numbers, CSV, HTML, XML) to clean Markdown for reading or RAG. Pass public URLs in urls, or files as [{name, base64}]. Returns markdown, format, characters, approxTokens and truncated per document. Not for images or scanned PDFs (no OCR).none
supported_formatsList the document formats Leafmelt converts, with file extensions and MIME types.none

Test the endpoint from a terminal

This lists the tools without a key and without calling any of them:

curl -s https://leafmelt.cybermaxtools.com/mcp \
  -H 'content-type: application/json' \
  -H 'accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

If it does not work

Leafmelt in other clients

CursorVS Code (GitHub Copilot)Claude CodeClaude Desktop and claude.aiWindsurf (Devin Desktop)ClineGemini CLI

More MCP servers for OpenAI Codex CLI

AfterwrenAwardtide Recompete RadarBonafido: Business Domain Verification APICitewrenCommonkite: Free Image Search API, Creative Commons & CC0CyberMax DataDomainDNADutyfinchFeedpeck: RSS Feed Finder & Reader by WebsiteFieldwrightFigurewellHaulrollHireHeatInsidewellKevscopeLinkheftLogolark: Company Logo API & Favicon Finder by DomainMailvett: Email Validation API for AI AgentsNamewhereOrbitwrenPinloft: Batch Geocoder — Address to Lat/Long + Census FIPSPricewickPrintwren: HTML to PDF and URL to PDF (real Chrome)RecallrollShiftmoorSumbloomSwellmeter TrendingZiplore: US ZIP Code API (county, time zone, demographics, radius)

All Leafmelt setups · All OpenAI Codex CLI setups · All