# mcp-plan-gate-example

> mcp-plan-gate-example — techcodecrafter-mcp-plan-gate-example. Use this tool when you need to implement subscription-based access control for MCP endpoints, solving problems of unauthorized access and un-metered usage. It provides a reference implementation for authenticating and authorizing users, checking plan entitlements, and metering usage across multiple tenants. With inputs such as user credentials and plan details, it outputs access decisions and usage metrics, making it ideal for use cases requiring secure and scalable endpoint management.

Canonical page: https://skillsregistry.net/skills/techcodecrafter-mcp-plan-gate-example  
JSON: https://api.skillsregistry.net/v1/skills/techcodecrafter-mcp-plan-gate-example

## Description

Reference implementation for adding subscription-based gating to MCP endpoints, covering auth, plan entitlements, usage metering, and multi-tenant scoping.

## Trust

- **Trust score (0–1):** 0.68
- **Verification tier:** scanned
- **Last scanned:** 2026-08-29

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** other
- **Updated:** 2026-08-29

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/sj5l3lri6t)
- **Repository:** <https://github.com/TechCodeCrafter/mcp-plan-gate-example>

## 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": "techcodecrafter-mcp-plan-gate-example"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/techcodecrafter-mcp-plan-gate-example` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/techcodecrafter-mcp-plan-gate-example/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
