# MCP Auth Example

> Use this tool when you need to implement secure authentication and authorization in a microservices architecture, solving problems of unauthorized access and fine-grained permission management. It provides a demonstration of Bearer token authentication via Nginx and authorization via Envoy and OPA, accepting input configurations and outputting authorized requests. Ideal for use cases requiring robust security and access control in distributed systems.

Canonical page: https://skillsregistry.net/skills/jason-cky-mcp-auth  
JSON: https://api.skillsregistry.net/v1/skills/jason-cky-mcp-auth

## Description

Demonstrates a FastMCP server with Bearer token authentication via Nginx and fine-grained authorization via Envoy and OPA.

## Trust

- **Trust score (0–1):** 0.98
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** security
- **Updated:** 2026-09-19

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/igq2m23tne)
- **Repository:** <https://github.com/Jason-CKY/mcp-auth>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "jason-cky-mcp-auth"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/jason-cky-mcp-auth` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/jason-cky-mcp-auth/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
