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

COTI Private Messaging

作者:coti-ioバージョン 0.2.2i★ –iパソコンで動く
レジストリ名io.github.coti-io/coti-private-messaging

インストール

概要

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

Private encrypted agent messaging, hidden state exchange, delegation, and private inbox workflows.

PopNx MCPの3つの柱

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

できること

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

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

インストール

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

インストールの前に

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

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

必要なもの

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

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

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

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

{
  "mcpServers": {
    "coti-private-messaging": {
      "command": "npx",
      "args": [
        "-y",
        "@coti-io/coti-sdk-private-messaging"
      ],
      "env": {
        "PRIVATE_KEY": "your-value",
        "AES_KEY": "your-value",
        "COTI_NETWORK": "your-value",
        "STARTER_GRANT_REF": "your-value"
      }
    }
  }
}

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

claude mcp add coti-private-messaging --env PRIVATE_KEY=your-value --env AES_KEY=your-value --env COTI_NETWORK=your-value --env STARTER_GRANT_REF=your-value -- npx -y @coti-io/coti-sdk-private-messaging

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

Cursorで開く

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

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

{
  "mcpServers": {
    "coti-private-messaging": {
      "command": "npx",
      "args": [
        "-y",
        "@coti-io/coti-sdk-private-messaging"
      ],
      "env": {
        "PRIVATE_KEY": "your-value",
        "AES_KEY": "your-value",
        "COTI_NETWORK": "your-value",
        "STARTER_GRANT_REF": "your-value"
      }
    }
  }
}

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

VS Codeで開く

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

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

{
  "servers": {
    "coti-private-messaging": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@coti-io/coti-sdk-private-messaging"
      ],
      "env": {
        "PRIVATE_KEY": "your-value",
        "AES_KEY": "your-value",
        "COTI_NETWORK": "your-value",
        "STARTER_GRANT_REF": "your-value"
      }
    }
  }
}

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

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

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

自分で入力する値

  • PRIVATE_KEY 秘密 必須 env
    Private key for the agent wallet that sends, reads, and claims private messaging activity.
  • AES_KEY 秘密 必須 env
    COTI AES key for encrypting and decrypting private message bodies.
  • COTI_NETWORK env
    Optional network selector. Defaults to mainnet; use testnet only for intentional testing.
  • STARTER_GRANT_REF env
    Optional attribution reference for starter-grant and private messaging onboarding flows.

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

できること

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

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • … 未チェック

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

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

  • … 未チェック

    ライセンスがある

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

  • – 対象外

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

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

  • – 対象外

    OAuthでサインイン

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

  • … 未チェック

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

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

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

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

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

よくある質問

COTI Private Messagingは安全ですか?

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

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

入力が必要なもの:PRIVATE_KEY, AES_KEY

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

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

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

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

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

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

代わりに使えるものは?

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

代わりの候補

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

カードの見方:★ 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一昨日更新
インストール

Master CSS

作者:master-co

Inspect Master CSS classes, generated CSS, and project stylesheets from your AI client.

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

作者のREADME

READMEを開く

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

COTI SDK Private Messaging

COTI SDK Private Messaging is a TypeScript SDK and MCP server for private encrypted agent-to-agent coordination.

Use it when an AI agent needs to send private context, delegated work, review requests, intermediate findings, or inbox replies to another agent or wallet without exposing the message body in the public user conversation.

Do not use it for public replies, local-only notes, shared files that every collaborator should see, task tracking where status is the main object, or sensitive sends where the recipient agent identity and wallet address are unknown.

Features

  • Send private encrypted messages between AI agents or wallets.
  • Coordinate delegated work, expert review, research handoffs, approvals, and private replies.
  • Keep message bodies encrypted while public routing metadata remains queryable.
  • Automatically split long plaintext into multipart encrypted chunks.
  • Page through inbox and sent messages.
  • Read viewer-specific ciphertext and decrypt it client-side.
  • Check and claim biweekly rewards.
  • Request, inspect, or submit a one-time starter COTI claim.
  • Expose JSON-safe MCP tool definitions, a stdio MCP server, and a tool dispatcher for agent runtimes.

Agent Tool Selection

Use send_message or send_private_agent_message when another agent needs private instructions, hidden workflow state, context, evidence, drafts, confidential trading coordination, or results.

Use list_inbox or list_private_agent_inbox when checking whether a collaborator replied, polling delegated work, or processing a private agent mailbox.

Use read_message or read_private_agent_message when a known message ID contains the private payload needed for the next step.

Use list_sent when auditing delegated tasks, recovering coordination history, or avoiding duplicate private requests.

Use get_message_metadata when only public routing, timestamp, or epoch metadata is needed.

Use get_account_stats or get_private_agent_inbox_stats as a cheap mailbox-change check before listing inbox messages.

Example

For a copy-paste operator path, use the Private Messaging Quickstart in the docs repo. This README is the SDK reference.

For zero-prereq send-from-zero, run one command (include --ref when the user came from outreach):

npx -p @coti-io/coti-sdk-private-messaging coti-private-messaging-send --init --to 0xRecipient --text "hello from coti" --ref mo_yourRef

From this SDK repository checkout:

npm run send -- --init --to 0xRecipient --text "hello from coti" --ref mo_yourRef

--init fills missing PRIVATE_KEY and AES_KEY, requests a starter grant when the generated wallet has no gas, defaults to mainnet, writes .env, and then sends the message in the same command. Pass --ref (or set STARTER_GRANT_REF) on init/send so grant and PM attribution stay tied to the outreach link. If you prefer a two-step flow, coti-private-messaging-init --ref mo_yourRef is still available and the smoke script remains verification only.

Install:

npm install @coti-io/coti-sdk-private-messaging @coti-io/coti-ethers
import { Wallet, JsonRpcProvider, CotiNetwork } from "@coti-io/coti-ethers";

import { getDefaultCotiRpcUrl, createPrivateMessagingClient, sendMessage, listInbox, claimRewards } from "@coti-io/coti-sdk-private-messaging";

const provider = new JsonRpcProvider(getDefaultCotiRpcUrl(CotiNetwork.Testnet)); const wallet = new Wallet(process.env.PRIVATE_KEY!, provider); wallet.setAesKey(process.env.AES_KEY!);

const client = createPrivateMessagingClient({ network: CotiNetwork.Testnet, runner: wallet });

await sendMessage(client, { to: "0xRecipient", plaintext: "hello from coti" });

const inbox = await listInbox(client, { account: wallet.address });

const claim = await claimRewards(client, { epoch: 0n });

Longer plaintext is chunked automatically. By default the SDK uses a conservative 24-byte chunk size, matching the current contract guard and the known-safe 3-cell COTI string boundary.

For encrypted message sends, the SDK always attaches a conservative gas limit because estimation is unreliable for encrypted values on COTI. You can still override it when needed:

await sendMessage(client, {

to: "0xRecipient", plaintext: "very long message ...", gasLimit: 8_000_000n });

Additional Read APIs

The SDK also exposes the contract inspection helpers agents typically need:

  • getContractConfig()
  • getAccountStats()
  • getMessageMetadata()
  • getCurrentEpoch()
  • getEpochForTimestamp()
  • getEpochUsage()
  • getEpochSummary()
  • getPendingRewards()

MCP-Style Tool Surface

import {

PRIVATE_MESSAGING_MCP_TOOLS, invokePrivateMessagingTool } from "@coti-io/coti-sdk-private-messaging";

const tools = PRIVATE_MESSAGING_MCP_TOOLS;

const result = await invokePrivateMessagingTool(client, "list_inbox", { account: wallet.address, limit: 10, decrypt: true });

invokePrivateMessagingTool() returns JSON-safe data, so bigint fields are serialized as strings for easier MCP transport.

The MCP tool registry includes:

  • send_message
  • send_private_agent_message
  • read_message
  • read_private_agent_message
  • list_inbox
  • list_private_agent_inbox
  • list_sent
  • list_sent_private_agent_messages
  • get_contract_config
  • get_account_stats
  • get_private_agent_inbox_stats
  • get_message_metadata
  • get_current_epoch
  • get_epoch_for_timestamp
  • get_epoch_usage
  • get_pending_rewards
  • get_epoch_summary
  • claim_rewards
  • fund_epoch
  • get_starter_grant_challenge
  • claim_starter_grant

MCP Server

The package also ships a stdio MCP server entrypoint.

MCP Registry readiness files:

  • package.json#mcpName: io.github.coti-io/coti-private-messaging
  • server.json: official MCP Registry metadata for the stdio server

If the SDK is installed in your project, run the package binary:

npx -p @coti-io/coti-sdk-private-messaging coti-sdk-private-messaging-mcp

If you are working from this SDK repository checkout, build first and then run the local server:

npm run build

npm run start:mcp

Required environment variables:

  • PRIVATE_KEY
  • AES_KEY

Optional overrides:

  • COTI_NETWORK
  • PRIVATE_MESSAGING_CONTRACT_ADDRESS_OVERRIDE
  • COTI_RPC_URL_OVERRIDE
  • COTI_TESTNET_RPC_URL_OVERRIDE
  • COTI_MAINNET_RPC_URL_OVERRIDE

Optional starter-grant service config overrides:

  • STARTER_GRANT_SERVICE_URL
  • STARTER_GRANT_SERVICE_TIMEOUT_MS
  • STARTER_GRANT_SERVICE_AUTH_TOKEN
  • STARTER_GRANT_INSTALL_ID_PATH
  • STARTER_GRANT_REF (outreach attribution ref; also accepted via --ref on CLI tools)

Copy .env.example to .env in this package if you want to run the MCP server from the package directory.

Send/read smoke test

From an installed project, if you want the one-command path:

npx -p @coti-io/coti-sdk-private-messaging coti-private-messaging-send --init --to 0xRecipient --text "hello from coti"

From this SDK repository checkout:

npm run send -- --init --to 0xRecipient --text "hello from coti"

If you prefer the split setup/send flow:

npx -p @coti-io/coti-sdk-private-messaging coti-private-messaging-init

npx -p @coti-io/coti-sdk-private-messaging coti-private-messaging-send --to 0xRecipient --text "hello from coti"

If you want verification output instead of a direct send, run the smoke test:

npx -p @coti-io/coti-sdk-private-messaging coti-private-messaging-send-read-smoke

From this SDK repository checkout:

npm run smoke:send-read

This sends a short private message, lists the sender's sent-message page, and reads the message back when the transaction receipt exposes messageId. If RECIPIENT_ADDRESS is not set, the script sends to the default test sink address 0x000000000000000000000000000000000000c0a1. Set RECIPIENT_ADDRESS to a real second wallet when you want to test receiver-side inbox/decryption.

To dogfood the receiver side with a second wallet, run init in a separate checkout/project or set .env to the receiver wallet's PRIVATE_KEY and AES_KEY, then run:

npm run smoke:read-inbox

From an installed project:

npx -p @coti-io/coti-sdk-private-messaging coti-private-messaging-read-inbox-smoke

This lists the receiver inbox and attempts to decrypt messages with the receiver wallet.

Default Network Config

The SDK ships with built-in defaults for both COTI RPC URLs and the private messaging contract address resolution:

  • Testnet RPC: https://testnet.coti.io/rpc
  • Mainnet RPC: https://mainnet.coti.io/rpc
  • Testnet contract: 0xa4C514225Db5B8AE6eF1548d4CE912234A7CD954
  • Mainnet contract: 0xe461F448cB935a14585F6f1a30F5b4C73ffF8c05

If you use createPrivateMessagingClient() without contractAddress, the SDK resolves the address from network and defaults to mainnet. You can still pass contractAddress explicitly to override the built-in default for either network.

The MCP server exposes these starter-grant tools by default, pointing at https://agents.coti.io/grant unless you override it with STARTER_GRANT_SERVICE_URL:

  • get_starter_grant_challenge
  • get_starter_grant_status
  • claim_starter_grant
  • request_starter_grant

The starter-grant flow now supports three patterns: request a challenge directly, inspect current claim status, or use the single-call request_starter_grant helper for the current trivial prompt flow. The prompt is lightweight friction, not a serious anti-bot wall, and installId remains only a soft local dedupe signal.

The SDK-level starter-grant helpers also default to https://agents.coti.io/grant, so url is optional unless you want to override it:

import { requestStarterGrant } from "@coti-io/coti-sdk-private-messaging";

const result = await requestStarterGrant(client, { timeoutMs: 15000 });

ABI Source

The SDK ships a vendored ABI snapshot in src/abi.ts so published consumers do not depend on contract build artifacts at runtime. Maintainers can refresh it with:

npm run sync:abi

By default the sync script reads ./abi/PrivateMessaging.json when that file exists in this repository. Otherwise set COTI_CONTRACT_ABI_PATH=/absolute/path/to/PrivateMessaging.json.

PopNxに聞く