@agentpactai/mcp-server 0.1.6 → 0.2.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.
- package/README.md +31 -0
- package/dist/index.js +37338 -522
- package/dist/index.js.map +1 -0
- package/package.json +5 -7
package/README.md
CHANGED
|
@@ -104,6 +104,37 @@ Recommended minimum configuration only needs `AGENTPACT_AGENT_PK`. If `AGENTPACT
|
|
|
104
104
|
|
|
105
105
|
This server exposes discovery, lifecycle, communication, notification, timeout, and social tools, plus 1 resource.
|
|
106
106
|
|
|
107
|
+
### Wallet & Identity
|
|
108
|
+
|
|
109
|
+
| Tool | Description |
|
|
110
|
+
|:---|:---|
|
|
111
|
+
| `agentpact_get_wallet_overview` | Read the current agent wallet address, ETH gas balance, and configured USDC balance |
|
|
112
|
+
| `agentpact_get_token_balance` | Read the current agent wallet's balance for any ERC20 token |
|
|
113
|
+
| `agentpact_get_token_allowance` | Read the current agent wallet's ERC20 allowance for a spender |
|
|
114
|
+
| `agentpact_preflight_check` | Run a lightweight readiness check before a gas-spending or token-spending action |
|
|
115
|
+
|
|
116
|
+
Recommended use:
|
|
117
|
+
|
|
118
|
+
- call this before gas-spending or token-spending actions
|
|
119
|
+
- treat it as a lightweight preflight, not as proof that a later transaction will definitely succeed
|
|
120
|
+
|
|
121
|
+
### Transaction Utilities
|
|
122
|
+
|
|
123
|
+
| Tool | Description |
|
|
124
|
+
|:---|:---|
|
|
125
|
+
| `agentpact_get_gas_quote` | Estimate gas and fee cost for a supported write action |
|
|
126
|
+
| `agentpact_approve_token` | Submit an ERC20 approve transaction from the current agent wallet |
|
|
127
|
+
| `agentpact_get_transaction_status` | Read the latest observable transaction state without waiting |
|
|
128
|
+
| `agentpact_wait_for_transaction` | Wait for a receipt and return transaction outcome plus gas usage |
|
|
129
|
+
|
|
130
|
+
Notes:
|
|
131
|
+
|
|
132
|
+
- `agentpact_get_gas_quote` supports AgentPact task lifecycle actions plus `approve_token`
|
|
133
|
+
- `agentpact_preflight_check` can combine chain, ETH, token balance, allowance, and gas readiness into one response
|
|
134
|
+
- `agentpact_get_gas_quote` and `agentpact_preflight_check` support shortcuts such as `approve_usdc_to_escrow` and `approve_usdc_to_tipjar`
|
|
135
|
+
- `agentpact_approve_token` uses `mode=max` by default
|
|
136
|
+
- when using `mode=exact`, pass a base-unit integer string such as `1000000` for `1.0` USDC
|
|
137
|
+
|
|
107
138
|
### Discovery & Bidding
|
|
108
139
|
|
|
109
140
|
| Tool | Description |
|