Solana Vault MCP
Solana Vault MCP
使用 Python 实现安全 Solana 区块链钱包操作的模型上下文协议 (MCP)。
概述
Solana Vault MCP 通过标准化的模型上下文协议 (MCP) 接口为 Solana 区块链提供安全的钱包操作。它允许 AI 助手无需直接访问私钥即可与 Solana 区块链安全地交互。
Related MCP server: Solana MCP Server
特征
安全的 Solana 钱包操作
SOL 余额检查
SOL 转移能力
交易历史记录检索
模型上下文协议兼容 API
支持 Flask Web 服务器和 WebSocket 连接
详细的日志记录和错误处理
安装
先决条件
Python 3.9+
点子
设置
克隆存储库:
git clone https://github.com/olaxbt/solana-vault-mcp.git cd solana-vault-mcp创建并激活虚拟环境:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate安装依赖项:
pip install -r requirements.txt根据
.env.example创建.env文件:cp .env.example .env编辑
.env文件以添加您的 Solana 私钥和 RPC URL。
用法
启动服务器
python run.py服务器将在您的.env文件中指定的端口上启动(默认值:5000)。
API 端点
GET /- 包含服务信息的欢迎页面GET /health- 健康检查端点GET /api/mcp/ping- MCP 服务健康检查POST /api/mcp/query- 主要 MCP 查询端点
MCP 操作
Solana Vault MCP 支持以下操作:
wallet.info- 获取钱包信息wallet.balance- 获取 SOL 余额wallet.transfer- 将 SOL 转移到另一个钱包wallet.transactions- 获取最近的交易wallet.token_balance- 获取特定代币的代币余额
示例查询
{
"id": "request123",
"action": "wallet.balance",
"params": {}
}回复:
{
"id": "request123",
"result": {
"balance": 1.5,
"currency": "SOL",
"address": "YourSolanaPublicKey"
}
}发展
项目结构
solana-vault-mcp/
├── app/
│ ├── handlers/ # Action handlers
│ ├── routes/ # API routes
│ ├── services/ # Core services
│ └── utils/ # Utilities
├── logs/ # Log files
├── tests/ # Test cases
├── .env # Environment variables
├── .env.example # Example environment file
├── requirements.txt # Dependencies
├── run.py # Main entry point
└── README.md # Documentation运行测试
pytest执照
麻省理工学院
贡献
欢迎贡献代码!欢迎提交 Pull 请求。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that enables Claude AI to interact with the Solana blockchain through a standardized interface, providing tools for transactions, account queries, and wallet management.40162Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server enabling AI agents to interact with the Solana blockchain for DeFi operations like checking balances, transferring tokens, executing swaps, and fetching price data.4023MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI models to interact with the Solana blockchain, providing RPC methods, wallet management, DeFi trading capabilities, and Helius API integration for enhanced Solana development.5MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables Claude AI to interact with the Solana blockchain, allowing it to execute transactions, query accounts, manage wallets, get price predictions, trade tokens, and access various blockchain data sources.4
Related MCP Connectors
Solana token risk-scoring MCP server for AI trading agents with insider wallet cluster detection.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/olaxbt/solana-vault-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server