Skip to content

Repository files navigation

AgentShare — Solana DeFi intelligence for AI agents

AgentShare MCP — public reference

DeFi-first Solana intelligence for AI agents (Meteora DLMM briefs, DEX scout) — REST + MCP + curated registry.

Connect MCP →  ·  Browse Registry →

Get API key · Website · For Agents · Chrome extension

For AI agents: agent.json · AI_DISCOVERY.json · llms.txt · AGENTS.md

agentshare-mcp MCP server

Glama score


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 Registry (curated) https://agentshare.dev/registry?utm_source=github&utm_medium=agentshare-mcp&utm_campaign=readme
MCP Registry trends (JSON) https://agentshare.dev/api/v1/public/mcp-registry/trends
MCP Registry summary (JSON) https://agentshare.dev/api/v1/public/mcp-registry/summary
MCP server card (11 tools) https://agentshare.dev/.well-known/mcp/server-card.json
Coverage (honest scope) https://agentshare.dev/coverage?utm_source=github&utm_medium=agentshare-mcp&utm_campaign=readme · DEFI_POSITIONING.md
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 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 with PAYMENT-SIGNATURE

Discovery: https://agentshare.dev/.well-known/x402 · live instructions field: https://agentshare.dev/agent.jsonx402_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-REQUIRED for the exact real-time quote (also in meta.billing.price_usd_live)
  • Commerce pilot paths: search/offers/best around $0.001, commerce_quote around $0.002

Pricing page is now agent-first (x402 pay-per-request primary): https://agentshare.dev/pricing?utm_source=github&utm_medium=agentshare-mcp&utm_campaign=readme

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

MCP registry for builders and autonomous agents

AgentShare also runs a curated MCP Registry at agentshare.dev/registry.

Agents discovering other MCPs — fetch order:

  1. Hot list: GET https://agentshare.dev/api/v1/public/mcp-registry/trends
  2. Compact verified list: GET https://agentshare.dev/api/v1/public/mcp-registry/summary
  3. Full entries: GET https://agentshare.dev/api/v1/registry/entries

Agent submit flow

  1. Call POST https://agentshare.dev/api/v1/registry/agent-key
  2. Authenticate either with:
    • a normal X-API-Key, or
    • x402: no key → receive HTTP 402 → pay tiny USDC amount → retry with PAYMENT-SIGNATURE
  3. Receive a short-lived scoped key with scope registry:submit
  4. Use that key on POST /api/v1/registry/submit
  5. Listing stays pending_review until AgentShare approves it

Approved listings get:

  • a public detail page (/registry/{id})
  • owner analytics (opens, referrers, countries, client types)
  • quick-share actions for X, LinkedIn, Facebook, GitHub README snippets, and copy-link

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?utm_source=github&utm_medium=agentshare-mcp&utm_campaign=readme
Docs docs/CHROME_EXTENSION.md
ARS spec https://agentshare.dev/docs?utm_source=github&utm_medium=agentshare-mcp&utm_campaign=readme#agent-readiness-score
Prompt Injection Fix Guide https://agentshare.dev/docs?utm_source=github&utm_medium=agentshare-mcp&utm_campaign=readme#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?utm_source=github&utm_medium=agentshare-mcp&utm_campaign=readme

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)

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?utm_source=github&utm_medium=agentshare-mcp&utm_campaign=readme


License

MIT — LICENSE

About

MCP server for AgentShare — DeFi-first Solana intelligence for AI agents (Meteora DLMM briefs, DEX scout). 11 tools via Streamable HTTP. Cursor, Claude Desktop, MCP clients. https://agentshare.dev

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages