Solana Agent Kit MCP 服务器是一个模型上下文协议(MCP)服务器,它为 Claude AI 提供链上工具,让其能通过标准化接口与 Solana 区块链进行交互。此项目基于 Solana Agent Kit 实现,可使 AI 代理无缝执行各类区块链操作。
npm install solana-mcp-server
git clone https://github.com/your-username/solana-agent-kit.git
cd solana-agent-kit
npm install
config.json 文件。{
"privateKey": "your-solana-private-key",
"network": "mainnet" // 可选,default: mainnet
}
npm start
该 MCP 服务器扩展了 Claude 的功能,提供以下工具:
服务器实现模型上下文协议规范,为 AI 代理标准化区块链交互。
npm install solana-mcp-server
git clone https://github.com/your-username/solana-agent-kit.git
cd solana-agent-kit
npm install
solana-agent-kit/
├── server.js # 主服务器文件
├── config.json # 配置文件
└── package.json # 依赖管理文件
如果遇到问题:
关键依赖包括:
欢迎贡献!请随意提交 Pull Request。
git checkout -b feature/amazing-feature)git commit -m '添加一些精彩的特性')git push origin feature/amazing-feature)本项目 licensed under the MIT License。
⚠️ 重要提示
要严格保持私钥安全,切勿共享私钥,同时使用环境变量存储敏感信息。
💡 使用建议
考虑为 AI 代理操作使用专用钱包,并定期监控和审计 AI 代理活动。在进行测试或开发前,先在测试网或主网上进行操作。