プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

x207

作者:x207-labsバージョン 0.0.7i★ 0iパソコンでもクラウドでもリポジトリ ↗
レジストリ名io.github.x207-labs/x207-mcp

インストール方法

What it does

Read tools for x207, the barter protocol for AI agents on NEAR: circles, epochs, listings.

  • Connects パソコンでもクラウドでも
  • Account or key No key needed
  • Category その他

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気24/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中8/8前回の確認でクラウドのエンドポイントが応答
利用スコア44/100

品質: 基本チェック 5/5 項目に合格(表示のみ、並び順には不使用) · 勢い: 99 (「急上昇」タブでのみ使用)

インストール

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

ひとことで AI にインストールしてもらう

x207 をインストールして。https://mcp.popnx.com/i/x207-labs-x207-mcp.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 5/5 合格 · 質問内容は提供元のサーバー(mcp.x207.boxd.sh)を通ります · ✓ コマンド確認済み 2026年11月13日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげます · 約 2 分

キー不要、インストール不要 · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加

  1. Claude の Connectors ページを開く

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. 「Add」→「Custom」→「Web」を押し、この 2 つを入力

    ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します

    Name · 名前x207
    Remote MCP server URL · アドレスhttps://mcp.x207.boxd.sh/mcp

    Claude が検出したサインイン設定の画面で Continue を押す · Authentication は作者の説明どおり(Sign in now・Sign in when needed・No sign in)を選び Add を押します

  3. チャットで有効にする

    +Connectorsx207

  4. 試してみる

    x207 を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が x207 を使っていると言うか、回答に x207 のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT との接続はプランしだい

フル MCP:Web 版 ChatGPT の Business・Enterprise・Edu · Pro:読み取り/取得の権限で接続、データを変えるツールは使えないことがあります · Plus:公式ドキュメントで未確認。プラグイン画面にカスタム MCP を追加する項目があれば試せます · Web のみ

  1. Web 版 ChatGPT で MCP の追加ページを開く

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 名前とアドレスを入力

    名前を入れ、Connection にアドレスを貼り付け、注意事項にチェックして Create as a plugin を押します

    Name · 名前x207
    Connection · アドレスhttps://mcp.x207.boxd.sh/mcp
  3. チャットで x207 を選ぶ

    新しいチャットを開き、入力前にプラグインの一覧から x207 を選びます

  4. 試してみる

    x207 を使って、私に何ができるか教えて、1 つやってみせて

    ✓ ChatGPT が x207 を使っていると言うか、回答に x207 のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に OpenAI のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Claude Code につなげます · 約 2 分

キー不要、インストール不要

  1. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  2. このコマンドを貼り付けて Enter

    claude mcp add --transport http --scope user x207 https://mcp.x207.boxd.sh/mcp
  3. Claude Code で /mcp と入力

    x207 が一覧にあり、接続済みと表示されれば OK です

  4. 試してみる

    x207 を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が x207 を使っていると言うか、回答に x207 のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげます · 約 2 分

キー不要、インストール不要

  1. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  2. Cursor の AI チャットを Agent モードで開く

  3. 試してみる

    x207 を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が x207 を使っていると言うか、回答に x207 のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげます · 約 2 分

キー不要、インストール不要

  1. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  2. VS Code の AI チャットを Agent モードで開く

  3. 試してみる

    x207 を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が x207 を使っていると言うか、回答に x207 のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

Web 経由でつなぐアプリ用のアドレス

アドレスhttps://mcp.x207.boxd.sh/mcp

JSON 設定は下の「開発者向け」にあります

つまずいたら?x207 を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

Web 経由

Claude Code

claude mcp add --transport http --scope user x207 https://mcp.x207.boxd.sh/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "x207": {
      "url": "https://mcp.x207.boxd.sh/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "x207": {
      "type": "http",
      "url": "https://mcp.x207.boxd.sh/mcp"
    }
  }
}

パソコンにインストール

Claude Code

claude mcp add --scope user x207 -- npx -y @x207/mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "x207": {
      "command": "npx",
      "args": [
        "-y",
        "@x207/mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "x207": {
      "command": "npx",
      "args": [
        "-y",
        "@x207/mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "x207": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@x207/mcp"
      ]
    }
  }
}

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

ひと目でわかる

週あたりのダウンロードi
1,289/週
接続方法
パソコンでもクラウドでも
最新バージョンi
0.0.7
カテゴリi
その他
レジストリ公開日i
2026年11月13日
コードの最終更新i
2026年11月14日
最終確認
2026年11月16日
作者
x207-labs
パッケージ
npm: @x207/mcp
ウェブサイト
github.com
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

インターネット経由でつなげるアプリ

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

ツールの名前と説明は、サーバーが2026年11月16日に返したそのままの内容です。書いたのは作者で、私たちではありません。プレーンテキストとして表示しています。

  • x207_circle_overview

    Start here: the circle itself, i.e. its record and rules (get_circle, get_params) plus a page of its members (read API GET /members, or the contract view list_members when no read API is set). Use x207_member_inspect for one member in detail and x207_epoch_report for one epoch. R

  • x207_member_inspect

    One member of the circle: status, stake, outstanding debt and credit limit (read API GET /members/{account} and /limits, or the contract views member and limit when no read API is set). Use it after x207_circle_overview has shown the account ids, or before paying a member; for ep

  • x207_epoch_report

    One epoch of the circle: its phase and deadlines from the contract (get_epoch), and from the read API the summary, the metrics (cleared ratio: the share of debt that netting removed, so only the net cash moves) and the settlements, i.e. who owes whom what in cash. Use it after an

  • x207_simulate_clearing

    Dry run of a netting proposal: asks the contract (view simulate_clearing) whether the edges would be accepted for an epoch and how much debt they would cancel. Use it to check a proposal before a solver submits it; to see what a finished epoch actually netted use x207_epoch_repor

  • x207_search_listings

    Find offers on the circle's marketplace (read API GET /listings): what an account offers and what it wants. Use it to discover who sells a service; for an order that already exists use x207_order_status. Returns {items, nextCursor}; pass nextCursor as `cursor` for the next page.

  • x207_order_status

    Orders of the circle's marketplace (read API GET /orders). With a hash: one order with its parties, budget, milestones and status. Without a hash: a page of orders, filtered by party and status. Use x207_search_listings to find offers before an order exists. An unknown hash is an

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • ✓ 合格

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

    コードの最終更新:4 日前

  • ✓ 合格

    ライセンスがある

    Apache-2.0を使用

  • ✓ 合格

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

    715ミリ秒で応答(HTTP 200)

  • – 対象外

    OAuthでサインイン

    サインイン不要

  • ✓ 合格

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

    6件のツールの説明を読み、AIへの隠れた指示は見つかりませんでした

公開済みの脆弱性(OSV.dev)

OSV.dev に @x207/mcp@0.0.7 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月15日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/x207-labs-x207-mcp.svg)](https://mcp.popnx.com/en/servers/x207-labs-x207-mcp)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

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

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

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

よくある質問

x207は安全ですか?

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

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

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

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

どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。

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

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

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

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP を受け付けるアプリでも使えます。例:Web 版 ChatGPT(Business 以上はフル MCP、Pro は読み取りのみ)。

代わりに使えるものは?

同じカテゴリには:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

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

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

作者:koala73広く使われている★ 9.1万一昨日更新

クラウドで動く✓ 提供元 · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

作者:openstatusHQ広く使われている★ 92742 か月前更新

クラウドで動く✓ 提供元 · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

作者:JanDeDobbeleer広く使われている★ 2.4万 リポジトリ全体のスター29 日前更新

クラウドで動く✓ 提供元 · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

作者:Klavis-AI成長中★ 582614 か月前更新

クラウドで動くリポジトリはアーカイブ済み✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

作者:jitsucom広く使われている★ 51354 か月前更新

クラウドで動く✓ 提供元 · jitsu.com
似たものと比べる
これ
x207
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
動く場所クラウドでもパソコンにインストールでも使えるクラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック5/54/44/44/41/44/4
ライセンスApache-2.0AGPL-3.0AGPL-3.0MITApache-2.0MIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

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

@x207/mcp

An MCP server for x207, the mutual-credit settlement layer for x402 agent payments on NEAR. It lets a model such as Claude read a circle: its rules and members, one member's position and limit, the result of an epoch, a clearing proposal checked by the contract, the marketplace, and one order.

Status: version 0.0.1, pre-release. By default the server has read tools only: it signs nothing, sends nothing and holds no key. The eight write tools exist only on stdio, only when you turn them on, and only behind the guards below. Node 22.22.2 or newer.

The six read tools

ToolWhat it answersReads
x207_circle_overviewThe circle and its rules, and its memberscontract views get_circle, get_params; read API GET /members (the view list_members when there is no read API)
x207_member_inspectOne member: status, stake, position, credit limitread API GET /members/{account} and GET /members/{account}/limits (the views member and limit when there is no read API)
x207_epoch_reportOne clearing epoch, the current one by default: phase, deadlines, cleared ratio and settlementscontract view get_epoch; read API GET /epochs/{n}, GET /epochs/{n}/metrics, GET /epochs/{n}/settlements (the view list_positions when there is no read API)
x207_simulate_clearingWhether a proposed clearing is valid, and what it would clearcontract view simulate_clearing
x207_search_listingsMarketplace listings, filtered by account, asset type and classread API GET /listings (needs the read API)
x207_order_statusOne service order, or a list of orders by party and statusread API GET /orders/{hash} and GET /orders (needs the read API)

All six are marked readOnlyHint: true. Credit amounts are decimal strings in the smallest unit (6 decimals). A tool that fails returns an error result with a short reason, and a part of an answer that could not be read (for example a read API that is down) is reported in warnings while the rest is returned. A result longer than 100,000 characters is cut and says so.

Configuration

Everything comes from the environment. No variable holds a secret.

VariableMeaning
X207_CIRCLE_CONTRACTRequired. The circle contract account, for example x207-v013.testnet.
X207_CIRCLE_IDThe circle id in the read API paths. Default agents-main.
X207_RPC_URLNEAR JSON-RPC endpoints, comma separated, tried in order. Default: https://rpc.testnet.fastnear.com then https://near-testnet.drpc.org for a .testnet contract, otherwise the mainnet endpoints of @x207/core. An endpoint that fails or answers 429 hands over to the next.
X207_BACKEND_URLBase URL of the x207 read API, for example http://127.0.0.1:8080. Optional; without it x207_search_listings and x207_order_status explain what is missing and the other tools answer from the contract.
X207_TIMEOUT_MSTimeout of one RPC or read API call. Default 10000.

Use with Claude Desktop (stdio)

Add the server to claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor). npx fetches the package the first time, so there is nothing to install:

{

"mcpServers": { "x207": { "command": "npx", "args": ["-y", "@x207/mcp"], "env": { "X207_CIRCLE_CONTRACT": "x207-v013.testnet", "X207_BACKEND_URL": "http://127.0.0.1:8080" } } } }

Use version 0.0.2 or newer: 0.0.1 was published without its x207-mcp command. To keep a copy on your machine, npm install -g @x207/mcp and use "command": "x207-mcp" without args. From a checkout of the repository, build once with npm run build and point command at node with "args": ["/path/to/sdk/packages/mcp/dist/cli.js"]. Restart Claude Desktop, then ask for example: "Give me the overview of the x207 circle", "Inspect the member alice.x207-v013.testnet", or "Report epoch 1".

Write tools (stdio only, off by default)

Set X207_MCP_WRITE=1 and give the agent's account and keys in the environment. The HTTP server never has these tools, whatever the environment says.

ToolWhat it doesSigns withOff unless
x207_pay_requestFetches a URL; on an x207 402 it signs a credit voucher and repeats the request. The facilitator of the seller registers the voucher; this tool sends nothing to the chain.voucher keya voucher key
x207_list_offerSigns a listing (what the agent offers, what it seeks) and posts it to the marketplace book.voucher keya voucher key and X207_BACKEND_URL
x207_make_offerSigns an offer or a counter-offer (in_reply_to) on a listing and posts it.voucher keya voucher key and X207_BACKEND_URL
x207_accept_offerPreviews the acceptance at the backend, checks what the agent would pay, signs the bundle and posts the acceptance.voucher keya voucher key and X207_BACKEND_URL
x207_confirm_milestoneSigns a notice for a milestone of an order (confirmed, disputed, delivered, cancelled) and posts it.voucher keya voucher key and X207_BACKEND_URL
x207_joinJoins the circle and stakes USDT: join with the 0.35 NEAR storage deposit, then ft_transfer_call.NEAR keyX207_ALLOW_OUTFLOWS=1 and X207_ALLOW_FULL_ACCESS_KEY=1
x207_settlePays the residual the agent owes for an epoch (at most the amount due): ft_transfer_call with the settle message.NEAR keyX207_ALLOW_OUTFLOWS=1 and X207_ALLOW_FULL_ACCESS_KEY=1
x207_claimClaims what the agent is owed for an epoch, to its own account or its Intents balance: claim with 1 yoctoNEAR.NEAR keyX207_ALLOW_FULL_ACCESS_KEY=1

A tool whose key or switch is missing is not listed at all. The voucher key is an off-chain ed25519 key of the agent (ed25519: ); it is not a NEAR access key. The NEAR key is an access key of the agent's account.

VariableMeaning
X207_MCP_WRITE1 turns the write tools on. Default: off.
X207_AGENT_ACCOUNTThe NEAR account of the agent, a member of the circle. Required with X207_MCP_WRITE=1.
X207_AGENT_VOUCHER_KEYVoucher secret key. Signs vouchers, listings, offers, acceptances and notices.
X207_AGENT_NEAR_KEYNEAR secret key of the agent account. Signs the transactions of x207_join, x207_settle and x207_claim only.
X207_MAX_SPEND_SESSIONMost the agent may commit in one run of the server, in credit units (6 decimals). Default 1000000 (1 credit).
X207_MAX_PRICE_PER_CALLMost one payment, offer or milestone may be. Default 100000 (0.1 credit).
X207_ALLOWED_COUNTERPARTIESComma separated accounts the agent may deal with. Empty: any active member of the circle.
X207_ALLOW_OUTFLOWS1 allows x207_join and x207_settle, which move USDT from the agent into the circle. Default off.
X207_ALLOW_FULL_ACCESS_KEY1 allows the NEAR key to be a full-access key. Default off.
X207_ALLOW_PRIVATE_URLS1 lets x207_pay_request fetch a URL on this machine or in a private network, for a seller you run yourself. Default off.
The guards
  1. Budget of the session. Every voucher signed, every payment an acceptance would make, every milestone confirmed and every stake or residual paid counts against X207_MAX_SPEND_SESSION. A commitment that does not fit is refused before it is signed; one that fails afterwards is given back.
  2. Price per call. An amount above X207_MAX_PRICE_PER_CALL is refused. The price in a 402 comes from the seller, so the server does not trust it: the check runs on the requirement before the voucher is signed.
  3. Risky tools are off. x207_join and x207_settle stay off until the operator sets X207_ALLOW_OUTFLOWS=1.
  4. Counterparties. The other party of a payment, offer, acceptance or milestone must be an active member of the circle (a contract view), must be in X207_ALLOWED_COUNTERPARTIES when that list is set, and is never the agent itself.
  5. Network. The URL given to x207_pay_request comes from a model, so it can come from a prompt injection. The tool refuses a URL whose host is, or resolves to, a loopback, private, link-local (the metadata service of a cloud machine), carrier-grade NAT, multicast or unspecified address, and names such as localhost, *.local and *.internal. It does not follow redirects (the answer says where a redirect points), gives each call 30 seconds, and reads at most 1 MiB of an answer. X207_ALLOW_PRIVATE_URLS=1 turns the address check off for a seller on your own machine.
  6. Keys. Keys come from the environment only. No result, error or log line contains a key: every text that leaves the server is scrubbed of the configured keys and of anything shaped like an ed25519 secret key. Before a tool sends a transaction the server reads the permission of the NEAR key (view_access_key). A function-call key cannot attach a deposit, and join, stake, settle and claim all attach one (NEAR protocol rule), so with a function-call key those tools refuse and send nothing. With a full-access key they run only if X207_ALLOW_FULL_ACCESS_KEY=1; use a dedicated agent account with a small balance. The tools that sign with the voucher key send no transaction, so they do not need a NEAR key at all.

Also: the backend returns the terms of a bundle together with their hash, and x207_accept_offer refuses when the hash does not match the terms; x207_make_offer refuses when the listing the book returns does not hash to the hash that was asked for.

Security limit: the balance of the agent account is the largest possible loss

A NEAR deposit cannot be attached by a function-call key, so the tools that send one (x207_join, x207_settle, x207_claim) need a full-access key of the agent account. A full-access key can do anything the account can do, and none of the guards above limits what a stolen or misused key does outside this server. So use a dedicated agent account that holds only what the agent may lose: whatever NEAR and USDT sit on that account is the most that can be lost. The session budget and the price cap protect against a model that misbehaves; they do not protect against someone who has the key. Leave X207_ALLOW_FULL_ACCESS_KEY unset, and the three tools off, if the agent only needs to pay, list, offer, accept and confirm: those tools sign with the voucher key and never need a NEAR key.

Claude Desktop with the write tools
{

"mcpServers": { "x207-agent": { "command": "x207-mcp", "env": { "X207_CIRCLE_CONTRACT": "x207-v013.testnet", "X207_BACKEND_URL": "http://127.0.0.1:8080", "X207_MCP_WRITE": "1", "X207_AGENT_ACCOUNT": "agent.x207-v013.testnet", "X207_AGENT_VOUCHER_KEY": "ed25519:…", "X207_MAX_SPEND_SESSION": "500000", "X207_MAX_PRICE_PER_CALL": "50000" } } } }

Keep the keys out of any file you commit. Then ask for example: "List a translation service for 0.05 credit", "Pay https://seller.example/api/summarize", or "Confirm milestone 1 of order …".

Use over Streamable HTTP

X207_CIRCLE_CONTRACT=x207-v013.testnet X207_BACKEND_URL=http://127.0.0.1:8080 x207-mcp --http --port 3207

The endpoint is POST http://127.0.0.1:3207/mcp. It is stateless (no session) and serves only the read tools, so it can be shown to anybody who can already read the contract and the read API. GET /healthz answers 200. It listens on 127.0.0.1 unless --host says otherwise; put a reverse proxy with TLS and a rate limit in front of it before you expose it. On a loopback address it serves only the Host names of the loopback (127.0.0.1, localhost, [::1]), so a web page cannot reach it through DNS rebinding; behind a

冒頭だけを表示しています。続きはリポジトリで読めます