1. Conduid
  2. Developer Tools
  3. Auth MCP
MCP server · Developer Tools

Auth MCP

@civic/auth-mcp - Authentication for Model Context Protocol

Unclaimed MIT last commit 7 months ago devtools
56Fair

Scored yesterday · breakdown

About Auth MCP

Auth MCP is an MCP server published by civicteam in the Developer Tools category: @civic/auth-mcp - Authentication for Model Context Protocol. It has been installed 0 times through Conduid.

The repository has 2 stars and 2 forks, with the last commit 7 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx auth-mcp

This 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 Auth MCP

Powered by Claude · Grounded in docs

I know everything about Auth MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.5.0Release v0.5.0 · 29 Jun 2026Changes in this release: Accept the base Civic issuer alongside the tenant-scoped issuer during token validation, fixing `unexpected "iss" claim value` 401s for base-issuer tokens (client_credentials, token-exchange output) when dynamic…
v0.4.0Release v0.4.0 · 12 Jun 2026Changes in this release: See [CHANGELOG.md](https://github.com/civicteam/auth-mcp/blob/main/CHANGELOG.md) for details
v0.3.1Release v0.3.1 · 26 Mar 2026Changes in this release: See [CHANGELOG.md](https://github.com/civicteam/auth-mcp/blob/main/CHANGELOG.md) for details
v0.3.0v0.3.0 · 17 Mar 2026Changes Breaking Removed `issuerUrl` option — resource URL (RFC 9728 `resource` field) is now dynamically derived from request host, Express mount path, and `mcpRoute` Changed `WWW-Authenticate` metadata URL now constructed per RFC 9728…
v0.2.9v0.2.9 · 11 Mar 2026Fixed Preserve `mcp:tools` scope during dynamic client registration - the DCR proxy was stripping all client-requested scopes and replacing them with hardcoded defaults Security Updated @modelcontextprotocol/sdk from ^1.24.1 to ^1.26.0…

README

@civic/auth-mcp

CI npm version codecov

🔐 Authentication for Model Context Protocol - Monorepo

This repository contains the Civic Auth MCP library and examples for adding secure authentication to MCP servers and clients.

📦 Packages

🚀 Quick Start

# Install the library
pnpm add @civic/auth-mcp @modelcontextprotocol/sdk

# Run examples
pnpm install
pnpm build
pnpm --filter example-server start

🛠️ Development

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Run tests
pnpm test

# Run linting
pnpm lint

🔒 Security Auditing

This project uses audit-ci for dependency vulnerability scanning in CI/CD. To manage security vulnerabilities:

  • Configuration: Edit audit-ci.jsonc to add vulnerabilities to the allowlist
  • Run audit: pnpm run audit:ci (fails on moderate+ vulnerabilities not in allowlist)
  • CI/CD: Security audit runs automatically on all PRs and pushes to main

To allowlist a vulnerability, add its identifier to audit-ci.jsonc:

{
  "allowlist": [
    "GHSA-xxxx-xxxx-xxxx",  // GitHub Security Advisory
    "CVE-2024-xxxxx",       // CVE identifier
    "1234567"               // NPM advisory ID
  ]
}

📚 Documentation

Full documentation and usage examples are available in the library/ package.

🚨 Legacy OAuth Mode

For backward compatibility, the auth() middleware automatically includes legacy OAuth endpoints that allow MCP servers to act as OAuth servers. This mode is enabled by default but is deprecated.

The following endpoints are automatically exposed:

  • /.well-known/oauth-authorization-server - OAuth server metadata
  • /authorize - Authorization endpoint (proxies to Civic Auth)
  • /token - Token endpoint (proxies to Civic Auth)
  • /register - Registration endpoint (if supported)

To disable legacy mode:

app.use(await auth({
  enableLegacyOAuth: false  // Disable legacy OAuth endpoints
}));

📄 License

It is provided as-is, without warranty of any kind, express or implied. Civic makes no guarantees of fitness for a particular purpose or ongoing support. Use of this library is governed solely by the terms of the MIT License.

By using this software, you agree that Civic shall not be held liable for any damages arising from its use, performance, or integration.

Note: The @civic/auth-mcp library is released as an open-source project under the MIT License.

It is provided without warranty or support guarantees.

README mirrored from the source repository yesterday. The original is authoritative.

Questions

About Auth MCP

How do I install Auth MCP?

Run npx auth-mcp, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Auth MCP safe to use with an AI agent?

Its trust score is 56 out of 100 (fair). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Auth MCP still maintained?

Yes — the latest release is v0.5.0 (29 Jun 2026), and the last commit was 7 months ago. The repository has 2 stars and 0 open issues.