Cloudflare Workers AI inference for AI agents: LLM chat completions (Llama 3.3 70B, Llama 3.1 8B, Llama 4 Scout, Qwen Coder 32B, DeepSeek R1 Distill), text embeddings (BGE small/base), and image generation (Flux 1 Schnell) β generous free tier, no infrastructure to run. npx -y @puspoaditya/cloudflare-workers-ai-mcp.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Model Context Protocol (MCP) server that gives AI agents access to Cloudflare Workers AI β serverless LLM inference, embeddings, and image generation with a generous free tier.
| Tool | Description |
|---|---|
list_models | List supported chat, embedding, and image models |
chat_completion | LLM chat completion (Llama 3.3 70B, Llama 3.1 8B, Llama 4 Scout, Qwen Coder 32B, DeepSeek R1 Distill) |
embed_text | Text embeddings (BGE small/base) |
generate_image | Image generation (Flux 1 Schnell) β base64 image (PNG/JPEG) |
/accounts/{id} segment of any dashboard URL)Add to claude_desktop_config.json:
Point the client at the same command (node dist/index.js with the two env vars).
OpenClaw supports MCP servers β add the same command to its MCP configuration.
Chat: POST /ai/v1/chat/completions (OpenAI-compatible) Β· Embeddings & images: POST /ai/run/{model} (native)
Models β chat: @cf/meta/llama-3.3-70b-instruct-fp8-fast Β· @cf/meta/infire-llama-3.1-8b-instruct Β· @cf/meta/llama-4-scout-17b-16e-instruct Β· @cf/qwen/qwen2.5-coder-32b-instruct Β· @cf/deepseek-ai/deepseek-r1-distill-qwen-32b
Embeddings: @cf/baai/bge-small-en-v1.5 Β· @cf/baai/bge-base-en-v1.5
Images: @cf/black-forest-labs/flux-1-schnell
Note:
@cf/meta/llama-3.1-8b-instructwas deprecated by Cloudflare (2026-05-30) β use@cf/meta/infire-llama-3.1-8b-instruct.
MIT β built by puspoaditya.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/puspoaditya-cloudflare-workers-ai-mcp)<a href="https://allmcps.com/mcp/puspoaditya-cloudflare-workers-ai-mcp"><img src="https://allmcps.com/api/badge/puspoaditya-cloudflare-workers-ai-mcp?style=directory" alt="Cloudflare Workers AI MCP on AllMCPs" /></a>