プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Attest MCP

作者:chudah1バージョン 0.1.0i★ –iパソコンで動く
レジストリ名io.github.chudah1/attest-mcp

インストール

概要

作者による説明(英語の原文)

Credential enforcement middleware for MCP servers — verifies scoped tokens on every tool call

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: ATTEST_BASE_URL

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "attest": {
      "command": "npx",
      "args": [
        "-y",
        "@attest-dev/mcp"
      ],
      "env": {
        "ATTEST_BASE_URL": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add attest --env ATTEST_BASE_URL=your-value -- npx -y @attest-dev/mcp

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "attest": {
      "command": "npx",
      "args": [
        "-y",
        "@attest-dev/mcp"
      ],
      "env": {
        "ATTEST_BASE_URL": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "attest": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@attest-dev/mcp"
      ],
      "env": {
        "ATTEST_BASE_URL": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • ATTEST_BASE_URL env
    Base URL of the Attest server

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント chudah1 で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの18436件のうち0%よりスターが多い
  • このカテゴリのほかの18436件のうち5%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの18436件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Attest MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.0)がレジストリに届いたのは7 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, MONS

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 2113 日前更新
インストール

MONS

作者:tomis3

Build and adjust your clients' MONS training plans: programs, templates, exercises, sets, reps.

クラウドで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

@attest-dev/sdk/mcp

Attest credential enforcement middleware for Model Context Protocol servers.

Two lines to protect every tool call on an existing MCP server.

Install

npm install @attest-dev/sdk

@attest-dev/sdk ships both the core client and the MCP middleware as a single package with two entry points.

Two-line integration

import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";

import { withAttest } from "@attest-dev/sdk/mcp";

const server = new McpServer({ name: "my-tools", version: "1.0.0" }); const protectedServer = withAttest(server, { issuerUri: "https://api.attest.dev", });

// Register tools exactly as before — every call is now credential-gated. protectedServer.tool("send_email", schema, handler);

withAttest patches server.tool() in place and returns the same server object typed as the original. Everything else — connect(), close(), transports — works unchanged.

How it works

On every tool call, before the handler executes:

  1. Extract credential from extra.authInfo.token (MCP auth middleware path), extra.meta.attest_token, or extra.meta.authorization
  2. Verify RS256 signature + expiry offline against the issuer's JWKS (fetched once, cached for 1 hour by default)
  3. Map tool name → scope using scopeForTool() and check the credential's att_scope covers it
  4. Check revocation via GET /v1/revoked/{jti} (10-second in-process cache)
  5. Pass through to the original handler on success
  6. Return a structured error on any failure — agent frameworks receive isError: true with a typed JSON payload
  7. Fire audit event to POST /v1/audit — async, never blocks the tool call

Scope mapping

Tool names are automatically mapped to resource:action scope strings. The first word (before the first _) becomes the action; the remainder becomes the resource.

Tool nameRequired scopeNotes
send_emailemail:send
read_filefile:read
list_documentsdocuments:list → documents:readlist aliases to read
create_useruser:create → user:writecreate aliases to write
delete_recordrecord:delete
get_weather_forecastweather_forecast:readmulti-word resources keep underscores
run_queryquery:run → query:executerun aliases to execute

Action aliases — these raw prefixes map to canonical actions:

Raw prefixCanonical action
create, update, put, patch, set, upsertwrite
get, fetch, list, search, query, find, lookupread
remove, destroydelete
run, invoke, callexecute

Multi-word resources keep their underscores in the scope string. get_weather_forecast → weather_forecast:read. This is intentional — the full noun phrase is preserved as the resource. When issuing credentials, use the same string: scope: ["weather_forecast:read"].

Override at registration — pass a AttestToolOptions object as the final argument to server.tool(). This is the preferred way to set scope for non-standard tool names because the scope lives next to the tool definition:

import { withAttest } from "@attest-dev/sdk/mcp";

import type { AttestToolOptions } from "@attest-dev/sdk/mcp";

protectedServer.tool("gh_create_issue", schema, handler, { requiredScope: "github:write", } satisfies AttestToolOptions);

protectedServer.tool("stripe_charge", schema, handler, { requiredScope: "stripe:write", } satisfies AttestToolOptions);

// Auto-mapping still applies when requiredScope is omitted. protectedServer.tool("send_email", schema, handler); // → "email:send"

The options object is consumed by withAttest and stripped before the MCP SDK sees the arguments — the SDK is unaware of it.

Override globally using toolScopeMap in options (applies to all tools that don't declare requiredScope explicitly):

const protectedServer = withAttest(server, {

issuerUri: "https://api.attest.dev", toolScopeMap: { "send_message": "slack:send", "query_db": "postgres:read", }, });

Scope discovery endpoint

getAttestScopes() returns the live scope registry — every tool name mapped to its resolved scope string. Wire it to an HTTP endpoint so credential issuers can query what scopes a server requires without out-of-band coordination.

import { withAttest, getAttestScopes } from "@attest-dev/sdk/mcp";

const protectedServer = withAttest(server, { issuerUri: "https://api.attest.dev" });

protectedServer.tool("send_email", schema, handler); protectedServer.tool("gh_create_issue", schema, handler, { requiredScope: "github:write" });

// Express / Hono / any HTTP framework: app.get("/.well-known/attest-scopes", (_req, res) => { res.json({ tools: getAttestScopes(protectedServer) }); });

Response:

{

"tools": { "send_email": "email:send", "gh_create_issue": "github:write" } }

An orchestrator agent issues credentials by fetching this endpoint first:

// Before starting a task, discover what the MCP server needs:

const { tools } = await fetch("https://my-mcp-server/.well-known/attest-scopes") .then(r => r.json());

// Issue a credential with exactly those scopes: const { token } = await attestClient.issue({ agent_id: "my-agent", user_id: "usr_alice", scope: Object.values(tools), // ["email:send", "github:write"] instruction: "...", });

No spreadsheet of scope strings. No manual sync between server and client. The server is the source of truth.

What an agent receives when blocked

{

"content": [ { "type": "text", "text": "{\n \"error\": \"attest_violation\",\n \"reason\": \"scope_violation\",\n \"detail\": \"Credential (jti: abc-123) grants [research:read] but tool \\\"send_email\\\" requires \\\"email:send\\\".\",\n \"jti\": \"abc-123\",\n \"taskId\": \"tid-xyz\"\n}" } ], "isError": true }

isError: true signals the MCP framework that this is an error response. The reason field is machine-readable:

reasonMeaning
no_credentialNo Attest JWT found in the request
invalid_credentialJWT signature verification failed or malformed
credential_expiredJWT exp has passed
credential_revokedJTI is in the revocation list
scope_violationCredential does not grant the required scope

Options

withAttest(server, {

// Required: URI of your Attest server issuerUri: "https://api.attest.dev",

// How long to cache JWKS before re-fetching (seconds). Default: 3600 jwksCacheTTL: 3600,

// How long to cache revocation status per JTI (seconds). // Set 0 to disable caching (every call hits the server). Default: 10 revocationCacheTTL: 10,

// false = log violations via onViolation but don't block the call. // Useful for gradual rollout. Default: true requireCredential: true,

// Per-tool scope overrides. Keys are exact tool names. toolScopeMap: { "send_message": "slack:send", },

// Called on every scope violation (synchronous). // Use for metrics, alerting, structured logging. onViolation: (event) => { console.warn("Attest violation", { tool: event.toolName, reason: event.reason, required: event.requiredScope, granted: event.grantedScope, jti: event.jti, }); }, });

Reading credential claims inside a tool handler

After withAttest has already verified the credential, use getAttestContext to read the claims without re-verifying:

import { withAttest, getAttestContext } from "@attest-dev/sdk/mcp";

protectedServer.tool("send_email", schema, async (args, extra) => { const ctx = getAttestContext(extra); // ctx.att_uid — the human who initiated the task // ctx.att_tid — task tree ID (use for audit correlation) // ctx.att_scope — granted scopes // ctx.att_depth — delegation depth (0 = root) // ctx.jti — this credential's unique ID

await sendEmail(args.to, args.body, { actingAs: ctx?.att_uid }); return { content: [{ type: "text", text: "sent" }] }; });

Gradual rollout

Add Attest to an existing server without blocking traffic until you're confident the mapping is correct:

const protectedServer = withAttest(server, {

issuerUri: "https://api.attest.dev", requireCredential: false, // observe, don't block onViolation: (event) => metrics.increment("attest.violation", { tool: event.toolName, reason: event.reason, }), });

Flip requireCredential to true once violation rates drop to zero in your monitoring.

Audit logging

Every tool call — pass or fail — fires a POST /v1/audit to your Attest server. Delivery is async and never blocks tool execution.

Audit delivery is best-effort with structured error surfacing. For guaranteed delivery, configure `onAuditError` and implement your own retry queue.

Failures surface in priority order — nothing is ever silently dropped:

  1. `onAuditError(error, event)` — you handle it (retry queue, fallback log, pager)
  2. `onViolation({ reason: "audit_failure", ... })` — surfaces to your existing monitoring if onAuditError is not set
  3. `console.warn` — last resort if neither callback is configured
const protectedServer = withAttest(server, {

issuerUri: "https://api.attest.dev",

// Tier 1: implement a retry queue for guaranteed delivery onAuditError: (err, event) => { retryQueue.push({ event, attempts: 0, nextRetry: Date.now() + 5000 }); logger.error("attest audit delivery failed", { jti: event.jti, agent_id: event.agent_id, error: err.message, }); },

// Tier 2: violations (including audit_failure) go to your monitoring onViolation: (e) => metrics.increment("attest.event", { reason: e.reason }), });

Non-2xx responses from the audit endpoint are treated as delivery failures, not silent successes.

The audit event carries: event_type, jti, att_tid, att_uid, agent_id (mcp: ), scope, and an outcome meta field (allowed, scope_violation, blocked_revoked).

Query the audit chain for a task tree:

import { AttestClient } from "@attest-dev/sdk";

const client = new AttestClient({ baseUrl: "https://api.attest.dev", apiKey: "..." }); const chain = await client.audit(taskId); chain.events.forEach(e => console.log(e.event_type, e.jti, e.created_at));

Full example

import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";

import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; import { withAttest } from "@attest-dev/sdk/mcp"; import { z } from "zod";

const server = new McpServer({ name: "email-server", version: "1.0.0" });

server.tool( "send_email", { to: z.string().email(), subject: z.string(), body: z.string() }, async ({ to, subject, body }) => { await sendEmail(to, subject, body); return { content: [{ type: "text", text: Sent to ${to} }] }; }, );

// Wrap — every tool now requires a valid credential with "email:send" scope. const protectedServer = withAttest(server, { issuerUri: process.env.ATTEST_URI ?? "http://localhost:8080", onViolation: (e) => console.warn("blocked:", e.reason, e.toolName), });

const transport = new StdioServerTransport(); await protectedServer.connect(transport);

License

Apache-2.0

PopNxに聞く