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 整合