Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Keycardai MCP

MCP server by keycardai Verified · npm:@keycardai

Keycard MCP is a TypeScript SDK for adding OAuth to Model Context Protocol servers. It provides Express middleware, token verification and client providers, and it is aimed at Node.js developers building MCP servers.

  • Score 82
  • 4 stars
  • 1.3k a week
  • MIT
  • Updated

Install Keycardai MCP

Built from the published package, never by AI.

claude mcp add keycardai-mcp -- npx -y @keycardai/mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Keycardai MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the keycardai-mcp block.

About

Keycard MCP is a TypeScript SDK from keycardai for adding OAuth to Model Context Protocol servers and clients. It is published as the @keycardai/mcp package, which provides Express middleware, token verification and client providers. It depends on @keycardai/oauth, which provides OAuth 2.0 primitives such as JWKS key management, JWT signing and verification, and authorization server discovery.

Servers protect routes with requireBearerAuth and can call external APIs such as GitHub or Slack for users through RFC 8693 token exchange, using the .grant() middleware. Application credentials can be a client secret, a web identity (private key JWT), or an EKS workload identity. The package targets Node.js developers building MCP servers with Express 5 and @modelcontextprotocol/sdk 1.15.0 or later. Authentication requires network access to Keycard services.

Written from the project's README and checked against it.

What you need

  • Node.js 18 or greater
  • @modelcontextprotocol/sdk ^1.15.0 (peer dependency)
  • A Keycard zone ID from console.keycard.ai

Try asking

  • Protect my Express MCP server routes with bearer token checks
  • Exchange my user's token for a GitHub API token in my MCP server
  • Verify JWTs issued by my Keycard zone in TypeScript

Good to know

  • Express only. Fastify, Koa and Hono are not supported yet.
  • TypeScript and JavaScript only.
  • All authentication flows require network connectivity to Keycard services.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Protect an Express MCP server with bearer auth
  • Call external APIs on behalf of users
  • Verify JWTs from a Keycard zone

Alternatives to Keycardai MCP

All alternatives →
Agentmesh MCP Proxy microsoft
94

Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.

AAA Local 6.6k
Bla qybaihe
94

Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.

AAA Local 7.3k
Bla Agents qybaihe
94

Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.

AAA Local 11k/wk
MCP Auth zgeoff
94

A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner

AAC Local 44k/wk
Agentos MCP Server microsoft
94

Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.

AAA Local 6.6k
Convex MCP Gateway tfohlmeister
93

Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.

AAC Local 37k/wk

Compare with Agentmesh MCP Proxy, Bla or Bla Agents

Keycardai MCP: common questions

Does it need a Keycard account?

The source says you get a zone ID from console.keycard.ai. All authentication flows need network access to Keycard services.

Which frameworks does it support?

Server-side middleware targets Express 5. The source says Fastify, Koa and Hono are not supported yet.

Is there a Python version?

This SDK is TypeScript only. The source points to a separate Python SDK at github.com/keycardai/python-sdk.

How do I install Keycardai MCP?

In Claude Code run claude mcp add keycardai-mcp -- npx -y @keycardai/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Keycardai MCP the official server?

Keycardai MCP is published by npm:@keycardai from its verified domain in the official MCP Registry.

Is Keycardai MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Keycardai MCP safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Keycardai MCP?

Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.

Does Keycardai MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Keycardai MCP Install

Add to stack

Loading.