Skip to main content
Glama
anhmtk

AgentShare — Solana DeFi Intelligence MCP

by anhmtk

AgentShare

Production Ready MCP Server Python REST API Docs

Структурированные цены и предложения маркетплейсов для AI-агентов — REST API и MCP (Streamable HTTP).

Сайт и документация

https://agentshare.dev

MCP эндпоинт

https://agentshare.dev/mcp/

Обнаружение

/agent.json · /mcp.json · llm.txt / llms.txt

Этот репозиторий содержит stdio MCP-сервер, используемый с Claude Desktop, Cursor и другими MCP-клиентами, а также минимальные примеры REST. Актуальный API и полные руководства по интеграции находятся на сайте выше.


Для AI-агентов (машиночитаемый формат)

  • AGENTS.md — миссия, названия инструментов, аутентификация, конверт ответа, JSON для копирования в MCP и ссылки на OpenAPI.

  • llms.txt — те же основные сведения в коротком, удобном для парсинга едином файле (для рабочих процессов LLM / GEO).

  • openapi.json — спецификация OpenAPI 3.0 для REST-интерфейса, используемого этим MCP (/api/v1/search, /offers/*, /meta). Полная производственная спецификация (все маршруты) всегда доступна по адресу https://agentshare.dev/openapi.json (единственный источник истины; нет дублирующего репозитория с документацией).

  • mcp-config.json — готовый к копированию блок mcpServers для npx mcp-remote (Claude Desktop / Cursor), указывающий на удаленный эндпоинт Streamable 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"
      }
    }
  }
}
  • Получить ключ: https://agentshare.dev/pricing

  • В Windows предпочтительнее использовать прямые слэши в args, например D:/code/agentshare-mcp/integrations/mcp_server/server.py.

Удаленный MCP (Streamable HTTP): клиенты, поддерживающие заголовки URL + API-ключ, могут использовать https://agentshare.dev/mcp/ с X-API-Key или Authorization: Bearer. Используйте mcp-config.json для npx mcp-remote. Подробности: MCP Quickstart (раздел MCP).

Продвинутый уровень — HTTP через mcp-remote (Node / npx): если вы используете 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

mcp.json

https://agentshare.dev/mcp.json

agent.json

https://agentshare.dev/agent.json

Карточка сервера (в стиле Smithery)

https://agentshare.dev/.well-known/mcp/server-card.json

Сторонние индексы (ищите AgentShare или URL вашего листинга):

  • Smithery — реестр MCP-серверов

  • Glama — каталог MCP / AI-шлюзов


Лицензия

MIT — см. LICENSE.

GitHub — CI и трафик репозитория

  • CI: проверяет импорты пакетов MCP при push/PR — Actions → CI.

  • Трафик: GitHub показывает только совокупные просмотры/клоны (Insights → Traffic для сопровождающих). Еженедельный снимок трафика GitHub записывает результаты API в Summary запуска (по аналогии с Insights).


Область применения (честно и с прицелом на будущее)

AgentShare агрегирует данные о товарах и предложениях из подключенных маркетплейсов и партнерских источников. Охват и свежесть зависят от источника; API возвращает метаданные свежести (например, crawled_at, data_age_seconds, freshness_status), чтобы агенты могли судить о надежности.

Направление: расширение в сторону глобальной электронной коммерции и крупных международных маркетплейсов по мере развития интеграций. О текущем фокусе см. GET /coverage: https://agentshare.dev/coverage


Юридическая информация

Условия и конфиденциальность: https://agentshare.dev/terms · https://agentshare.dev/privacy

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.

  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

Scored across 4 tools

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

Related MCP Connectors

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

  • Hosted MCP for e-commerce: live product catalog, stock, and pricing for AI agents.

  • Agent Commerce MCP — agent-native A2A storefront. Discovery, Stripe checkout, affiliate program.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    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
  • A
    license
    Not graded
    quality
    B
    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.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to search products across affiliate networks, compare commissions, find arbitrage opportunities, and get auto-injected affiliate links via MCP.
    -