原始内容

Scalekit Auth Plugins for GitHub Copilot CLI — the auth stack for agents.
Add MCP Auth and tool-calling to your MCP servers from GitHub Copilot CLI.
A GitHub Copilot CLI plugin marketplace for adding OAuth 2.1 authorization and tool-calling to MCP (Model Context Protocol) servers using Scalekit.
Plugins
mcp-auth
Guides and implementation patterns for securing MCP servers with OAuth 2.1. Covers multiple frameworks so you can pick the right approach for your stack.
Skills:
| Skill | Description |
|---|---|
mcp-auth |
Comprehensive guide — HTTP transport, token validation, scope-based auth |
add-auth-fastmcp |
Simplest path: FastMCP + Scalekit provider in ~5 lines |
express-mcp-server |
Express.js with custom middleware and fine-grained token control |
fastapi-fastmcp |
FastAPI + FastMCP for Python apps needing advanced authorization |
Agents:
| Agent | Description |
|---|---|
setup-scalekit |
Sets up Scalekit env vars, installs the SDK, and verifies credentials |
scalekit-mcp-auth-troubleshooter |
Diagnoses MCP auth issues (handshake, CORS, cached clients, port limits) |
Installation
Add this marketplace to your Copilot CLI:
copilot plugin marketplace add https://github.com/scalekit-inc/github-copilot-authstack
Install a plugin:
copilot plugin install scalekit-inc/github-copilot-authstack:plugins/mcp-auth
List available plugins:
copilot plugin list
Run a skill:
copilot mcp-auth add-auth-fastmcp
Repository Layout
.github/plugin/marketplace.json Marketplace manifest
plugins/
mcp-auth/
agents/ Copilot agents
skills/ Copilot skills
.github/plugin/plugin.json Plugin manifest
.mcp.json MCP server config
AGENTS.md Non-negotiable rules for contributors
Prerequisites
- Scalekit account with
client_idandclient_secret - GitHub Copilot CLI installed and configured
- Project where you want to add MCP authentication
Helpful Links
Documentation
- Scalekit Documentation — Complete guides and API reference
- MCP Auth Guide — Secure MCP servers
- Agent Auth Guide — Authentication for AI agents
Resources
- Admin Portal — Manage your Scalekit account
- API Reference — Complete API documentation
- Code Examples — Ready-to-use snippets
Contributing
Contributions are welcome! Please see AGENTS.md for contribution guidelines.
- Fork this repository
- Create a branch —
git checkout -b feature/my-plugin - Make your changes following the plugin structure in AGENTS.md
- Test locally
- Open a Pull Request
License
This project is licensed under the MIT license. See the LICENSE file for more information.