About Theauth
Theauth is an MCP server published by glincker in the Cloud category: auth for AI agents and humans. First-class agent identity, MCP OAuth 2.1, delegation, audit. TypeScript, edge-native, MIT. Conduid read 16 tools from its source: add_plugin, check_permission, doctor, generate_schema, get_agent, get_approval_status and 10 more. No package is published for it, so it installs from a source checkout.
The repository has 24 stars and 4 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v1.2.0 (17 Oct 2026). It follows v1.1.2 (14 Oct 2026), and the 5 most recent releases go back to v0.7.2 (11 Oct 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include agent-identity, audit-log, auth, authentication, authorization and cloudflare-workers.
Install
git clone https://github.com/glincker/theauthTools (16)
add_pluginReturn the install command, import and plugins-array entry for a theAuth plugin. Does not modify files; apply the edit yourself.check_permissionDry-run whether an agent may perform an action on a resource, with the decision (allow, deny, needs_approval) and a step-by-step trace. Calls the simulator endpoint: nothing is written, no audit row, no rate counter. Requires the simulator plugin and an admin-capable key.doctorSanity-check the configured theAuth deployment: URL transport, whether the key is accepted by the management routes, audit queryability, MCP OAuth metadata and the simulator plugin. Read-only; sends a handful of GET requests and one dry-run simulate probe that writes nothing.generate_schemaReturn the SQL tables theAuth creates for a feature set (SQLite DDL, built in memory). Tables are created automatically at startup; this is for review.get_agentFetch one agent identity by id: owner, type, status, expiry and permissions. Never returns the agent token.get_approval_statusPoll an admin approval request opened by a write tool. Returns pending, approved, denied or expired.get_docReturn the full text of one documentation page by slug, for example quickstart.inspectRead-only summary of the local theAuth setup: installed @glinr/theauth* packages, detected config (database provider, plugins, agents, MCP) and env var names. Never returns secret values.inspect_tokenDecode a JWT access token or recognise a theAuth agent token and report its metadata: algorithm, issuer, subject, audience, scopes, expiry state and risk warnings. Local only: the signature is NOT verified, nothing is sent over the network, and the token itself is never echoed back.list_agentsList agent identities with owner, type, status, expiry and granted permissions. Filter by status, type or owner. Tokens and free-form metadata are never returned.list_delegationsList delegation chains between users and agents, optionally filtered by agent or status. Tokens and secret-looking fields are redacted.list_filesList files in a directorylist_sessionsList user sessions with user, creation and expiry times. Session tokens are never returned.query_auditQuery the audit log of agent actions and authorization decisions, filtered by agent, user, time range or result. Secret-looking fields in recorded parameters are redacted.read_fileRead the contents of a filesearch_docsSearch the theAuth documentation. Returns matching pages with a snippet and URL.Security checks
- ✓README presentThe repository's README runs to about 1.8K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 1.8K words, fetched a month ago. The original in the repository is authoritative.
Read full README