仙女座MCP服务器
16个只读查询工具 | 安全区块链探索
🔍 全面的区块链发现 没有交易风险。
*Cosmos生态系统中的第一台MCP服务器,将Andromeda的完整ADO框架引入AI代理。*
🎯 概述
仙女座MCP服务器提供 16个强大的只读工具 用于全面的仙女座区块链探索、监测和发现。非常适合需要深入区块链见解而没有交易能力的开发人员、分析师和研究人员。
✨ 主要特点
🔒 100%安全
- 无交易功能 -纯只读操作
- 无风险勘探 合同和区块链状态
- 非常适合生产分析 没有安全问题
📊 全面覆盖
- 区块链基础设施:链信息、区块、账户、验证器
- 合同发现:ADO查询、合同检查、代码分析
- ADO数据库:类型发现、版本管理、代码解析
- 状态监测:交换查询和空投索赔状态
⚡ 生产就绪
- 建立在 98%功能正常 仙女座MCP基础设施
- 战斗测试 全生态系统的查询操作
- 优化性能 用于分析工作负载
🛠 安装
npm install @andromedaprotocol/andromeda-mcp-queries🚀 快速开始
MCP配置
添加到MCP配置文件(claude_desktop_config.json):
{
"mcpServers": {
"andromeda-queries": {
"command": "npx",
"args": ["@andromedaprotocol/andromeda-mcp-queries"],
"env": {
"ANDROMEDA_NETWORK": "testnet"
}
}
}
}环境变量
ANDROMEDA_NETWORK:设置为testnet或mainnet(默认值:testnet)
📋 可用工具
🌐 区块链基础设施(6个工具)
| 工具 | 说明 |
|---|---|
get_chain_info | 获取仙女座区块链的基本信息 |
get_block_info | 获取特定区块或最新区块的信息 |
get_account_info | 获取Andromeda地址的帐户信息 |
get_account_balance | 获取仙女座地址的代币余额 |
get_validators | 获取Andromeda上的活动验证器列表 |
get_recent_transactions | 获取Andromeda区块链上的最近交易 |
🔍 合同和代码发现(5个工具)
| 工具 | 说明 |
|---|---|
query_ado | 查询仙女座数字对象(ADO)智能合约 |
get_contract_info | 获取有关CosmWasm智能合约的信息 |
get_code_info | 获取有关CosmWasm代码的信息 |
get_contracts | 获取特定代码ID的所有合同 |
get_transaction | 通过哈希获取特定交易的详细信息 |
📚 ADO数据库(3个工具)
| 工具 | 说明 |
|---|---|
query_adodb | 查询ADO数据库以获取可用的ADO类型 |
get_ado_code_id | 获取特定ADO类型和版本的代码ID |
list_ado_versions | 列出特定ADO类型的所有版本 |
📈 状态查询(2个工具)
| 工具 | 说明 |
|---|---|
query_cw20_sale | 查询有关交易所CW20销售的信息 |
query_airdrop_claim | 查询地址的空投索赔状态 |
🚀 示例提示-立即开始!
安装后,尝试这些强大的提示来探索仙女座菌株的功能:
🔍 区块链发现
Get the current state of the Andromeda blockchain - what's the latest block and chain info?Show me the balance and account details for andr16lj28n4claa3kkplxmr8mt5jue3973dgzujfmqWho are the active validators on Andromeda and what's their status?📊 ADO生态系统探索
What ADO types are available in the Andromeda ecosystem? Show me all the building blocks I can use.Get the code ID for the latest CW20 token ADO and show me all available versions.Find all deployed contracts that use CW20 code ID 10 - show me the ecosystem of tokens.🏗 智能合约分析
Query this Board Demo Token contract andr1wdfe5qqyq36mm7sqypcxnme2m47xtfgv7y8v7rtstxdxsj82rrtq7rrdzn and tell me its token info, total supply, and any other details.🕵️ 交易取证
Investigate this transaction 524AB9BE8429A4DEF0ECD3986C46C73BE32F4CE573BF44490DA42AA8EBFD5473 - what happened, who was involved, and what were the results?💼 商业智能
I'm thinking of building a DeFi application. Show me what CW20 staking and exchange ADOs are available, their versions, and get me the code IDs I'd need.🎯 开发人员工作流
I want to deploy a marketplace. Show me the latest marketplace ADO code ID, find some example marketplace contracts, and query one to see how it's configured.Walk me through the complete tokenomics landscape on Andromeda - what token ADOs exist, show me some live examples, and analyze their configurations.💡 专业提示:
- 问后续问题!每个查询都会打开新的探索路径
- 在一个提示中组合多个工具进行全面分析
- 请求分析:“这份合同数据告诉我们关于这个项目的什么?”
- 使用真实地址获得具体结果(上文提供的示例)
🔍 示例用法
基础链探索
// Get current chain information
await get_chain_info()
// Check account balance
await get_account_balance({
address: "andr1..."
})
// Query latest block
await get_block_info()ADO发现
// Discover available ADO types
await query_adodb()
// Get code ID for specific ADO
await get_ado_code_id({
adoType: "cw721",
version: "latest"
})
// List all versions
await list_ado_versions({
adoType: "marketplace"
})合同分析
// Query contract state
await query_ado({
contractAddress: "andr1...",
query: { "owner": {} }
})
// Get contract information
await get_contract_info({
contractAddress: "andr1..."
})高级监控
// Execute custom GraphQL queries
await graphql_query({
query: `
query {
chains {
chainId
chainName
}
}
`
})
// Monitor contract events
await subscribe_ado_events({
contractAddress: "andr1..."
})📊 用例
🔬 区块链分析
- 账户监控和余额跟踪
- 交易分析与连锁探索
- 验证器性能监控
🏗 开发者工具
- 合同发现和检查
- ADO类型探索和版本管理
- 部署的代码ID解析
📈 商业智能
- 通过交易所查询的市场数据
- 状态监控和分析
🎓 教育研究
- 安全的区块链学习探索
- 合同互动研究
- 仙女座生态系统的发现
🛡 安全与安保
- 无需私钥:所有操作都是只读的
- 无交易风险:无法修改区块链状态
- 安全生产:非常适合生产环境中的分析
- 利率限制友好:专为高频使用而设计的高效查询
🔧 发展
地方发展
git clone https://github.com/andromedaprotocol/Andromeda-MCP-Server.git
cd Andromeda-MCP-Server/package-1-queries
npm install
npm run dev测试
npm test建筑
npm run build📚 文档
- 工具参考:有关详细参数,请参阅内联工具说明
- GraphQL架构:通过以下方式浏览可用查询
graphql_query工具 - ADO类型:通过以下方式发现所有可用的广告主
query_adodb
🚀 接下来是什么?
这是 包装1 我们的3包推出战略:
- ✅ 包装1(此):16个仅限查询的安全探索工具
- ⏳ 包装2:执行能力(约25个工具)
- ⏳ 包装3:完整的生态系统(50个工具)
🤝 支持
- 作者:米伦·科赫(myronkoch@gmail.com)
- 公司:仙女座议定书
- 许可证:MIT
- 问题:主存储库中的GitHub问题
🔗 演示钱包和测试资产
演示钱包: andr16lj28n4claa3kkplxmr8mt5jue3973dgzujfmq
- ANDR余额:交易费约为10澳元
- BDT代币:50000个董事会演示代币
- NFT:演示集合NFT中的DEMO_001
- 创建:专门用于样品快速测试
相关合同:
- 演示NFT集合:
andr1j6m8dplacngaagpd9vlxmj2xl0mt5lr7s56c92rfu2hk6e9rk88s5zaccf - 董事会演示令牌:
andr1wdfe5qqyq36mm7sqypcxnme2m47xtfgv7y8v7rtstxdxsj82rrtq7rrdzn - 应用合同:
andr1wummgmrf39p2hg90yxn0uh3tvc630kez4e9ymz8ujny6zeklkxkq008jns - 交易示例:
58CF8D0D5B406EF714E62578D73F56C8F1CD04BA31BE0E05939F19F7E4F02781
非常适合所有查询工具的复制粘贴测试,并保证有趣的结果!
📜 许可证
MIT许可证-有关详细信息,请参阅许可证文件。
______________________________________________________________________
🎯 非常适合安全的仙女座区块链探索和发现。
