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-mcpClaude 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.
| Parameter | Type | Default | Description |
|---|---|---|---|
| text | string | required | Text to compress |
| level | enum | caveman | caveman (drops greetings, hedges and filler) · light (safest) · standard · aggressive |
| preserve_code / preserve_urls / preserve_numbers | boolean | true | Keep these exactly as they are |
| output | enum | off | lite · caveman · ultra: also returns a short system rule that makes the model answer tersely |
| target_model | string | gpt-4o | Model 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.
| Parameter | Type | Default | Description |
|---|---|---|---|
| url | string | required | Page to convert |
| remove_navigation / remove_ads | boolean | true | Strip menus and ads |
| remove_comments | boolean | false | Strip comment sections |
| preserve_images | boolean | false | Keep image references |
| include_toc | boolean | false | Prepend a table of contents |
| max_tokens | number | — | 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.
| Parameter | Type | Default | Description |
|---|---|---|---|
| json_text | string | required | JSON object or array as text |
| target_model | string | gpt-4o | Model used for the cost estimate |
Building an app instead?
Use the one-line gateway for the OpenAI and Anthropic SDKs, or the REST API.