Skip to main content
Glama
anhmtk

AgentShare — Solana DeFi Intelligence MCP

by anhmtk

AI agents — start here

This repository is the public, lightweight face on GitHub. Production API implementation is private; behavior is defined by the live URLs above.

Primary product: agent-paid rails (dual-auth + discovery + MCP).
Secondary: commerce procurement · Solana/Meteora DeFi demos (Lab — not the company backbone).


Related MCP server: Godalo

MCP tools (12) — catalog v1.1.0

Polymarket prediction-market tools are not on the public MCP catalog (legal review for Vietnam). Live production exposes the tools below.

Agent-paid rails & commerce (highlight)

Tool

Purpose

service_meta

Capabilities, limits, coverage

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

request_capability

Custom Request Tool: structured capability gap → admin web inbox (auth + stake; no codegen)

DeFi demos (secondary)

Tool

Purpose

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:

  • Commerce pilot paths: search/offers/best around $0.001, commerce_quote around $0.002

  • POST /api/v1/agent/defi/meteora/brief (secondary DeFi demo): 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)

Pricing page is 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
   (live settleable: Base mainnet eip155:8453 — always confirm accepts[].network),
   then retry with header PAYMENT-SIGNATURE.
3) Or skip payment by sending X-API-Key / Authorization: Bearer (agshp_…).
Dynamic pricing (meteora_brief secondary demo): $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.

GitHub mirror (auto-synced, verified only): docs/CURATED_REGISTRY.md
Regenerated daily from GET /api/v1/registry/entries — discovery table only, not the AgentShare product MCP tool catalog above.

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).

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 (agent-paid / commerce framing)

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" }
    }
  }
}

Start building agent-paid APIs: https://agentshare.dev/signup?utm_source=github&utm_medium=agentshare-mcp&utm_campaign=readme
(free-tier dual-auth credentials, or settle x402 with no key)

Prefer autonomous-agent payment via x402: https://agentshare.dev/.well-known/x402

See mcp-config.json and server/bridge.mjs for Node bridge.


Disclaimers

Informational only — not financial advice. Agents/users own their decisions (including any on-chain actions). Vietnam: service not intended for users located there; access (incl. VPN) = you assume local legal responsibility. Full terms: https://agentshare.dev/terms


Antigravity & Gemini (2026)

Aligned with Google I/O 2026 agentic stack (Antigravity 2.0, SDK, Gemini 3.5 Flash tool loops).


Coverage

Agent-paid rails · commerce procurement · secondary Solana/Meteora DeFi demos — https://agentshare.dev/coverage?utm_source=github&utm_medium=agentshare-mcp&utm_campaign=readme


License

MIT — LICENSE

Available Tools

4 tools
best_offerBest single offerA
Read-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.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesWhat to buy, e.g. product name + model or distinguishing keywords.

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds valuable behavioral context beyond annotations: it explains the selection criteria ('lowest price among in-stock listings the API trusts') and the single-result nature of the output. While annotations already indicate read-only, idempotent, and open-world characteristics, the description provides operational details that help the agent understand what 'best' means in this context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is perfectly concise with two sentences that each serve distinct purposes: the first explains what the tool does, the second provides usage guidelines. Every word contributes to understanding, with no wasted text or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only, idempotent query tool with good annotations and full parameter documentation, the description provides excellent context about when and why to use it. The main gap is the lack of output schema, but the description adequately compensates by explaining the single-result nature. It could be slightly more complete by mentioning potential limitations or error cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema description coverage, the input schema already fully documents the single 'query' parameter. The description doesn't add any parameter-specific information beyond what's in the schema, so it meets the baseline expectation without providing additional semantic context.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verbs ('return', 'lowest price') and resources ('single best current offer', 'product intent', 'in-stock listings'). It explicitly distinguishes from sibling tools by contrasting with 'price_search' for side-by-side comparisons.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool ('when the user asks where to buy something cheapest, "best deal", or one clear recommendation') and when to prefer alternatives ('For side‑by‑side comparison of many listings, prefer price_search'). This covers both inclusion and exclusion criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

best_offer_under_budgetBest offer under budgetA
Read-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.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesProduct or deal to find within the budget.
max_priceYesStrict upper bound on price, using the same numeric scale as the API's pricing fields for your environment (see /api/v1/meta or site docs).

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate this is a read-only, idempotent, and open-world operation. The description adds valuable context by specifying that it finds the 'best offer' (implying some ranking or optimization) and includes a note about API numeric units ('Pass max_price in the same numeric unit the deployed API expects'), which helps the agent understand implementation details beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose, followed by usage guidelines and parameter notes. Every sentence adds value: the first defines the tool, the second specifies when to use it, the third clarifies parameter handling, and the fourth distinguishes from siblings. There is no wasted text, making it highly efficient and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (2 required parameters, no output schema), the description is largely complete. It covers purpose, usage, and parameter semantics effectively. However, it does not explicitly describe the return format or what 'best' means (e.g., criteria like lowest price or highest rating), leaving a minor gap in behavioral context that could aid the agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents both parameters. The description adds meaningful context by explaining that 'max_price' is a 'strict upper bound on price' and reiterates the API unit requirement, which reinforces the schema's details without redundancy. This provides additional semantic understanding beyond the schema's technical specifications.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Find the best offer for a product query with a maximum price ceiling.' It specifies the verb ('Find'), resource ('best offer'), and constraint ('with a maximum price ceiling'), and explicitly distinguishes it from siblings by stating when not to use it ('Do not use for open-ended comparison without a cap—use price_search or best_offer').

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool ('Use when the user gives a budget, "under $X", "below …", or "no more than …"') and when not to use it ('Do not use for open-ended comparison without a cap—use price_search or best_offer'), naming specific alternatives. This gives clear context and exclusions for proper tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

service_metaService metadataA
Read-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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false, covering safety and idempotency. The description adds valuable context beyond annotations: it discloses that the tool is 'Safe to call without an API key when the deployment allows it,' which is critical for authentication behavior not covered by annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose, followed by behavioral context and usage guidelines in two concise sentences. Every sentence adds value without waste, making it highly efficient and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (0 parameters, no output schema) and rich annotations, the description is nearly complete. It covers purpose, usage, and key behavioral context (API key safety). A minor gap is the lack of output format details, but with annotations providing safety info, this is acceptable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0 parameters and 100% schema description coverage, the baseline is 4. The description appropriately does not discuss parameters, as none exist, and instead focuses on the tool's purpose and usage, which is efficient and correct for this case.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verbs ('return API capabilities, rate limits, and integration hints') and resources ('Service metadata'), distinguishing it from sibling tools focused on pricing/offers. It explicitly answers 'what can this API do?' which establishes its unique role.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit usage guidance: 'Use for onboarding, capability checks, or answering 'what can this API do?' before calling paid tools.' This gives clear when-to-use scenarios and implies an alternative (calling paid tools) without redundancy.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 4 tool updatesv1.0.0
    • First observedbest_offer
    • First observedbest_offer_under_budget
    • First observedprice_search
    • First observedservice_meta

TDQS

A4.6/5.0
Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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

ActivityActive
ResponsivenessUnresponsive

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Agentic commerce infrastructure for AI agents. MCP-native product discovery, contextual ad matching, and purchase facilitation with European privacy compliance (nDSG/GDPR).
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Affiliate product search for AI agents. Indexes structured merchant feeds — real prices, live stock, affiliate links built in. Works with any MCP client.
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Federated commerce search MCP server enabling AI agents to query real product offers, prices, and availability across independent WooCommerce stores without API keys or registration.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to search products across affiliate networks, compare commissions, find arbitrage opportunities, and get auto-injected affiliate links via MCP.
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/anhmtk/agentshare-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server