Solana Model Context Protocol (MCP) Server
Solana 模型上下文协议 (MCP) 服务器
一个基于 Python 的服务器,用于实现 Solana 区块链的模型上下文协议 (MCP)。该服务器提供了与 Solana 区块链数据和模型交互的接口。
特征
实时 Solana 区块链数据处理
模型上下文协议实现
用于区块链交互的 RESTful API 端点
WebSocket 支持实时更新
Related MCP server: Solana MCP Server
设置
标准设置
克隆存储库
安装依赖项:
pip install -r requirements.txt设置环境变量:
cp .env.example .env使用您的 Solana RPC 节点详细信息编辑
.env文件
Docker 设置
构建 Docker 镜像:
docker build -t solana-mcp-server .运行 Docker 容器:
docker run -p 8000:8000 --env-file .env solana-mcp-server
运行服务器
开发模式:
python main.py生产方式:
uvicorn main:app --host 0.0.0.0 --port 8000Docker模式:
docker run -p 8000:8000 --env-file .env solana-mcp-serverAPI 文档
服务器运行后,请访问以下 API 文档:
http://localhost:8000/docs环境变量
可以配置以下环境变量:
HOST:服务器主机(默认值:0.0.0.0)PORT:服务器端口(默认值:8000)DEBUG:启用调试模式(默认值:False)LOG_LEVEL:日志记录级别(默认值:INFO)CORS_ORIGINS:允许的 CORS 来源的逗号分隔列表(默认值:*)RELOAD:启用开发热重载(默认值:False)
增强的 Solana Analytics API
该服务器通过以下端点提供增强的 Solana 分析功能:
代币信息
POST /api/analyzer/token获取有关代币的详细信息,包括价格、市值和供应数据。
鲸鱼探测
POST /api/analyzer/whales使用可配置的阈值识别特定代币的大量持有者(“鲸鱼”)。
增强账户分析
POST /api/analyzer/account获取带有附加上下文的详细解析帐户信息。
代币账户及定价
POST /api/analyzer/token-accounts获取具有丰富定价和估值数据的地址的代币账户。
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
- 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
- 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
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that extends AI capabilities by providing tools to interact with the Solana blockchain, enabling operations like transactions, account queries, and wallet management.1Apache 2.0
Related MCP Connectors
Solana token risk-scoring MCP server for AI trading agents with insider wallet cluster detection.
Solana token safety for AI agents — rug-pull, honeypot & Token-2022 trap detection before you buy.
SolanaOracle - 12 Solana tools: SPL tokens, Jupiter, validators, rent, programs, NFTs.
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/omaidf/solana-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server