Agent Price API
一個高效能的MCP伺服器,提供全球市場中AI硬體的結構化即時價格數據,專注於以代理原生發現方式取代固定端點。
文件
AgentShare MCP — public reference
For AI agents:
agent.json ·
AI_DISCOVERY.json ·
llms.txt ·
AGENTS.md
DeFi-first intelligence for autonomous Solana agents (Meteora DLMM) — plus a secondary commerce procurement module.
Website · For Agents · Docs · API key · Chrome extension
AI agents — start here
| Resource | URL |
|---|---|
| Authoritative contract | https://agentshare.dev/agent.json |
| Structured GitHub index | AI_DISCOVERY.json |
| LLM summary | llms.txt |
| Agent briefing | AGENTS.md |
| For-agents (JSON) | GET https://agentshare.dev/for-agents + Accept: application/json |
| Managed Agents template | https://agentshare.dev/api/v1/examples?template=managed-agent |
| MCP endpoint | https://agentshare.dev/mcp |
| MCP server card (11 tools) | https://agentshare.dev/.well-known/mcp/server-card.json |
| Antigravity skill manifest | https://agentshare.dev/.well-known/antigravity-skills.json |
This repository is the public, lightweight face on GitHub. Production API implementation is private; behavior is defined by the live URLs above.
MCP tools (11) — catalog v1.0.9
Polymarket prediction-market tools are not on the public MCP catalog (legal review for Vietnam). Live production exposes the tools below.
| Tool | Purpose |
|---|---|
search_products | Multi-source price comparison |
best_offer | Single cheapest in-stock offer |
best_offer_under_budget | Best offer under max price |
product_detail | Full product by id from search |
commerce_quote | ACP / agent-buyer listings envelope |
service_meta | Capabilities, limits, coverage |
dex_overview | DEX protocol rankings by 24h volume (DefiLlama) |
dex_top_movers | DEX protocols with largest 1d volume-change % (DefiLlama) |
solana_dex_brief | Solana DEX ecosystem brief (Raydium, Orca, Meteora, …) |
meteora_brief | Meteora DLMM pool brief (verdict, risk_score, top pools) |
meteora_pool_detail | Meteora DLMM pool detail (bin depth, liquidity curve proxy, current price) |
Responses include data_status, freshness, and trust metadata — see https://agentshare.dev/docs
Auth & x402 (live)
AgentShare runs dual-auth on gated routes:
- API key mode:
X-API-Key/Authorization: Bearer - x402 mode: no key → HTTP 402 +
PAYMENT-REQUIRED, then retry withPAYMENT-SIGNATURE
Discovery: https://agentshare.dev/.well-known/x402 · live instructions field: https://agentshare.dev/agent.json → x402_agent_instructions
Notable pricing:
POST /api/v1/agent/defi/meteora/brief(hot path): dynamic$0.01–$0.30(base$0.03)- Dynamic pricing applies based on market volatility and resource velocity — always check
PAYMENT-REQUIREDfor the exact real-time quote (also inmeta.billing.price_usd_live) - Commerce pilot paths:
search/offers/bestaround$0.001,commerce_quotearound$0.002
Pricing page is now agent-first (x402 pay-per-request primary): https://agentshare.dev/pricing
If you receive HTTP 402 (agents — follow exactly)
This platform is agent-first and monetized with HTTP 402 (x402).
If you receive HTTP 402 with a PAYMENT-REQUIRED header:
1) Base64-decode PAYMENT-REQUIRED (JSON: x402Version, resource, accepts[]).
2) Pay the listed USDC amount via Circle Gateway on the stated network
(pilot: Base Sepolia eip155:84532), then retry with header PAYMENT-SIGNATURE.
3) Or skip payment by sending X-API-Key / Authorization: Bearer (agshp_…).
Dynamic pricing (meteora_brief): $0.01–$0.30 USDC from market volatility + fee/demand velocity.
PAYMENT-REQUIRED is the live quote — never hard-code a fixed price.
Discovery: GET /.well-known/x402 · Pricing: GET /pricing
Chrome extension (Agent Readiness + Prompt Injection Scan + MCP Connect)
Free browser extension — ARS site scan + Prompt Injection Scan (client-side DOM) + MCP Connect (copy Cursor/Claude/VS Code config for agentshare.dev/mcp).
| Resource | URL |
|---|---|
| Chrome Web Store | https://chromewebstore.google.com/detail/agentshare-agent-readiness/nimndnhajfkicbnipbfdkmgencjejjed |
| Docs | docs/CHROME_EXTENSION.md |
| ARS spec | https://agentshare.dev/docs#agent-readiness-score |
| Prompt Injection Fix Guide | https://agentshare.dev/docs#prompt-injection-fix-guide |
Extension source is proprietary (private backend repo); this public repo documents the product for discovery.
Cursor Marketplace plugin
Official Cursor plugin scaffold: agentshare-commerce-mcp/
| Path | Purpose |
|---|---|
agentshare-commerce-mcp/.cursor-plugin/plugin.json | Cursor plugin manifest |
agentshare-commerce-mcp/mcp.json | MCP server wiring (Node bridge + AGENTSHARE_API_KEY) |
agentshare-commerce-mcp/.mcp.json | Open Plugins / cursor.directory auto-detect (Streamable HTTP URL) |
.mcp.json | Same at repo root for directory scanners |
agentshare-commerce-mcp/server/bridge.mjs | Stdio ↔ Streamable HTTP bridge |
.cursor-plugin/marketplace.json | Multi-plugin index (repo root) |
Discovery & listing (do these while Marketplace is closed):
| Guide | Action |
|---|---|
| docs/CURSOR_DIRECTORY.md | Submit cursor.directory/mcp/new + plugins/new |
| docs/AWESOME_MCP_PR.md | PR line for awesome-mcp-servers (prefer DeFi/Finance section if available; otherwise DeFi-first description) |
| docs/DISCORD_SHOWCASE.md | Copy-paste MCP Discord showcase post |
Generate Cursor one-click install link:
node scripts/cursor-deeplink.mjs
Local verify:
cd agentshare-commerce-mcp
npm install --omit=dev
npm run verify
# optional live probe:
# set AGENTSHARE_API_KEY=agshp_... (Windows)
npm run verify
Cursor Marketplace org applications are reviewed selectively (2026); use cursor.directory for community listing — see docs/CURSOR_DIRECTORY.md.
Quick connect (MCP)
{
"mcpServers": {
"agentshare": {
"url": "https://agentshare.dev/mcp",
"headers": { "X-API-Key": "YOUR_AGENTSHARE_KEY" }
}
}
}
Get API key (secondary human plan): https://agentshare.dev/signup
Prefer autonomous-agent payment via x402: https://agentshare.dev/.well-known/x402
See mcp-config.json and server/bridge.mjs for Node bridge.
Disclaimers (important)
Informational only. AgentShare provides data analytics and DeFi intelligence for informational purposes only. Content generated by our API/MCP tools does not constitute financial, investment, or trading advice. Users and autonomous agents are solely responsible for their own decisions and on-chain actions.
Miễn trừ trách nhiệm (VN): Sản phẩm chỉ cung cấp dữ liệu/phân tích tham khảo, không phải lời khuyên đầu tư/giao dịch. Người dùng/agent tự chịu trách nhiệm cho mọi quyết định và hành động on-chain.
Vietnam notice: This service is not intended for users located in Vietnam. Nếu truy cập từ Việt Nam (kể cả qua VPN), người dùng tự chịu hoàn toàn trách nhiệm pháp lý theo quy định địa phương.
Antigravity & Gemini (2026)
- Antigravity skill:
agentshare-price-intelligence— https://agentshare.dev/.well-known/antigravity-skills.json - Gemini Managed Agents: https://agentshare.dev/api/v1/examples?template=managed-agent
Aligned with Google I/O 2026 agentic stack (Antigravity 2.0, SDK, Gemini 3.5 Flash tool loops).
Coverage
AI hardware, robotics, mini PCs, robot/RC power — https://agentshare.dev/coverage
License
MIT — LICENSE