You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
split AI tools into four pages, add sponsor top-ups prompt, support footers
- Split ai-tools/guide into overview, agent-skills, mcp, prompts
- Add sponsor rent top-ups AI prompt and FAQ entry
- Add support footer to all toolkit pages
- Promote payments guide headings to h2
- Update docs.json navigation and redirects
description: "Install structured agent skill files for Token API's and PDA accounts. Skills tell AI coding agents what they can do with ZK Compression."
4
+
---
5
+
6
+
## Agent Skill for Orchestration
7
+
View or install [`/skill.md`](https://zkcompression.com/skill.md). If you're building with agents, start here.
8
+
9
+
```bash
10
+
npx skills add https://zkcompression.com
11
+
```
12
+
13
+
## Dedicated Agent Skills
14
+
15
+
<Tabs>
16
+
<Tabtitle="Claude Code">
17
+
Add the marketplace and install:
18
+
19
+
```
20
+
/plugin marketplace add Lightprotocol/skills
21
+
/plugin install solana-rent-free-dev
22
+
```
23
+
</Tab>
24
+
<Tabtitle="Cursor">
25
+
1. Open Settings (**Cmd+Shift+J** / **Ctrl+Shift+J**)
| Build rent-free Solana programs with Light SDK (Anchor or Pinocchio). Includes router integration. |[light-sdk](https://github.com/Lightprotocol/skills/tree/main/skills/light-sdk)|
39
+
| Use Light Token client SDKs (TypeScript and Rust) for mints, ATAs, transfers |[light-token-client](https://github.com/Lightprotocol/skills/tree/main/skills/light-token-client)|
40
+
| Stream account state via Laserstream gRPC |[data-streaming](https://github.com/Lightprotocol/skills/tree/main/skills/data-streaming)|
41
+
| Wallets and payment flows with light-token. Includes privy, wallet adapter, mobile wallet adapter signing. Optional nullifier to prevent your onchain instruction from being executed more than once. |[payments-and-wallets](https://github.com/Lightprotocol/skills/tree/main/skills/payments-and-wallets)|
42
+
| Airdrops, DePIN, token distribution |[token-distribution](https://github.com/Lightprotocol/skills/tree/main/skills/token-distribution)|
43
+
| Anti-double-spend nullifiers for Privacy-preserving ZK programs |[zk-nullifier](https://github.com/Lightprotocol/skills/tree/main/skills/zk-nullifier)|
44
+
| Testing programs and clients on localnet, devnet, mainnet |[testing](https://github.com/Lightprotocol/skills/tree/main/skills/testing)|
45
+
| For per-user state, DePIN nodes, and infrequently accessed app state with compressed PDAs |[solana-compression](https://github.com/Lightprotocol/skills/tree/main/skills/solana-compression)|
46
+
| Help with Debugging and Questions via DeepWiki MCP |[ask-mcp](https://github.com/Lightprotocol/skills/tree/main/skills/ask-mcp)|
47
+
48
+
> View all skills here: https://github.com/Lightprotocol/skills.
49
+
50
+
All skills are included and are auto-discovered based on context. Ask about light-token, defi, payments, or program migration and the agent uses the relevant skill automatically.
Copy file name to clipboardExpand all lines: ai-tools/mcp.mdx
+4-52Lines changed: 4 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,58 +1,11 @@
1
1
---
2
-
title: "AI Tools Guide"
3
-
description: "Guidance to AI tools when working with ZK Compression. Includes Agent Skill, MCP server, DeepWiki, and AI Search guides."
2
+
title: "MCP"
3
+
description: "Connect AI apps to Light Protocol data sources and tools via the Model Context Protocol (MCP). Includes installation for Claude Code, Codex, Cursor, and more."
| Build rent-free Solana programs with Light SDK (Anchor or Pinocchio). Includes router integration. |[light-sdk](https://github.com/Lightprotocol/skills/tree/main/skills/light-sdk)|
26
-
| Use Light Token client SDKs (TypeScript and Rust) for mints, ATAs, transfers |[light-token-client](https://github.com/Lightprotocol/skills/tree/main/skills/light-token-client)|
27
-
| Stream account state via Laserstream gRPC |[data-streaming](https://github.com/Lightprotocol/skills/tree/main/skills/data-streaming)|
28
-
| Wallets and payment flows with light-token. Includes privy, wallet adapter, mobile wallet adapter signing. Optional nullifier to prevent your onchain instruction from being executed more than once. |[payments-and-wallets](https://github.com/Lightprotocol/skills/tree/main/skills/payments-and-wallets)|
29
-
| Airdrops, DePIN, token distribution |[token-distribution](https://github.com/Lightprotocol/skills/tree/main/skills/token-distribution)|
30
-
| Anti-double-spend nullifiers for Privacy-preserving ZK programs |[zk-nullifier](https://github.com/Lightprotocol/skills/tree/main/skills/zk-nullifier)|
31
-
| Testing programs and clients on localnet, devnet, mainnet |[testing](https://github.com/Lightprotocol/skills/tree/main/skills/testing)|
32
-
| For per-user state, DePIN nodes, and infrequently accessed app state with compressed PDAs |[solana-compression](https://github.com/Lightprotocol/skills/tree/main/skills/solana-compression)|
33
-
| Help with Debugging and Questions via DeepWiki MCP |[ask-mcp](https://github.com/Lightprotocol/skills/tree/main/skills/ask-mcp)|
34
-
35
-
> View all skills here: https://github.com/Lightprotocol/skills.
36
-
37
-
All skills are included and are auto-discovered based on context. Ask about light-token, defi, payments, or program migration and the agent uses the relevant skill automatically.
38
-
39
-
<InstallAgentSkills />
40
-
41
-
## AI Prompts
42
-
43
-
<Card
44
-
title="Find ready-to-use AI prompts for your agent here and all guides. "
45
-
icon="chevron-right"
46
-
color="#0066ff"
47
-
href="/ai-tools/prompts"
48
-
horizontal
49
-
/>
50
-
51
-
## MCP
52
5
53
6
The Model Context Protocol (MCP) is an open standard to connect AI apps to data sources and tools. The DeepWiki MCP server provides access to the Light Protocol repository with its search capabilities (AskDevin).
Copy file name to clipboardExpand all lines: faq.mdx
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,26 @@ This is dealt with under the hood in a way that doesn’t disrupt the UX of what
30
30
31
31
</Accordion>
32
32
33
+
<Accordiontitle="How can I sponsor rent top-ups for my users?">
34
+
35
+
Set the `payer` parameter to the sponsor's public key on any Light Token instruction. The sponsor pays SOL for rent top-ups while the user only signs to authorize the transfer.
1. The light-token API matches the SPL-token API almost entirely, and extends their functionality to include the light token program in addition to the SPL-token and Token-2022 programs.
15
16
2. Your users use the same stablecoins, just stored more efficiently.
@@ -97,9 +98,7 @@ import {
97
98
const rpc =createRpc(RPC_ENDPOINT);
98
99
```
99
100
100
-
<RegisterSplMint />
101
-
102
-
### Receive Payments
101
+
## Receive Payments
103
102
104
103
<Note>
105
104
Find a full code example [here](https://github.com/Lightprotocol/examples-light-token/blob/main/toolkits/payments-and-wallets/receive.ts).
@@ -119,16 +118,16 @@ loop handles the rare multi-transaction case automatically.
@@ -187,7 +185,7 @@ const ata = await getOrCreateAssociatedTokenAccount(
187
185
188
186
</Accordion>
189
187
190
-
###Send Payments
188
+
## Send Payments
191
189
192
190
<Note>
193
191
Find a full code example: [instruction](https://github.com/Lightprotocol/examples-light-token/blob/main/toolkits/payments-and-wallets/send-instruction.ts) | [action](https://github.com/Lightprotocol/examples-light-token/blob/main/toolkits/payments-and-wallets/send-action.ts).
@@ -197,11 +195,11 @@ Find a full code example: [instruction](https://github.com/Lightprotocol/example
0 commit comments