@agent-shield/mcp 0.2.1 → 0.3.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 +14 -2
  2. package/package.json +10 -4
package/README.md CHANGED
@@ -57,7 +57,7 @@ Add to `.cursor/mcp.json` in your project:
57
57
  }
58
58
  ```
59
59
 
60
- ## Tools (12)
60
+ ## Tools (18)
61
61
 
62
62
  ### Read-Only
63
63
 
@@ -65,6 +65,7 @@ Add to `.cursor/mcp.json` in your project:
65
65
  |------|-------------|
66
66
  | `shield_check_vault` | Check vault status, owner, agent, and policy configuration |
67
67
  | `shield_check_spending` | Check rolling 24h spending and recent transaction history |
68
+ | `shield_check_pending_policy` | Check pending timelocked policy update status |
68
69
 
69
70
  ### Owner-Signed (Write)
70
71
 
@@ -75,8 +76,12 @@ Add to `.cursor/mcp.json` in your project:
75
76
  | `shield_withdraw` | Withdraw tokens from a vault |
76
77
  | `shield_register_agent` | Register an agent signing key |
77
78
  | `shield_update_policy` | Update spending caps, token/protocol allowlists, leverage limits |
79
+ | `shield_queue_policy_update` | Queue a timelocked policy change |
80
+ | `shield_apply_pending_policy` | Apply a queued policy change after timelock expires |
81
+ | `shield_cancel_pending_policy` | Cancel a queued policy change |
78
82
  | `shield_revoke_agent` | Emergency kill switch — freezes vault immediately |
79
83
  | `shield_reactivate_vault` | Unfreeze a vault, optionally with a new agent |
84
+ | `shield_provision` | Provision a vault via Solana Actions |
80
85
 
81
86
  ### Agent-Signed (Requires `AGENTSHIELD_AGENT_KEYPAIR_PATH`)
82
87
 
@@ -85,6 +90,7 @@ Add to `.cursor/mcp.json` in your project:
85
90
  | `shield_execute_swap` | Execute a Jupiter token swap through the vault |
86
91
  | `shield_open_position` | Open a Flash Trade leveraged perpetual position |
87
92
  | `shield_close_position` | Close a Flash Trade perpetual position |
93
+ | `shield_agent_transfer` | Transfer tokens to an allowlisted destination |
88
94
 
89
95
  ## Resources (3)
90
96
 
@@ -117,7 +123,13 @@ AGENTSHIELD_WALLET_PATH=~/.config/solana/id.json node dist/index.js
117
123
  - **Transport**: stdio only (local subprocess of the AI tool)
118
124
  - **Credentials**: Environment variables (keypair file paths)
119
125
  - **SDK**: Wraps `AgentShieldClient` from `@agent-shield/sdk` — every tool delegates to a client method
120
- - **Error handling**: All 37 Anchor error codes mapped to human-readable messages with actionable suggestions
126
+ - **Error handling**: All 46 Anchor error codes (6000–6045) mapped to human-readable messages with actionable suggestions
127
+
128
+ ## Support
129
+
130
+ - X/Twitter: [@MightieMags](https://x.com/MightieMags)
131
+ - Telegram: [MightyMags](https://t.me/MightyMags)
132
+ - Issues: [GitHub Issues](https://github.com/Kaleb-Rupe/agentshield/issues)
121
133
 
122
134
  ## License
123
135
 
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "@agent-shield/mcp",
3
- "version": "0.2.1",
3
+ "version": "0.3.1",
4
+ "author": "Kaleb Rupe (https://x.com/MightieMags)",
5
+ "homepage": "https://github.com/Kaleb-Rupe/agentshield#readme",
6
+ "bugs": {
7
+ "url": "https://github.com/Kaleb-Rupe/agentshield/issues",
8
+ "email": "https://t.me/MightyMags"
9
+ },
4
10
  "description": "MCP server for AgentShield — manage on-chain vaults and enforce policies via AI tools",
5
11
  "main": "dist/index.js",
6
12
  "types": "dist/index.d.ts",
@@ -18,7 +24,7 @@
18
24
  "@modelcontextprotocol/sdk": "^1.12.1"
19
25
  },
20
26
  "peerDependencies": {
21
- "@agent-shield/sdk": ">=0.1.5",
27
+ "@agent-shield/sdk": ">=0.4.0",
22
28
  "@agent-shield/custody-crossmint": ">=0.1.0",
23
29
  "@coral-xyz/anchor": ">=0.32.1",
24
30
  "@solana/spl-token": ">=0.4.0",
@@ -43,8 +49,8 @@
43
49
  "sinon": "^17.0.1",
44
50
  "ts-node": "^10.9.2",
45
51
  "typescript": "^5.3.3",
46
- "@agent-shield/sdk": "0.3.0",
47
- "@agent-shield/custody-crossmint": "0.1.1"
52
+ "@agent-shield/sdk": "0.4.1",
53
+ "@agent-shield/custody-crossmint": "0.1.3"
48
54
  },
49
55
  "keywords": [
50
56
  "mcp",