cf-rawg
Verified Safeby denkaryo
Overview
An AI agent for analyzing video game data using the RAWG API, deployed on Cloudflare Workers.
Installation
pnpm devEnvironment Variables
- RAWG_API_KEY
- OPENAI_API_KEY
- ANTHROPIC_API_KEY
- LLM_PROVIDER
- OPENAI_MODEL
- CLAUDE_MODEL
- BASIC_AUTH_USER
- BASIC_AUTH_PASS
- MCP_API_KEY
Security Notes
The server uses QuickJS in a sandboxed environment for `execute_calculation`, with a validator that actively checks for dangerous patterns like `eval`, `new Function()`, `process`, and network access (`fetch`). This significantly mitigates risks associated with arbitrary code execution. Client-side evaluation in the UI's 'Evaluation Panel' uses `new Function()`, but this is confined to the user's browser for debug purposes and does not pose a server-side vulnerability. All sensitive API keys are correctly managed via environment variables.
Similar Servers
tomcp
Converts any website into an MCP (Model-Config-Protocol) server for AI tools and enables AI chat with website content by converting HTML to clean Markdown.
mcp-server
Deploys an authentication-less Model Context Protocol (MCP) server on Cloudflare Workers, providing AI-powered tools for mathematical calculations and RAG-based search.
remote-mcp-server-authless
A serverless Model Context Protocol (MCP) agent providing basic calculator tools, designed for deployment on Cloudflare Workers without authentication for easy integration with AI clients.
remote-mcp-server-authless
Deploys a remote Model Context Protocol (MCP) server on Cloudflare Workers, providing an unauthenticated calculator agent for AI tools.