Install
$ agentstack add mcp-localden-min-ts-mcp-auth ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
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:
- Token is successfully introspected (HTTP 200 from the authorization server).
activeflag (RFC 7662) is notfalse.audclaim (string or array) is present and at least one value matches the server's base URL (RFC 8707 resource indicator semantics).- 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,expenforcement (onlyexpis 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.
- Author: localden
- Source: localden/min-ts-mcp-auth
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.