Crossmint HR Airdrop MCP
Crossmint HR 空投 MCP
一个模型上下文协议 (MCP) 服务器,用于帮助企业人力资源团队向员工空投 Solana 代币。该项目提供了一种高效的方式将代币分发到员工钱包地址,并支持基于角色的分配和自动电子邮件通知。
特征
钱包管理:连接 Solana 钱包或 Crossmint 钱包来签署和资助交易
代币创建:在 Solana 区块链上创建自定义代币
流动性管理:通过 Raydium AMM 为新代币增加流动性
托管钱包生成:为员工创建 Crossmint 托管钱包
CSV 导入:上传员工数据,包括姓名、电子邮件和角色信息
基于角色的分配:根据员工角色分配代币
Gas Fee 估算:计算空投前的交易费用
压缩空投:使用 ZK 轻量协议进行高效的代币分发
电子邮件通知:向员工发送访问其令牌的说明
Related MCP server: Solana MCP Server
先决条件
Node.js(v16+)
pnpm 包管理器
Solana 钱包使用 SOL 支付交易费用
用于创建托管钱包的 Crossmint API 密钥
重新发送用于发送电子邮件的 API 密钥
用于压缩事务的 Helius API 密钥(可选)
安装
1. 克隆和设置
git clone https://github.com/monostate/Employees-Airdrop-Rewards-MCP.git
cd crossmint-hr-airdrop-mcp
./setup.sh安装脚本将:
安装依赖项
克隆所需的存储库
创建
.env文件模板构建项目
2.配置环境变量
使用您的 API 密钥和配置编辑.env文件:
# Crossmint API Key (required for custodial wallet creation)
CROSSMINT_API_KEY=your_crossmint_api_key
# Crossmint Email (required for wallet operations)
CROSSMINT_EMAIL=your_email@example.com
# Resend API Key (required for sending emails)
RESEND_API_KEY=your_resend_api_key
# Helius API Key (optional, for compressed transactions)
HELIUS_API_KEY=your_helius_api_key
# Solana RPC URL (optional, defaults to mainnet-beta)
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com3. 安装到 Claude 桌面
pnpm install-mcp这将把 MCP 服务器安装到 Claude Desktop。您需要重启 Claude Desktop 才能加载新的 MCP 服务器。
使用指南
配置完成后,您可以通过以下指令将 HR Airdrop MCP 服务器与 Claude Desktop 一起使用:
连接 Solana 钱包或 Crossmint 钱包
创建员工奖励代币
为代币增加流动性
为员工生成托管钱包
上传包含员工角色的 CSV
计算代币分布
计算 gas 费
执行空投
发送通知电子邮件
可用工具
connect_wallet:连接 Solana 钱包connect_crossmint_wallet:连接 Crossmint 钱包check_balance:检查钱包 SOL 余额create_token:创建一个新的令牌add_liquidity:为代币增加流动性generate_wallets:为员工创建托管钱包upload_csv:处理来自 CSV 的员工数据calculate_amounts:计算代币分配金额calculate_fees:计算空投的 gas 费用start_airdrop:执行代币空投send_emails:向员工发送通知get_state:检查空投过程的当前状态
CSV 格式
对于基于角色的令牌分发,请准备一个包含以下列的 CSV 文件:
name,email,role
John Doe,john@example.com,developer
Jane Smith,jane@example.com,manager支持角色: operational 、 developer 、 manager 、 VP 、 VIP
发展
要对项目进行更改:
修改
src/中的 TypeScript 文件使用
pnpm build重建如果需要,请更新您的 Claude Desktop 配置
执照
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。
致谢
使用模型上下文协议构建
使用Crossmint SDK进行钱包管理
使用GOAT SDK进行 Solana 钱包集成
Available Tools
12 toolsadd_liquidityC
Add liquidity to the created token
Inputs: solAmount (required), tokenAmount (required).
calculate_amountsC
Calculate token amounts for each employee
Inputs: roleAmounts, uniformAmount.
calculate_feesB
Calculate gas fees for the airdrop
Inputs: no named parameters.
check_balanceB
Check the SOL balance of the connected wallet
Inputs: no named parameters.
connect_crossmint_walletC
Connect a Crossmint wallet to the airdrop server
Inputs: apiKey (required), email (required).
connect_walletC
Connect a Solana wallet to the airdrop server
Inputs: privateKey (required), rpcUrl.
create_tokenC
Create a new Solana token
Inputs: name (required), supply (required), symbol (required), decimals.
generate_walletsC
Generate custodial wallets for employees using Crossmint
Inputs: employees (required), apiKey.
get_stateB
Get the current state of the airdrop process
Inputs: no named parameters.
send_emailsC
Send emails to employees with wallet access instructions
Inputs: fromEmail (required), resendApiKey, subject.
start_airdropB
Perform the token airdrop to employee wallets
Inputs: no named parameters.
upload_csvC
Process employee data from a CSV file
Inputs: filePath (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool has a clearly distinct purpose with no overlap. For example, connect_wallet and connect_crossmint_wallet handle different wallet types, while calculate_amounts and calculate_fees perform separate calculations. The descriptions make it easy to distinguish between all 12 tools.
All tools follow a consistent verb_noun naming pattern (e.g., add_liquidity, calculate_amounts, check_balance). There are no deviations in style or convention, making the tool set highly predictable and readable.
With 12 tools, the set is well-scoped for an HR airdrop process, covering wallet management, token operations, calculations, and communication. Each tool earns its place by addressing a specific step in the workflow without being excessive or insufficient.
The tool set provides complete coverage for the HR airdrop domain, including setup (create_token, upload_csv), calculations (calculate_amounts, calculate_fees), wallet management (connect_wallet, generate_wallets), execution (start_airdrop, add_liquidity), and communication (send_emails). No obvious gaps exist in the lifecycle.
Related MCP Connectors
Batch send SOL or any SPL token to 1000+ wallets via x402. AI agent payments on Solana.
Sell unused AI subscription capacity as finished work. SOL/USDC escrow on Solana, 0% fees.
Autonomous RWA treasury on Solana: daily allocation, on-chain receipts, proofs, your own vault.
Resolve social handles to wallets, score onchain reputation, pay in any ERC-20, SPL or native.
Related MCP Servers
- AlicenseBqualityDmaintenanceA server that enables interaction with the Solana blockchain, providing access to over 40 Solana RPC methods including getting balances, transaction details, block information, and sending transactions.444MIT
- AlicenseBqualityNot gradedmaintenanceA server that provides simple RPC endpoints for common Solana blockchain operations, allowing users to check balances, get account information, and transfer SOL between accounts.51ISC
- AlicenseNot gradedqualityDmaintenanceA server that enables interaction with the Solana blockchain using your own private key, supporting operations like getting wallet information, checking balances, and transferring SOL.11ISC
- FlicenseNot gradedqualityDmaintenanceProvides unified access to real-time and historical Solana ecosystem data through 40+ API endpoints, enabling LLM agents to query tokens, wallets, trades, and DeFi metrics.-