agentready-cloud-mcp

v0.3.0
agentready-cloud-mcp Checked 16 hours ago Published 19 days ago

MCP server for AgentReady: compress prompts with TokenCut, turn any URL into clean Markdown and shrink JSON into TOON, inside Claude, Cursor, Windsurf and any…

AgentReady MCP server Give your AI assistant three token-saving tools from AgentReady: - tokencut_compress: compresses long prompts, documents and context before they reach the model. Filler, pleasantries and redundancy go; code, URLs and numbers stay untouched. Optional output lever (lite, caveman, ultra) returns a short system rule that makes the model answer tersely, so you save on output tokens too. - url_to_markdown: fetches a web page and returns clean Markdown with title and metadata.

Summary extracted from the README.

AgentReady MCP server

Give your AI assistant three token-saving tools from AgentReady:

  • tokencut_compress: compresses long prompts, documents and context before they reach the model. Filler, pleasantries and redundancy go; code, URLs and numbers stay untouched. Optional output lever (lite, caveman, ultra) returns a short system rule that makes the model answer tersely, so you save on output tokens too.
  • url_to_markdown: fetches a web page and returns clean Markdown with title and metadata. Navigation, ads and scripts are stripped, so a page costs a small fraction of the tokens of its raw HTML.
  • json_shrink: converts JSON (API responses, tool output, database rows) into TOON: arrays of objects become a header plus CSV-like rows, so keys are not repeated on every item.

Works with Claude Desktop, Claude Code, Cursor, Windsurf and any MCP client. Get a free API key at agentready.cloud.

Setup

Claude Code

claude mcp add agentready -e AGENTREADY_API_KEY=ak_your_key -- npx -y agentready-cloud-mcp

Claude Desktop, Cursor, Windsurf

Add to claude_desktop_config.json, ~/.cursor/mcp.json or your client's MCP settings:

{
  "mcpServers": {
    "agentready": {
      "command": "npx",
      "args": ["-y", "agentready-cloud-mcp"],
      "env": { "AGENTREADY_API_KEY": "ak_your_key" }
    }
  }
}

Tools

tokencut_compress

Parameter Default
text required Text to compress
level caveman caveman (drops greetings, hedges, filler), light (safest), standard, aggressive
preserve_code / preserve_urls / preserve_numbers true Keep these untouched
output off lite, caveman, ultra: also return a terse-answer system rule
target_model gpt-4o Model used for the token and cost estimate

Returns the compressed text plus tokens before/after. Savings depend on the text: verbose prose and chat transcripts shrink most, dense technical text least.

url_to_markdown

Parameter Default
url required Page to convert
remove_navigation / remove_ads true Strip menus and ads
remove_comments false Strip comment sections
preserve_images false Keep image references
include_toc false Prepend a table of contents
max_tokens none Truncate the Markdown to about this many tokens

Returns Markdown plus tokens of the raw HTML vs the Markdown.

json_shrink

Parameter Default
json_text required JSON object or array, as text
target_model gpt-4o Model used for the token and cost estimate

Returns the TOON text plus JSON vs TOON token counts.

Environment

  • AGENTREADY_API_KEY (required): your key from agentready.cloud
  • AGENTREADY_API_URL (optional): defaults to https://agentready.cloud/api/v1

License

MIT, AgentReady