Anchor MCP 服务器
适用于 Anchor 框架的 MCP 服务器,支持 LLM 应用与外部数据源和工具集成。
快速入门
- 克隆仓库:git clone https://github.com/honey-guard/anchor-mcp.git
- 安装依赖并构建项目(需要 Rust 环境)。
- 使用 CLI 启动服务器,例如: security_check_program --mcp
- 在 Claude Desktop 中配置
claude_desktop_config.json
文件,在servers
部分添加: { "mcpServers": { "security_check_program": { "command": "security_check_program", "args": ["--mcp"] } } } - 查看日志:tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
更多参考:
- Solana Fender: https://github.com/honey-guard/solana-fender
- mcp-rs-template: https://github.com/linux-china/mcp-rs-template