# Sablier MCP for AI Agents AI Agent Connect

> Sablier (Token Streaming & Real-time Payroll) MCP for AI Agents. Manage real-time token streams, airdrop campaigns, and payroll distributions. Query Sablier indexers, create Merkle trees for distributions, and check wallet eligibility. This Connector lets you handle complex on-chain finance tasks using natural language, making it easy to manage large-scale distributions and team payments without manual script writing.

## Overview
- **Category:** finance-accounting
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_3lULQsAU8zfmsBHoOrQU374N7okOjugYIv3y6YaJ/ai-agent-connect
- **Tags:** token-streaming, real-time-payroll, airdrop-management, merkle-tree, defi, ethereum

## Description

This Connector connects your Sablier protocol data to your AI client so you can manage real-time finance, payroll, and token distributions through natural language. Managing on-chain payroll and token distributions usually feels like a chore involving endless spreadsheet rows and manual script execution. This Connector changes that by letting you talk to your data using plain English. Instead of wrestling with GraphQL queries or manually calculating Merkle roots for your next airdrop, you can just tell your AI client what you need. You can ask it to find every active stream for a specific sender or check if a specific wallet qualifies for a reward.

If you're running a DAO or a Web3 company, this is how you handle the heavy lifting. You can hand your agent a list of recipients and have it build out the distribution campaign for you. It handles the technical heavy lifting of interacting with the indexers and IPFS. By connecting this to your preferred workspace through the Vinkius catalog, you turn a complex multi-step process into a simple conversation. You get to focus on the strategy of your distributions while the agent handles the data fetching and verification. It's about moving from "how do I run this query" to "show me the current payroll status." This replaces the need to maintain custom internal scripts for every new campaign. You can now monitor real-time finance flows and validate eligibility in one place, making it much easier to manage large-scale distributions or team payments without the usual technical friction.

## Tools

### check_eligibility
Check if a specific wallet address is eligible for a campaign. This helps you verify rewards before a user tries to claim them.

### check_validity
Validate an IPFS CID for a Sablier campaign. Use this to make sure the configuration is correct before you start interacting with it.

### create_merkle_campaign
Create a new Merkle tree for an airdrop campaign. This returns the CID and Merkle root so you can set up distributions quickly.

### query_graphql
Query Sablier streams and airdrops via GraphQL. Use this to fetch real-time data from Envio or The Graph indexers.

## Prompt Examples

**Prompt:** 
```
Can you check if a specific wallet is eligible for a campaign? Here is the address: 0x71C7656EC7ab88b098defB751B7401B5f6d8976F and the CID is QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco.
```

**Response:** 
```
I've checked the eligibility for that address. It is eligible for the campaign! The claimable amount is 500 tokens.
```

**Prompt:** 
```
I have a list of winners for my airdrop in this CSV format: address,amount. Can you create the Merkle campaign for me?
```

**Response:** 
```
The Merkle tree has been created and pinned to IPFS. The Merkle Root is 0xabc... and the IPFS CID is QmZ... You can now use this CID to initialize your Sablier campaign.
```

**Prompt:** 
```
Show me all the active token streams for the sender 0x5678.
```

**Response:** 
```
I found 3 active FlowStreams for that sender.

| Stream # | Asset | Rate |
| :--- | :--- | :--- |
| 101 | USDC | 0.01/sec |
| 105 | DAI | 0.01/sec |
```

## Capabilities

### Query live token streams
Fetch real-time data on active streams and airdrops from indexers.

### Build distribution Merkle trees
Generate Merkle roots and CIDs from recipient lists for airdrop campaigns.

### Verify campaign configurations
Check if an IPFS CID points to a valid campaign before you start interacting.

### Check wallet eligibility
Instantly see if a specific address qualifies for a reward in a campaign.

### Monitor payroll status
Track real-time payroll streams and contributor payment statuses.

## Use Cases

### Automating airdrop distributions
An ops lead has a CSV of 500 winners. They ask their agent to use create_merkle_campaign to build the distribution and get the CID.

### Validating team payroll
A Web3 HR manager asks their agent to query all active streams for a specific sender to verify that everyone is being paid correctly.

### Checking airdrop eligibility
A community member asks if their wallet is eligible for a reward. The agent uses check_eligibility to confirm and provide the amount.

### Verifying campaign configs
Before launching a new distribution, a developer asks the agent to check_validity on an IPFS CID to ensure the campaign setup is correct.

## Benefits

- Automate airdrop creation by using create_merkle_campaign to turn CSV lists into live distributions.
- Verify campaign data instantly with check_validity to prevent errors before interacting with on-chain configs.
- Check wallet rewards with check_eligibility to give users immediate feedback on their status.
- Fetch real-time stream data with query_graphql to monitor live finance flows.
- Monitor DAO payroll with query_graphql to keep track of contributor payments without manual checks.
- Reduce technical friction by replacing custom scripts with a natural language interface for all Sablier tasks.

## How It Works

The bottom line is you get to manage complex on-chain distributions through a simple chat interface.

1. Subscribe to this Connector from your preferred AI client.
2. Input your Sablier GraphQL and Merkle API URLs in the configuration.
3. Ask your agent to build campaigns, check eligibility, or query stream data.

## Frequently Asked Questions

**What can I do with the Sablier MCP?**
You can use it to manage real-time token streams, create airdrop distributions, and monitor payroll. It lets your AI agent interact with Sablier protocol data to automate finance tasks.

**How do I manage airdrops with Sablier?**
You can provide a list of recipients and amounts to your agent. The Connector will then create a Merkle tree and provide the CID needed to launch your distribution campaign.

**Can I check if a wallet is eligible for a reward?**
Yes, you can ask your agent to check a specific wallet address against a campaign CID. It will quickly tell you if the wallet qualifies and what the claimable amount is.

**How does this help with DAO payroll?**
It allows you to query active payroll streams and monitor contributor payments in real-time. You can ask for summaries of specific senders or check the status of active flows.

**Can I create Merkle trees from a CSV?**
Yes, that is one of the core features. You can give your agent a CSV list of addresses and amounts, and it will generate the Merkle campaign for you.

**Does this work with my current AI client?**
Yes, this Connector is designed to work with any MCP-compatible client, including Claude, Cursor, and Windsurf.

**How do I check if a user is eligible for a specific airdrop?**
Use the `check_eligibility` tool. You will need the user's wallet address and the IPFS CID of the Sablier campaign. The agent will query the Merkle API and return the eligibility status.

**Can I create a new distribution list for an airdrop?**
Yes! The `create_merkle_campaign` tool allows you to upload raw CSV content (addresses and amounts). It will generate the Merkle tree, pin it to IPFS, and return the root and CID.

**What data can I retrieve using the GraphQL tool?**
The `query_graphql` tool can fetch any data indexed by Sablier, including LockupStreams, FlowStreams, and Campaign details. You can filter by sender, recipient, or token address.