AgentStack
MCP verified MIT Self-run

Min Ts Mcp Auth

mcp-localden-min-ts-mcp-auth · by localden

Minimal implementation of MCP server auth with TypeScript.

No reviews yet
0 installs
17 views
0.0% view→install

Install

$ agentstack add mcp-localden-min-ts-mcp-auth

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Min Ts Mcp Auth? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

min-ts-mcp-auth

Minimal implementation of MCP server auth with TypeScript.

Security Notes

This demo always validates the access token audience (resource indicator) returned by the introspection endpoint.

Checks performed during introspection:

  1. Token is successfully introspected (HTTP 200 from the authorization server).
  2. active flag (RFC 7662) is not false.
  3. aud claim (string or array) is present and at least one value matches the server's base URL (RFC 8707 resource indicator semantics).
  4. Scopes are parsed into an array for later use (no specific scopes required by default).

Not implemented (could be added):

  • Local JWT signature verification via JWKS (currently relies on remote introspection).
  • Explicit iss, typ, nbf, exp enforcement (only exp is returned and stored, not validated inline).
  • Caching / throttling of introspection requests.

Use this code for experimentation only; harden before production.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.