theauth-mcp MCP Server
Read-only MCP server to inspect agent identity, permissions and audit in a theAuth deployment
theauth-mcp scores 50 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Cloud. GitHub shows 24 stars. Package registries report about 27 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
50 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 50 comes from
0 + 20 + 9 + 10 + 4 + 7 = 50. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 9 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "glincker-theauth": { "command": "npx", "args": [ "-y", "@glinr/theauth-mcp@1.1.1" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
theAuth
Open-source TypeScript auth that gives AI agents their own identity, scoped permissions, delegation and an audit trail, next to normal human sign in.
Website | Docs | Quickstart | Playground | Examples | Go library
Quickstart
Needs Node 20 or newer. This runs as pasted, with an in-memory SQLite database.
The snippet needs 2.0.0, the version in this repo. npm latest was 1.2.0 on 2026-10-31, which has no auth.user. I ran it against a local build and got the output in the comments, so build packages/core until 2.0.0 ships.
npm install @glinr/theauth
import { createTheAuth } from "@glinr/theauth";
const auth = await createTheAuth({
database: { provider: "sqlite", url: ":memory:" },
agents: { enabled: true },
});
// An agent needs an owner row. Human sign in creates these for you.
const owner = await auth.user.create({ email: "owner@example.com", name: "Owner" });
const agent = await auth.agent.create({
ownerId: owner.id,
name: "github-reader",
type: "autonomous",
permissions: [{ resource: "mcp:github:*", actions: ["read"] }],
});
const read = await auth.authorize(agent.id, { action: "read", resource: "mcp:github:repos" });
const write = await auth.authorize(agent.id, { action: "write", resource: "mcp:github:repos" });
console.log(read.allowed, read.code); // true allowed
console.log(write.allowed, write.code); // false no_permission
agent.token starts with ta_ and is shown once. To serve this over HTTP, mount a framework adapter.
Why
Agents are principals with owners, not shared API keys. A parent agent can hand part of its permissions to a child, and revoking any link takes effect on the next call. Every decision returns a machine-readable code and writes an audit row.
It runs on Node, Bun, Deno and Cloudflare Workers with four runtime dependencies in core (drizzle-orm, jose, sql.js, zod). No hosted service needed.
Status
Versions follow STABILITY.md: stable is 1.0 or later, beta is 0.2 to 0.9, experimental is 0.1.
| Area | Status | Notes |
|---|---|---|
| Core, email, MCP, gateway, CLI, client | Stable | SemVer, breaking changes only in majors. Repo is at core 2.0.0, npm is at 1.2.0 |
| React, Vue, Svelte, Expo, Electron, UI, dashboard, test utils | Beta | May change between minor releases |
| Browser extension package | Experimental | 0.1.0 |
| SAML | Experimental | Our own verifier, no independent audit |
| Cookie session cache | Experimental, opt in | Can lag a revocation by up to its maxAge |
| Databases | SQLite tested in CI | Postgres run by hand, D1 untested, MySQL unsupported |
All 30-odd packages, versions and every known limit: Packages and status. Not sure it fits? Read When not to use theAuth.
Packages
The full table with versions and maturity lives in Packages and status. Core is in packages/core.
Related
- theauth-go: the Go server library (v2), with the same model. It is separate from the Go REST client in
sdks/go. - Python client and Terraform provider.
- Formerly kavachOS: see the rename map.
How this was built
Parts of this codebase were written with AI assistance. The code is covered by about 5,000 test cases (a textual count, see by the numbers) plus CodeQL in CI. It has had no third party security audit. If you find a problem, open an issue or report it privately as described in SECURITY.md.
Contributing and license
Questions: Discussions or the GLINR Discord. See CONTRIBUTING.md and CHANGELOG.md.
MIT. Built by GLINCKER, a GLINR STUDIOS company.
Frequently asked questions
What is theauth-mcp MCP Server?
Read-only MCP server to inspect agent identity, permissions and audit in a theAuth deployment
How do I install theauth-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. theauth-mcp MCP Server runs locally from the npm package @glinr/theauth-mcp with the command npx -y @glinr/theauth-mcp@1.1.1.
Is theauth-mcp MCP Server free and open source?
Yes. theauth-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does theauth-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for theauth-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is theauth-mcp MCP Server's trust score calculated?
theauth-mcp MCP Server scores 50 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.