remote-mcp-server-with-auth

Official

Deploy authenticated remote MCP on Cloudflare

AuthorAradotso
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves the challenge of running secure, production-ready remote MCP servers that require user authentication and controlled access to tools backed by a database.

Core Features & Use Cases

  • GitHub OAuth Authentication: Enforces authenticated access using GitHub OAuth and encrypted cookies.
  • Role-Based Tool Permissions: Limits sensitive operations (especially database writes) to allowed usernames/roles.
  • PostgreSQL-Backed MCP Tools: Provides read-only querying and privileged write execution with SQL injection protection patterns.
  • Dual Transport Protocols: Supports both streamable HTTP at /mcp and SSE at /sse for compatibility.

Quick Start

Use the remote-mcp-server-with-auth skill to set up a Cloudflare Worker that serves an authenticated MCP endpoint at /mcp using GitHub OAuth credentials and a configured PostgreSQL DATABASE_URL.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: remote-mcp-server-with-auth
Download link: https://github.com/Aradotso/mcp-skills/archive/main.zip#remote-mcp-server-with-auth

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.