@defarm/mcp
@defarm/mcp
DeFarm 用の MCP サーバー — AI エージェントが、コード不要で説明によって検証可能な農業トレーサビリティデータを 封印、開封、検証、取り込み できるようにします。@defarm/sdk 上に構築: 封印されたフィールドはクライアント側で暗号化され、DeFarm サーバーはそれらに対して 構造的にブラインド です。
SDK と同じ理由でオープンソース (MIT): DeFarm を信頼せず、クライアントを監査してください。
セキュリティ体制 (最初に読むべき部分)
認証情報がモデルを経由することはありません。 認証はサーバー設定 (下記の環境変数) です。ログインツールはなく、パスワード、API キー、鍵素材を受け入れるツールもありません — テストスイートがそれを強制します。
秘密鍵がローカルキーストアから出ることはありません。 秘密素材を返すツールはなく、エージェントは ID とフィンガープリントのみを参照します。
安全なデフォルトは SDK から継承されます: 封印は明示的に宛先を指定しない限りプライベートかつ自己宛てです。暗号スイートは固定されており、選択肢はありません。
Related MCP server: Wallet4Agent MCP Server
セットアップ
// e.g. Claude Desktop / Claude Code MCP config
{
"mcpServers": {
"defarm": {
"command": "npx",
"args": ["-y", "github:defarm-repo/defarm-mcp"],
"env": {
"DEFARM_GATEWAY": "<your test-environment gateway>",
"DEFARM_EMAIL": "<workspace login>",
"DEFARM_PASSWORD": "<workspace password>",
"DEFARM_API_KEY": "<partner key, only if the agent should ingest>",
"DEFARM_KEYSTORE": "~/.defarm/keys.json"
}
}
}
}まず DEFARM_GATEWAY を テスト環境 に向けてください。本番環境は明示的な決定です。
ツール
ツール | 機能 |
| 設定された認証情報のユーザー + ワークスペース |
| (ローカルで) 生成 + ワークスペースの鍵ペアを登録 — ID/フィンガープリントのみ返す |
| このワークスペースの公開受信者バンドルを帯域外共有用にエクスポート |
| パートナー取り込み、 |
| 宛先指定された受信者向けにフィールドを封印 — DeFarm はブラインドのまま。バインディングは再検証 |
| 封印されたフィールドをローカルで復号。作者性はローカルで再検証 |
| 公開検証 (アンカー、RFC3161、封印されたコミットメント) — アカウント不要 |
| メンバーシップ制限 / 公開読み取り (一貫した 404) |
| SISBOV/チップ/… で解決 |
バックエンドでブロックされている操作 (grant、grantLink、revoke — engines#584/#574) はツールとして公開されません。エージェントが常に失敗するツールを見るべきではないからです。
開発
依存関係: npm から semver (^0.2.0) で @defarm/sdk — SHA ピン時代 (および「ピンは最新の SDK スクワッシュに従う」ルール) は、約束どおり 0.2.0 の公開で終了しました。
npm install
npm test # tool-table contract tests (no network, fake gateway)
npm run build && DEFARM_GATEWAY=... node dist/index.js # stdio serverライセンス
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to certify their creations with verifiable, timestamped proof anchored to Bitcoin, and to verify certificates.3MIT
- AlicenseNot gradedqualityDmaintenanceProvides AI agents with a DID-based identity, secure wallet, and cloud KMS-backed signing keys, enabling trusted interactions with persons, companies, and other agents via standards like OIDC4VCI, OIDC4VP, and SD-JWT.Apache 2.0
- FlicenseAqualityCmaintenanceEnables AI agents to discover verifiable DeFi yield opportunities, generate algorithmic portfolio plans, and track cryptographic proof receipts, bridging LLMs with blockchain yield protocols.9
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to query cryptographically verified facts with zero-knowledge proofs, selective disclosure, and tamper-evident provenance.1791Apache 2.0
Related MCP Connectors
Trust infrastructure for AI agents: read a verifiable Trust Rating, claim an identity, earn a badge.
Issue signed receipts for AI agent actions; verify any receipt offline - free, no account.
Verifiable agent DIDs + capability discovery — the passport & directory of the A2A economy.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/defarm-repo/defarm-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server