Claude Code is Anthropic's terminal-based AI coding agent. By wiring it to Agent Media Tools, Claude can resize images, generate PDFs, scrape websites, create QR codes, and run 70+ utility tools β all from natural language prompts in your terminal.
The MCP (Model Context Protocol) server gives Claude direct tool access. Each tool becomes a function Claude can call autonomously.
Sign up at agentmediatools.com and generate an API key from your account dashboard.
Edit ~/.claude/claude_dotfiles/claude_code_mcp.json or run:
# Preview only β @agentmediatools/mcp-server is not published yet. claude mcp add agent-media-tools -- \ npx @agentmediatools/mcp-server \ --api-key mt_your_key_here
Or add it manually to your MCP config:
# Preview only β use the downloadable Claude Desktop package or REST today.
{
"mcpServers": {
"agent-media-tools": {
"command": "npx",
"args": ["@agentmediatools/mcp-server"],
"env": {
"MEDIA_TOOL_API_KEY": "mt_your_key_here"
}
}
}
}
In your Claude Code terminal:
# "Take a screenshot of example.com" # "Resize this photo to 1024px wide" # "Convert that PDF to text" # "Generate a QR code for my website" # "Compress all images in this folder"
If MCP isn't available, use the REST API directly. Claude Code can execute curl and Python natively.
# Scrape a page
curl -H "Authorization: Bearer mt_your_key_here" \
-X POST -H "Content-Type: application/json" \
-d '{"url":"https://example.com","format":"markdown"}' \
https://agentmediatools.com/api/agent/scrape
# Generate a QR code (free, no auth)
curl -X POST -H "Content-Type: application/json" \
-d '{"text":"https://agentmediatools.com"}' \
https://agentmediatools.com/api/qrcode -o qr.png
After connecting, Claude Code can autonomously use these tools:
| Category | Examples |
|---|---|
| πΌοΈ Image | Resize, convert, compress, crop, analyze EXIF, batch process |
| π PDF | Merge, split, compress, rotate, extract text, convert to images |
| π Web | Screenshot, HTMLβPDF, article extraction, scrape |
| π¨ AI | Generate images/video, transcribe audio, OCR, remove backgrounds |
| π Utility | QR codes, pastebin, URL shortener, UUID, password gen |
| π Intel | DNS lookup, SSL check, WHOIS, timezone convert, regex test |
| π¦ Data | CSVβJSON, case convert, slugify, zip/unzip, unit conversion |