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

Smartpolicy

作者:smartpolicy-protocolバージョン 0.2.0i★ –iパソコンで動く
レジストリ名io.github.smartpolicy-protocol/smartpolicy

インストール

概要

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

Runtime authorization for AI agents and smart contracts via an immutable on-chain policy registry

PopNx MCPの3つの柱

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

できること

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

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他
  • 入力が必要なもの:SMARTPOLICY_ISSUER_KEY

インストール

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

インストールの前に

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

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

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

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

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

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

{
  "mcpServers": {
    "smartpolicy": {
      "command": "npx",
      "args": [
        "-y",
        "@smartpolicy/mcp"
      ],
      "env": {
        "SMARTPOLICY_REGISTRY": "your-value",
        "SMARTPOLICY_VERIFIER": "your-value",
        "SMARTPOLICY_RPC_URL": "your-value",
        "SMARTPOLICY_ISSUER_KEY": "your-value"
      }
    }
  }
}

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

claude mcp add smartpolicy --env SMARTPOLICY_REGISTRY=your-value --env SMARTPOLICY_VERIFIER=your-value --env SMARTPOLICY_RPC_URL=your-value --env SMARTPOLICY_ISSUER_KEY=your-value -- npx -y @smartpolicy/mcp

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

Cursorで開く

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

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

{
  "mcpServers": {
    "smartpolicy": {
      "command": "npx",
      "args": [
        "-y",
        "@smartpolicy/mcp"
      ],
      "env": {
        "SMARTPOLICY_REGISTRY": "your-value",
        "SMARTPOLICY_VERIFIER": "your-value",
        "SMARTPOLICY_RPC_URL": "your-value",
        "SMARTPOLICY_ISSUER_KEY": "your-value"
      }
    }
  }
}

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

VS Codeで開く

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

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

{
  "servers": {
    "smartpolicy": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@smartpolicy/mcp"
      ],
      "env": {
        "SMARTPOLICY_REGISTRY": "your-value",
        "SMARTPOLICY_VERIFIER": "your-value",
        "SMARTPOLICY_RPC_URL": "your-value",
        "SMARTPOLICY_ISSUER_KEY": "your-value"
      }
    }
  }
}

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

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

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

自分で入力する値

  • SMARTPOLICY_REGISTRY env
    PolicyRegistry contract address (omit for the public Sepolia default)
  • SMARTPOLICY_VERIFIER env
    GrantVerifier contract address (omit for the public Sepolia default)
  • SMARTPOLICY_RPC_URL env
    EVM RPC endpoint (omit for the public Sepolia default)
  • SMARTPOLICY_ISSUER_KEY 秘密 env
    Optional grant-issuer private key; enables the grant_issue tool

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

できること

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

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • … 未チェック

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

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

  • … 未チェック

    ライセンスがある

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

  • – 対象外

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

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

  • – 対象外

    OAuthでサインイン

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

  • … 未チェック

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

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

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

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

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

よくある質問

Smartpolicyは安全ですか?

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

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

入力が必要なもの:SMARTPOLICY_ISSUER_KEY

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

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

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

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

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

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

代わりに使えるものは?

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

代わりの候補

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

カードの見方:★ 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.

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

zanadir

作者:MustacheCase

Find what a repository's CI is missing, and which security checks cannot fail the build.

パソコンで動く今日更新
インストール

作者のREADME

READMEを開く

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

SmartPolicy

Runtime authorization for AI agents and smart contracts.

Define what an agent, a user, or a contract is allowed to do — once, as a policy. Enforce it everywhere: on-chain via a minimal verifier, off-chain via an MCP server and REST API that AI systems consume directly. Update the rules without redeploying anything.

Status (2026-06-12): core contracts live on Ethereum Sepolia

(Etherscan-verified, addresses in contracts/deployments/sepolia.json); 54

Foundry tests green; MCP server v0 packaged — npx smartpolicy-mcp runs

zero-config against Sepolia, npx smartpolicy-mcp deploy bootstraps any

chain from embedded bytecode; AI-consumability proven by unaided

fresh-agent execution tests (incl. cold start on an empty chain). NOT

audited; internal until mature — no public repo or registry listings yet.

Current state, decisions, and how to resume work: PLAN.md.

Why

Every team shipping AI agents hits the same wall: the agent can technically do anything its keys allow, and the only ways to constrain it are hardcoded prompts or redeployed code. Every smart contract team hits the mirror image: access rules baked into the contract at deploy time.

SmartPolicy separates the rule from the enforcement point:

  • A policy lives in the on-chain Registry: members, admins, conditions, expiry, and mutability flags. It is data, not code. Changing a rule is a transaction, not a redeploy.
  • Enforcement happens wherever the action happens:
  • A smart contract inherits one modifier and checks the Registry (free view call).
  • An AI agent (or the service in front of it) asks the MCP server / REST API: *"may 0xAgent perform action under policy N?"* and receives a short-lived signed grant (EIP-712) that any contract or backend can verify.

What this is NOT

  • Not a token. There is no protocol token, no ICO, no governance theater. Revenue is fees: a small fee on on-chain policy writes, and metered (x402) pay-per-call on the hosted API. Reads and verification are free.
  • Not upgradeable. The core Registry is immutable once deployed. Trust comes from code you can read, not admin keys you have to trust. New protocol versions are new deployments.
  • Not an oracle. SmartPolicy answers "is this allowed?", not "what happened in the world?". Condition values that depend on external facts are attested via signed grants from sources the policy owner chooses.

Architecture (short version)

┌─────────────┐   MCP / REST (x402 metered)   ┌──────────────────┐

│ AI agents │ ────────────────────────────▶ │ SmartPolicy MCP │ │ & services │ ◀──── signed grants ──────── │ server (TS) │ └─────────────┘ └────────┬─────────┘ │ reads + grant issuance ┌─────────────┐ inherit Gate modifier ┌────────▼─────────┐ │ Protected │ ────── view calls ──────────▶ │ PolicyRegistry │ │ contracts │ │ (Base, immutable)│ └─────────────┘ └──────────────────┘

See ARCHITECTURE.md for the full design and the rationale for every decision (chain, fees, trust model, what was deliberately dropped from v1).

Repository layout

contracts/   Solidity core: PolicyRegistry, PolicyGate, interfaces (Foundry)

mcp/ MCP server + REST API (TypeScript, x402 metering) sdk/ TypeScript client SDK (@smartpolicy/sdk) — reads, grants, tx-building docs/ Integration guides (planned)

Lineage

SmartPolicy is a clean rewrite of the strongest ideas from a 2025 prototype ("Smart Policy Protocol", Sepolia): the policy registry, the tiered integration model, and hybrid on-chain + signed-token enforcement. The rewrite deliberately drops the SPOL token/ICO/governance suite, the sports-prediction oracle, the factory contracts, and the upgradeable-proxy trust model, and fixes the known security issues (tx.origin checks, missing reentrancy guards, header-only API auth).

License

Apache-2.0 — see LICENSE.

PopNxに聞く