AgentShare — Solana DeFi Intelligence MCP
AgentShare
为 AI Agent 提供结构化的市场价格和报价 — 支持 REST API 和 MCP (流式 HTTP)。
网站与文档 | |
MCP 端点 |
|
发现地址 |
|
本仓库包含用于 Claude Desktop、Cursor 及其他 MCP 客户端的 stdio MCP 服务器,以及极简的 REST 示例。实时 API 和完整集成指南请见上述网站。
面向 AI Agent(机器可读)
AGENTS.md— 使命、工具名称、身份验证、响应封装、可直接复制的 MCP JSON 以及 OpenAPI 链接。llms.txt— 包含相同核心内容的简短、易于抓取的单文件(适用于 LLM / GEO 工作流)。openapi.json— 本 MCP 所使用的 REST 接口(/api/v1/search、/offers/*、/meta)的 OpenAPI 3.0 规范。完整的生产环境规范(所有路由)始终位于 **https://agentshare.dev/openapi.json**(单一事实来源;无重复文档仓库)。mcp-config.json— 可直接粘贴的mcpServers代码块,用于npx mcp-remote(Claude Desktop / Cursor),指向远程流式 HTTP 端点。
Related MCP server: Godalo
获取 API 密钥
要使用此 MCP 服务器或 REST API,您需要一个 API 密钥。请访问 https://agentshare.dev/pricing 获取您的免费层级密钥(撰写本文时,公共免费计划为每月 100 次请求 — 请务必在网站上确认)。
面向人类:快速安装 (pip)
git clone https://github.com/anhmtk/agentshare-mcp.git
cd agentshare-mcp
pip install -r integrations/mcp_server/requirements.txt
export API_KEY=your_api_key # Windows: $env:API_KEY="..."
# optional: export BASE_URL=https://agentshare.dev
python integrations/mcp_server/server.py获取密钥:https://agentshare.dev/pricing
快速安装 — Claude Desktop (claude_desktop_config.json)
使用本地 stdio 服务器(Python)。将路径替换为您仓库克隆中 server.py 的绝对路径。
{
"mcpServers": {
"agentshare": {
"command": "python",
"args": ["/ABSOLUTE/PATH/TO/agentshare-mcp/integrations/mcp_server/server.py"],
"env": {
"API_KEY": "your-api-key-here",
"BASE_URL": "https://agentshare.dev"
}
}
}
}在 Windows 上,
args中建议使用正斜杠,例如D:/code/agentshare-mcp/integrations/mcp_server/server.py。
远程 MCP (流式 HTTP): 支持 URL + API 密钥标头的客户端可以使用 https://agentshare.dev/mcp/ 并配合 X-API-Key 或 Authorization: Bearer。使用 mcp-config.json 进行 npx mcp-remote。详情:MCP 快速入门(MCP 章节)。
进阶 — 通过 mcp-remote (Node / npx) 使用 HTTP: 如果您使用 mcp-remote 将 HTTPS 桥接到 stdio,请使用 --header 传递您的密钥(参见 Cursor MCP 设置 中的故障排除);本仓库不发布 npx agentshare-mcp 包。
在本地克隆并运行 stdio MCP
从仓库根目录执行:
pip install -r integrations/mcp_server/requirements.txt
export API_KEY=your_api_key
# optional: export BASE_URL=http://localhost:8000
python integrations/mcp_server/server.py等同于 python integrations/mcp_server/run.py。有关工具和环境,请参阅 integrations/mcp_server/README.md。
代码示例 (REST)
examples/ 文件夹中包含调用公共 JSON API (GET /api/v1/search, …) 的小型脚本。在连接 MCP 之前,这些脚本对于测试密钥非常有用。
MCP 目录与列表
生产环境发现(无需身份验证)— 提交到目录时请使用这些 URL:
资源 | URL |
| |
| |
服务器卡片 (Smithery 风格) |
第三方索引(搜索 AgentShare 或您的列表 URL):
许可证
MIT — 参见 LICENSE。
GitHub — CI 与仓库流量
CI: 在推送/PR 时验证 MCP 包导入 — Actions → CI。
流量: GitHub 仅显示汇总的浏览/克隆数据(维护者可见 Insights → Traffic)。每周的 GitHub 流量快照会将 API 结果写入运行的 Summary(与 Insights 理念相同)。
范围(诚实且前瞻)
AgentShare 从已连接的市场和联盟来源聚合产品和报价数据。覆盖范围和新鲜度因来源而异;API 返回新鲜度元数据(例如 crawled_at、data_age_seconds、freshness_status),以便 Agent 可以判断其可靠性。
方向: 随着集成的成熟,向全球电子商务和主要国际市场扩展。关于当前重点,请参阅 GET /coverage:https://agentshare.dev/coverage
法律
条款与隐私:https://agentshare.dev/terms · https://agentshare.dev/privacy
Available Tools
4 toolsbest_offerBest single offerARead-onlyIdempotent
Return the single best current offer for a product intent: typically lowest price among in-stock listings the API trusts. Use when the user asks where to buy something cheapest, 'best deal', or one clear recommendation. For side‑by‑side comparison of many listings, prefer price_search.
Inputs: query (required).
best_offer_under_budgetBest offer under budgetARead-onlyIdempotent
Find the best offer for a product query with a maximum price ceiling. Use when the user gives a budget, 'under $X', 'below …', or 'no more than …'. Pass max_price in the same numeric unit the deployed API expects for that field (see API docs). Do not use for open-ended comparison without a cap—use price_search or best_offer.
Inputs: query (required), max_price (required).
price_searchSearch product listingsARead-onlyIdempotent
Search connected marketplaces and return structured offers (prices, sources, freshness). Use when the user wants to compare options, browse multiple listings, or explore a product category or model—not when they only need one definitive 'cheapest' pick (use best_offer). Accepts free-text queries in any language.
Inputs: query (required), limit.
service_metaService metadataARead-onlyIdempotent
Return API capabilities, rate limits, and integration hints. Safe to call without an API key when the deployment allows it. Use for onboarding, capability checks, or answering 'what can this API do?' before calling paid tools.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: best_offer for single cheapest offer, best_offer_under_budget for budget-constrained offers, price_search for multi-offer comparison, and service_meta for API metadata. The descriptions explicitly differentiate when to use each tool, with no functional overlap.
All tools follow a consistent snake_case naming pattern with clear verb-noun combinations (best_offer, price_search, service_meta). The naming is predictable and follows the same stylistic convention throughout.
Four tools is perfectly appropriate for a price API server - it covers the core use cases (single offer, budget-constrained offer, multi-offer search, and service metadata) without being overly sparse or bloated. Each tool earns its place in the set.
The toolset covers the essential price comparison workflows well, with clear guidance on when to use each tool. The only minor gap is the lack of tools for more advanced operations like price tracking, historical price data, or alerting, but the core functionality is complete for basic price queries.
Maintenance
Related MCP Connectors
The E-commerce Marketplace For Every AI Agent. A Governed Catalog Of 600M+ US Products, Plus Four Agent Ready Capabilities Search, Price Comparison, Product-Vs-Product, And Detailed Q&A.
Your agent needs marketplace data — what a product costs on Amazon and Google Shopping, who the sellers are, what reviewers actually complain about. **What you can ask for** • "What is this ASIN's price history, rating and seller list?" • "Who else sells this product, and at what price?" • "Pull the reviews for this product and group the complaints." • "What comes up on Google Shopping for this query in the UK?" • "Compare these products across both marketplaces." **How to use it** Point any MCP client at https://mcp.aisa.one/seo-merchant/mcp and sign in with OAuth — there is no key to create or paste. 22 tools: Amazon products, ASIN detail and sellers; Google Shopping products, product info, sellers and reviews; live and queued forms, with raw HTML where you need it. **It is also a door to the rest** The same login reaches 26 sources and 580+ operations. Price the product here, then ask the same agent what the brand's site traffic or ad spend looks like — without adding a second server. **What it costs** Finding and inspecting an operation is free. Running one is billed per call at API prices, with no seat and no monthly minimum, and every call takes max_price_usd so an agent cannot overspend by accident. **Where else it reaches** https://mcp.aisa.one/seo/mcp for all of it at once — rankings, keywords, backlinks, site health and AI-answer visibility across DataForSEO, Semrush and Ahrefs.
AI-agent product catalog: search, lookup & purchase routing over verified merchant data.
The E-commerce Marketplace For Every AI Agent. A Governed Catalog Of 600M+ US Products.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceAgentic commerce infrastructure for AI agents. MCP-native product discovery, contextual ad matching, and purchase facilitation with European privacy compliance (nDSG/GDPR).1MIT- AlicenseNot gradedqualityDmaintenanceAffiliate product search for AI agents. Indexes structured merchant feeds — real prices, live stock, affiliate links built in. Works with any MCP client.MIT
- AlicenseNot gradedqualityBmaintenanceFederated commerce search MCP server enabling AI agents to query real product offers, prices, and availability across independent WooCommerce stores without API keys or registration.MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to search products across affiliate networks, compare commissions, find arbitrage opportunities, and get auto-injected affiliate links via MCP.-