Back to Home
itoyuya1005 icon

remote-mcp-server-auth

Verified Safe

by itoyuya1005

Overview

A remote Model Context Protocol (MCP) server deployed on Cloudflare Workers, providing AI tools authenticated via Google OAuth for consumption by AI clients.

Installation

Run Command
npm run dev

Environment Variables

  • OAUTH_KV
  • ALLOWED_DOMAIN
  • MCP_OBJECT
  • GOOGLE_CLIENT_ID
  • GOOGLE_CLIENT_SECRET
  • COOKIE_ENCRYPTION_KEY

Security Notes

The server implements Google OAuth for user authentication, using environment variables (`GOOGLE_CLIENT_ID`, `GOOGLE_CLIENT_SECRET`, `COOKIE_ENCRYPTION_KEY`) for sensitive credentials. OAuth state is stored in a KV namespace with an expiration TTL for CSRF protection. Email verification and optional domain restriction (`ALLOWED_DOMAIN`) enhance security. The current implementation of MCP tools (`add`, `calculate`, `whoami`) are simple and do not pose direct execution risks or external API calls beyond the OAuth flow. No 'eval' or obvious obfuscation is detected. The name 'remote-mcp-server-authless' in the README is misleading given the actual source code includes full OAuth.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Stars0
Forks0
Last Update2025-12-03

Tags

Cloudflare WorkersModel Context ProtocolAI ToolsOAuthGoogle Authentication