Authshore

io.github.jyswee由 GitHub 账号 jyswee 发布v1.0.3更新于 Nov 2, 2026

Auth infrastructure for coding agents. User pools, secrets vault, token management. As easy as git.

发布方自己的服务:Vips

概览

AI 生成的概览

AuthShore 为编码代理提供认证基础设施:用户池、加密密钥库和 JWT 令牌管理,可通过本地或远程 MCP 服务器使用。

可以做什么
  • 说明 AuthShore 是什么以及如何在当前会话中激活该服务器
  • 创建新的 AuthShore 项目并返回可解锁其余工具的 API 密钥
  • 管理用户池、用户以及返回 JWT 的注册/登录流程
  • 存储、读取、版本化和删除项目加密密钥
  • 校验、刷新和吊销令牌,并查看项目状态
适用场景
当代理正在构建需要认证的应用,希望它自行创建用户池、避免把密钥写进 .env 文件,并处理 JWT 校验与刷新而无需云控制台时适用。
运行要求
需要远程 SSE 端点,或通过 npx 运行的本地 npm 包(Node.js)。需要 AuthShore API 密钥,通过 AUTHSHORE_API_KEY 环境变量或 Authorization Bearer 头提供;没有密钥时服务器进入引导模式,可自行注册新项目。
安装前请注意
该服务器会存储并返回密钥,因此 API 密钥及其处理的密钥库内容都属敏感信息,项目配置目录应排除在版本控制之外。注册会创建真实账户并返回仅显示一次的 API 密钥,传入邮箱可能触发付费方案试用邀请。用户池、密钥和令牌操作会创建、修改和删除数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Authshore,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 SSE。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.jyswee%2Fauthshore/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "authshore": {
      "type": "sse",
      "url": "https://mcp.authshore.ai/sse"
    }
  }
}

README

as

[npm version] [MCP] [Remote MCP]

Auth infrastructure for coding agents — user pools, secrets vault, token management. As easy as git.

git for your code. as for your auth.

Your agent can scaffold a whole app in an afternoon — then stalls the moment it needs auth. It hardcodes secrets into .env files it later commits, rolls its own JWT handling, and leaves you wiring up Cognito by hand. AuthShore is the auth layer your agent runs itself: one install, and it provisions user pools, stores secrets encrypted, and mints, validates and refreshes tokens — from the terminal, with no console to click through.

Works with: Claude Code · Cursor · Cline · Windsurf · Aider · Codex · any MCP client

See It In Action

Real terminal sessions against the live API — click a GIF for the full video.

Zero to auth in 60sSecrets vaultTokens & pools
[Zero to auth in 60s][Secrets vault][Tokens & pools]

More demos: authshore.ai/#demo

Install

bash
npm install -g authshore

The npm package is authshore; the command is as.

Quick Start

bash
# 1. Create a project — free plan, API key active immediately, no cardas signup my-project --email [email protected] --local
# 2. Create a user poolas pool create main
# 3. Store a secret (encrypted at rest, versioned)as secret set DATABASE_URL "postgres://user:pass@host:5432/db"
# 4. Sign up a user in your poolas pool auth signup main --email [email protected] --password SecurePass123!
# Full referenceas help

User Pools — Cognito without the console

Every project gets isolated user pools your agent manages from the terminal: create pools, add users, run full signup/signin flows that return real JWT pairs.

bash
as pool create main                      # create a poolas pool list                             # list poolsas pool users <id>                       # list users in a poolas pool user add <id> --email E --password Pas pool auth signup <id> --email E --password P   # returns access + refresh tokensas pool auth signin <id> --email E --password P

Secrets Vault — stop pasting keys into .env

Encrypted, versioned key-value storage scoped to your project. Your agent stores third-party keys once and reads them at deploy time — nothing sensitive left sitting in the repo.

bash
as secret set STRIPE_KEY "sk_..." --env productionas secret get STRIPE_KEY                 # decrypted readas secret listas secret versions STRIPE_KEY            # full version historyas secret delete STRIPE_KEY

Tokens — mint, validate, refresh, revoke

The JWT plumbing agents usually hand-roll, done right once.

bash
as token validate <jwt>                  # verify signature + expiry, show claimsas token refresh <refresh-token>         # rotate the pairas token revoke <token>                  # kill a compromised token

MCP Server

Prefer tools over a CLI? as ships an MCP server. Point Claude Code (or any MCP client) at it and your agent gets 18 native tools: pools, users, secrets, tokens, project status.

bash
claude mcp add authshore --env AUTHSHORE_API_KEY=as_your_key_here -- as mcp-serve

For clients that use a JSON config (Cline, Cursor, Windsurf), pass your API key via the AUTHSHORE_API_KEY environment variable. The MCP server runs outside your project directory, so it will not pick up .authshore/config.json:

json
{  "mcpServers": {    "authshore": {      "command": "as",      "args": ["mcp-serve"],      "env": { "AUTHSHORE_API_KEY": "as_your_key_here" }    }  }}

No key yet? as signup my-project --email [email protected] provisions one in seconds — free plan, no card.

Remote MCP — zero install

No CLI at all? Claude Web, Claude Desktop, Raycast, or any hosted MCP client can connect straight to our remote server. Same 18 tools, nothing to install:

URL:  https://mcp.authshore.ai/sseAuth: Authorization: Bearer YOUR_API_KEY

No key? Connect without one: the remote server starts in onboarding mode with an authshore_signup tool that provisions your account and unlocks everything in the same session.

Features

  • User pools - isolated pools per project, full signup/signin flows, real JWT pairs
  • Secrets vault - encrypted at rest, versioned, environment-scoped
  • Tokens - validate, refresh, revoke from the terminal
  • MCP server - 18 tools, local (as mcp-serve) or fully remote (mcp.authshore.ai): Claude Code, Claude Web, Cursor, Raycast, any MCP client
  • Agent-first CLI - --json on every command for programmatic parsing
  • Project-local config - .authshore/config.json, auto-loaded, gitignore-friendly

Pricing: free plan with an instantly-active API key — no card, no trial clock. Paid plans (Starter $9 / Pro $29 / Scale $99 per month) come with a 7-day free trial via secure Stripe checkout. Details.

Config

bash
as login --key YOUR_KEY --local     # saves to .authshore/config.json (project-local)as config                           # show active configas me                               # identity check: which project am I?

API key is resolved in this order (highest priority first):

  1. --key flag
  2. AUTHSHORE_API_KEY environment variable
  3. ./.authshore/config.json (project-local)
  4. ~/.authshore/config.json (global)

Add .authshore/ to your .gitignore.

Agent Integration

Add to your CLAUDE.md, .cursorrules, .clinerules, .windsurfrules, or AGENTS.md:

## AuthThis project uses AuthShore for auth: user pools, secrets, tokens.Use the `as` CLI. Config is in .authshore/config.json (auto-loaded).If not configured: as login --local --key YOUR_KEYRun `as help` for the full command reference. Run `as me` before any writes.

Why this exists

Every agent-built app hits the same wall: auth. I watched my agents hardcode secrets, reinvent JWT refresh, and stall on Cognito consoles they can't click. So I built the auth layer the agent runs itself. It's early and I'm iterating fast: if something's rough or missing, open an issue — I read every one.

Documentation

License

Proprietary - Tyga.Cloud Ltd. See LICENSE.

来源:README.md,提交 4489948

工具

2

authshore_get_started

Explains what AuthShore is and how to activate this MCP server (no API key on this session yet).

无需输入参数。

authshore_signup

Create a new AuthShore project. Returns an API key (shown once), active immediately on the Free plan — no card required. Unlocks all AuthShore tools in this session. Optionally pass the human's email to send a 7-day-trial invitation for paid plans.

输入参数nameslug必填email

版本历史

1
  1. v1.0.3最新Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

其他 Vipsallowed 集成