About Auth Demos
Auth Demos is an MCP server published by scalekit-inc in the AI category: model Context Protocol authentication demos - AI assistant integration examples.
The repository has 8 stars and 9 forks, with the last commit 2 months ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/scalekit-inc/mcp-auth-demosThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Auth Demos
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository just now. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
MCP Auth Demos: Node.js, Python & Ruby Servers
This repository demonstrates secure, production-ready Model Context Protocol (MCP) servers in Node.js, Python, and Ruby on Rails, with full integration to the Scalekit platform for OAuth 2.1 authentication and dynamic client registration.
Repository Structure
-
greeting-mcp-node/Node.js (TypeScript) MCP server with Scalekit OAuth 2.1 authentication and permissioned tool access. -
byoa-mcp-node/Node.js (TypeScript) MCP server demonstrating Bring Your Own Auth — Scalekit redirects to your own login page, you authenticate the user with your existing auth system, and Scalekit issues the MCP token. Custom claims (e.g.org_id,org_name) are embedded in the token and available to every tool handler. -
greeting-mcp-python/Python (FastAPI + FastMCP) MCP server with Scalekit authentication and permissioned tool access. -
greeting-mcp-ruby/Ruby on Rails MCP server with Scalekit OAuth 2.1 authentication. Uses the official MCP Ruby SDK with JWKS-based token validation — no client secret required.
Each subdirectory contains its own README with detailed setup and usage instructions.
Features
- Scalekit OAuth 2.1 Authentication: Secure, standards-based authentication and authorization for all MCP requests.
- Bring Your Own Auth (BYOA): Connect your existing login page to Scalekit's OAuth layer — no user migration required.
- Custom Token Claims: Pass any user/org attributes through the token so MCP tools can read them without extra database calls.
- Dynamic Client Registration: Register MCP servers with Scalekit for secure, permissioned access.
- JWKS Token Validation: RS256 signature verification via auto-discovered JWKS — no client secrets stored.
- Tool-Based Architecture: Easily extend with new tools and permissions.
- Production-Ready: Includes logging, CORS, and environment-based configuration.
Quick Start
See the README in each subproject for setup instructions:
License
This repository is licensed under the MIT License. See LICENSE for details.
Learn More
README fetched from the repository just now. The original is authoritative.