mcp-server-insumer 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +15 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,7 @@ Enables AI agents (Claude Desktop, Cursor, Windsurf, and any MCP-compatible clie
6
6
 
7
7
  **In production:** [DJD Agent Score](https://github.com/jacobsd32-cpu/djdagentscore) (Coinbase x402 ecosystem) uses InsumerAPI for AI agent wallet trust scoring. [Case study](https://insumermodel.com/blog/djd-agent-score-insumer-api-integration.html).
8
8
 
9
- Also available as: [LangChain](https://pypi.org/project/langchain-insumer/) (6 tools, PyPI) | [OpenAI GPT](https://chatgpt.com/g/g-699c5e43ce2481918b3f1e7f144c8a49-insumerapi-verify) (GPT Store) | [insumer-verify](https://www.npmjs.com/package/insumer-verify) (client-side verification, npm)
9
+ Also available as: [LangChain](https://pypi.org/project/langchain-insumer/) (23 tools, PyPI) | [OpenAI GPT](https://chatgpt.com/g/g-699c5e43ce2481918b3f1e7f144c8a49-insumerapi-verify) (GPT Store) | [insumer-verify](https://www.npmjs.com/package/insumer-verify) (client-side verification, npm)
10
10
 
11
11
  ## Quick Start
12
12
 
@@ -50,7 +50,7 @@ Add to your MCP settings:
50
50
  2. Sign up for a free key (instant, no credit card)
51
51
  3. Set it as `INSUMER_API_KEY`
52
52
 
53
- ## Tools (17)
53
+ ## Tools (23)
54
54
 
55
55
  ### Key Discovery (free)
56
56
 
@@ -62,8 +62,11 @@ Add to your MCP settings:
62
62
 
63
63
  | Tool | Description |
64
64
  |------|-------------|
65
- | `insumer_attest` | Verify on-chain conditions (token balances, NFT ownership). Returns ECDSA-signed boolean with `kid` (signing key ID), `evaluatedCondition` (exact logic), `conditionHash` (SHA-256 tamper-evidence), and `blockNumber`/`blockTimestamp` (RPC chain freshness). 1 credit. Optional `proof: "merkle"` for EIP-1186 Merkle storage proofs (2 credits). |
66
- | `insumer_verify` | Create signed discount code (INSR-XXXXX, 30-min expiry) for a wallet at a merchant. 1 credit. |
65
+ | `insumer_attest` | Verify on-chain conditions (token balances, NFT ownership, EAS attestations, Farcaster identity). Returns ECDSA-signed boolean with `kid`, `evaluatedCondition`, `conditionHash` (SHA-256), and `blockNumber`/`blockTimestamp`. 1 credit. Optional `proof: "merkle"` for EIP-1186 Merkle storage proofs (2 credits). |
66
+ | `insumer_compliance_templates` | List available EAS compliance templates (Coinbase Verifications on Base, Gitcoin Passport on Optimism). Free. |
67
+ | `insumer_wallet_trust` | Generate ECDSA-signed wallet trust fact profile. 17 checks across stablecoins, governance, NFTs, and staking. 3 credits (6 with merkle). |
68
+ | `insumer_batch_wallet_trust` | Batch trust profiles for up to 10 wallets. Shared block fetches, 5-8x faster. Partial success supported. 3 credits/wallet (6 with merkle). |
69
+ | `insumer_verify` | Create signed discount code (INSR-XXXXX, 30-min expiry) for a wallet at a merchant. 1 merchant credit. |
67
70
 
68
71
  ### Discovery (free)
69
72
 
@@ -94,6 +97,14 @@ Add to your MCP settings:
94
97
  | `insumer_publish_directory` | Publish merchant to public directory. |
95
98
  | `insumer_buy_merchant_credits` | Buy merchant verification credits with USDC. |
96
99
 
100
+ ### Commerce Protocol Integration
101
+
102
+ | Tool | Description |
103
+ |------|-------------|
104
+ | `insumer_acp_discount` | Check discount eligibility in OpenAI/Stripe ACP format. Returns coupon objects and per-item allocations. 1 merchant credit. |
105
+ | `insumer_ucp_discount` | Check discount eligibility in Google UCP format. Returns title, extension field, and applied array. 1 merchant credit. |
106
+ | `insumer_validate_code` | Validate an INSR-XXXXX discount code. Returns validity, discount percent, expiry. Free, no auth. |
107
+
97
108
  ## Supported Chains (31)
98
109
 
99
110
  **EVM**: Ethereum, BNB Chain, Base, Avalanche, Polygon, Arbitrum, Optimism, Chiliz, Soneium, Plume, Sonic, Gnosis, Mantle, Scroll, Linea, zkSync Era, Blast, Taiko, Ronin, Celo, Moonbeam, Moonriver, Viction, opBNB, World Chain, Unichain, Ink, Sei, Berachain, ApeChain
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-server-insumer",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "MCP server for InsumerAPI — on-chain verification across 31 blockchains. ECDSA-signed booleans, wallet trust profiles, EAS attestations, Gitcoin Passport, Farcaster ID, staking positions, compliance templates, optional Merkle proofs, ACP/UCP commerce protocol integration, 23 tools. Used by DJD Agent Score (Coinbase x402).",
5
5
  "license": "MIT",
6
6
  "author": "Douglas Borthwick",