
wowinter13/solscan-mcp 是从 https://github.com/wowinter13/solscan-mcp. 导入的 MCP 服务器候选
概览
wowinter13/solscan-mcp 是从 https://github.com/wowinter13/solscan-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
概述
一个用于与Solana区块链数据的Solscan Pro API交互的模型上下文协议(MCP)服务器。该服务器提供通过大型语言模型查询Solana区块链上的代币信息、账户活动和交易细节的工具。
示例
简单提示:
https://github.com/user-attachments/assets/2f2586b2-ed9d-4d4d-bda4-0154b9b98cde
You也可以用它来处理更复杂的查询,比如分析犯罪活动,结合多个MCP和正确的 context.
For举例,上传一个可疑地址的csv列表,然后使用perplexity-mcp研究工具LLM会在上下文窗口中添加调查人员如何根据犯罪钱包的活动(MEV、粉碎、中毒、夹心等)定义的信息——>Solscan-MCP会利用这些上下文调查钱包并提供一个report.
特色
有关所有可用工具的详细文档,请参见 TOOLS.md。
安装
先修条件:
- Rust 工具链(通过 rustup 安装)——用于常规使用
- Docker – 用于 Docker
- Solscan Pro API 密钥。你可以从 Solscan API 获取一个密钥。
常规
在你的claude_desktop_config.json或[claude_config.json中添加以下内容:
本页由 AI 翻译,技术细节请以原文为准。
README
🟣🔎 solscan-mcp: A Solscan API MCP Server in Rust
Overview
A Model Context Protocol (MCP) server for interacting with the Solscan Pro API for Solana blockchain data. This server provides tools to query token information, account activities, and transaction details on the Solana blockchain via Large Language Models.
Examples
Simple prompts:
https://github.com/user-attachments/assets/2f2586b2-ed9d-4d4d-bda4-0154b9b98cde
You can also use it for much more complex queries, like analyzing criminal activity combining multiple MCPs and correct context.
For example, upload a csv list of suspected addresses, then using perplexity-mcp research tool LLM will add info to context window on how investigators define criminal wallets based on their activity (mev, dusting, poisoning, sandwiched, etc) -> solscan-mcp will use this context to investigate the wallets and provide a report.
Features
For detailed documentation of all available tools, see TOOLS.md.
Installation
Prerequisites:
- Rust toolchain (install via rustup) – for regular usage
- Docker – for Docker usage
- Solscan Pro API key. You can obtain one from Solscan APIs.
Regular
cargo install solscan-mcp
where solscan-mcp # -> /Users/$username/.cargo/bin/solscan-mcp
Add the following to your claude_desktop_config.json or claude_config.json:
{
"mcpServers": {
"solscan-mcp": {
"command": "/Users/$username/.cargo/bin/solscan-mcp",
"args": [],
"env": {
"SOLSCAN_API_KEY": "your_solscan_api_key"
}
}
}
}
Docker
WIP, will be available soon.
Code quality Notes
I treat MCPs like useful scripts, as the structure of the APIs they rely on can always change. So, api.rs could definitely be split into multiple APIs based on Solscan namespaces. My main goal was to make it work and be easy to maintain, while ensuring errors are ignored without breaking the flow (unlike many MCPs I’ve tested in Python/TS, which crash painfully when they don’t gracefully handle simple errors).
License
MIT
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"solscan-mcp": {
"command": "/Users/$username/.cargo/bin/solscan-mcp",
"args": [],
"env": {
"SOLSCAN_API_KEY": "your_solscan_api_key"
}
}
}
}