← Docs

AgentReady MCP server

Three token-saving tools for Claude Code, Claude Desktop, Cursor, Windsurf and any MCP client. Package: agentready-cloud-mcp on npm.

1. Get a key

Free key in 30 seconds, no card during the beta. Keys start with ak_.

2. Add the server

Claude Code
claude mcp add agentready -e AGENTREADY_API_KEY=ak_your_key -- npx -y agentready-cloud-mcp
Claude Desktop · Cursor (~/.cursor/mcp.json) · Windsurf
{
  "mcpServers": {
    "agentready": {
      "command": "npx",
      "args": ["-y", "agentready-cloud-mcp"],
      "env": { "AGENTREADY_API_KEY": "ak_your_key" }
    }
  }
}

Needs Node.js 18 or newer. Restart the client after editing its config.

3. Use it

Ask in plain words, or let the assistant reach for the tools on its own:

"Read https://docs.stripe.com/payments as markdown and summarise the refund rules"
"Compress this stack trace before you look at it"
"Shrink this JSON response, then find the orders that failed"

Tools

tokencut_compress

Compress long prompts, logs, documents and chat history. Code, URLs and numbers stay untouched.

ParameterTypeDefaultDescription
textstringrequiredText to compress
levelenumcavemancaveman (drops greetings, hedges and filler) · light (safest) · standard · aggressive
preserve_code / preserve_urls / preserve_numbersbooleantrueKeep these exactly as they are
outputenumofflite · caveman · ultra: also returns a short system rule that makes the model answer tersely
target_modelstringgpt-4oModel used for the cost estimate

url_to_markdown

Fetch a web page and return clean Markdown with title and metadata, without navigation, ads and scripts.

ParameterTypeDefaultDescription
urlstringrequiredPage to convert
remove_navigation / remove_adsbooleantrueStrip menus and ads
remove_commentsbooleanfalseStrip comment sections
preserve_imagesbooleanfalseKeep image references
include_tocbooleanfalsePrepend a table of contents
max_tokensnumber—Truncate the Markdown to about this many tokens

json_shrink

Turn JSON (API responses, tool output, database rows) into TOON: same data, far fewer tokens.

ParameterTypeDefaultDescription
json_textstringrequiredJSON object or array as text
target_modelstringgpt-4oModel used for the cost estimate

Building an app instead?

Use the one-line gateway for the OpenAI and Anthropic SDKs, or the REST API.