remote-mcp-server
Verified Safeby Jammy2005
Overview
This server provides a remote Model Context Protocol (MCP) endpoint on Cloudflare Workers, demonstrating how to integrate custom tools with AI agents (like Claude) and manage OAuth-based authentication.
Installation
npx nx dev remote-mcp-serverEnvironment Variables
- OAUTH_KV
- MCP_OBJECT
- ASSETS
Security Notes
The server's authentication logic is intentionally simplified for demonstration purposes. Specifically, the `/authorize` endpoint hardcodes `isLoggedIn = true`, and the `/approve` endpoint accepts any email and password combination as valid. This is explicitly stated in the source code as a demo feature. These bypasses make the application highly insecure for production use without replacing the mock authentication with a robust, real-world system. No 'eval' or obvious obfuscation was found. Markdown rendering is used for the homepage, which could pose an XSS risk if the input source was untrusted; however, it loads a local README.md.
Similar Servers
remote-mcp-server-authless
A remote Model Context Protocol (MCP) server deployed on Cloudflare Workers, providing a set of calculator tools without requiring authentication, designed for integration with AI clients like Cloudflare AI Playground or Claude Desktop.
mcp-remote-server-cloudflare
Deploys a remote Model Context Protocol (MCP) server on Cloudflare Workers to expose simple calculator and random number generation tools without requiring authentication.
remote-mcp-server-authless
A remote Model Context Protocol (MCP) server designed for Cloudflare Workers to expose AI agent tools, primarily demonstrating a calculator without requiring authentication for easy integration with MCP clients.
n8n-mcp-server
Deploys a remote Model Context Protocol (MCP) server on Cloudflare Workers for exposing AI tools without requiring authentication.