remote-mcp-server-authless
by yulunjiang
Overview
Builds an AI-powered roaming customer service assistant (chatbot) as a remote Model Context Protocol (MCP) server.
Installation
wrangler devEnvironment Variables
- OPENAI_API_KEY
- MCP_SSE_URL
- SESSION_TIMEOUT_MINUTES
- USE_MOCK_DATA
Security Notes
CRITICAL: The `chat` MCP tool's error handling in `src/index.ts` exposes `this.env.OPENAI_API_KEY` in its JSON error response. This is a severe vulnerability that could lead to the compromise of the OpenAI API key if any error occurs within the `handleChatRequest` function in the MCP context. It should be removed immediately. Additionally, some helper modules use `dotenv.config()` instead of relying on the Cloudflare Worker's `env` object, which might lead to unexpected behavior or missed configuration in a Worker environment.
Similar Servers
remote-mcp-server-authless
A remote Model Context Protocol (MCP) server deployed on Cloudflare Workers, providing unauthenticated access to basic calculator tools for AI agents.
remote-mcp-server-authless
Deploys a remote Model Context Protocol (MCP) server without authentication on Cloudflare Workers, providing basic calculator tools for AI agents.
remote-mcp-server-authless
Deploys a remote Model Context Protocol (MCP) server on Cloudflare Workers to expose calculator tools to AI clients without requiring authentication.
remote-mcp-server-authless
Deploys a remote Model Context Protocol (MCP) server on Cloudflare Workers to host custom AI tools, demonstrated with basic arithmetic functions without requiring authentication.