@agentdomain/mcp-server 0.6.0 → 0.7.0
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.
- package/NOTICE +5 -0
- package/README.md +7 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +387 -522
- package/package.json +6 -3
package/NOTICE
ADDED
package/README.md
CHANGED
|
@@ -58,6 +58,7 @@ npm install -g @agentdomain/mcp-server
|
|
|
58
58
|
"AGENTDOMAIN_API_URL": "https://agentdomain.app/api/v1",
|
|
59
59
|
"AGENT_PRIVATE_KEY": "0x...",
|
|
60
60
|
"AGENTDOMAIN_NETWORK": "base",
|
|
61
|
+
"AGENTDOMAIN_BUILDER_CODE": "your_builder_code",
|
|
61
62
|
"RENEWAL_VAULT_ADDRESS": "0x..."
|
|
62
63
|
}
|
|
63
64
|
}
|
|
@@ -68,6 +69,12 @@ npm install -g @agentdomain/mcp-server
|
|
|
68
69
|
For `enable_auto_renew`, `AGENT_PRIVATE_KEY` must be the AgentID NFT owner wallet. Funding can come
|
|
69
70
|
from any wallet, but the RenewalVault contract only accepts auto-renew changes from the owner.
|
|
70
71
|
|
|
72
|
+
`AGENTDOMAIN_BUILDER_CODE` is the public ERC-8021 app identifier used to attribute direct Base
|
|
73
|
+
transactions created through MCP. It must contain 1-32 lowercase letters, numbers, or underscores.
|
|
74
|
+
It is required only by `enable_auto_renew` and `withdraw_renewal_vault`; the server validates it when
|
|
75
|
+
one of those tools is called, so read-only, API-managed, and x402 payment tools continue to work
|
|
76
|
+
without it. x402 v2 payments use AgentDomain's resource-server attribution instead.
|
|
77
|
+
|
|
71
78
|
## Pricing flags
|
|
72
79
|
|
|
73
80
|
Registration pricing includes the live domain price plus the annual AgentDomain
|
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
* "args": ["-y", "@agentdomain/mcp-server"],
|
|
16
16
|
* "env": {
|
|
17
17
|
* "AGENTDOMAIN_API_URL": "https://agentdomain.app/api/v1",
|
|
18
|
-
* "AGENT_PRIVATE_KEY": "0x..."
|
|
18
|
+
* "AGENT_PRIVATE_KEY": "0x...",
|
|
19
|
+
* "AGENTDOMAIN_BUILDER_CODE": "your_builder_code"
|
|
19
20
|
* }
|
|
20
21
|
* }
|
|
21
22
|
* }
|