About Oauth Client
Oauth Client is an MCP server in the Security category.
Install
git clone https://github.com/IBJunior/mcp-oauth-clientThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Oauth Client
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Start the project
Build:
npm run build
Run dev:
npm run dev
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.
Note: This code was copied from MCP TypeScript SDK Examples
Create a Server
Create a Server using create-mcp-server:
npx @agentailor/create-mcp-server
Check the docs here: https://github.com/agentailor/create-mcp-server
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.