Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Amazon product API & MCP server: search, prices, reviews, sellers, deals, and ASIN lookup by Canopy.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
CANOPY-API-KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
在终端中运行这条命令
claude mcp add --transport http canopyapi https://mcp.canopyapi.co/mcp --header 'CANOPY-API-KEY: your-value'运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"canopyapi": {
"url": "https://mcp.canopyapi.co/mcp",
"headers": {
"CANOPY-API-KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"canopyapi": {
"type": "http",
"url": "https://mcp.canopyapi.co/mcp",
"headers": {
"CANOPY-API-KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
CANOPY-API-KEY 机密 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 canopyapi.co 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:CANOPY-API-KEY
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(2.1.0)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An Amazon product data API served over the Model Context Protocol. Connect Claude, ChatGPT, Cursor, or any MCP client to real-time Amazon data — an Amazon search API, reviews API, price tracker, ASIN lookup, best sellers, deals, and sales estimates — powered by the Canopy API. No headless browsers, no brittle HTML scraping: typed JSON over standard MCP tools.
Built with xmcp and deployed on Cloudflare Workers. Use the hosted remote MCP server at https://mcp.canopyapi.co/mcp or self-host from this repo. Setup guides and client walkthroughs live on the Amazon MCP server page.
AI agents and LLM apps increasingly need live e-commerce data. This server gives any MCP-capable assistant or agent framework direct tool access to Amazon:
Works as a Claude MCP server (Desktop, Code, and the claude.ai connectors directory), a ChatGPT MCP connector (Apps SDK, with rich product widgets), in Cursor and the MCP Inspector, and with any agent built on the MCP SDK, LangChain, or the OpenAI Agents SDK.
/mcp (current MCP spec)src/tools/openapi-typescriptAdd the remote MCP server to your client and sign in with OAuth, or supply a Canopy API key:
https://mcp.canopyapi.co/mcp
Claude and other OAuth-capable MCP clients will walk you through sign-in automatically. Get an API key at canopyapi.co, and see the Amazon MCP server guide for per-client setup instructions.
The plugin root is this repository. It points every client at the hosted server https://mcp.canopyapi.co/mcp and does not embed an API key. OAuth-capable clients discover sign-in from the server. If a client only supports a static header, set CANOPY-API-KEY in that client.
Two skills ship with the plugin: amazon-product-research and amazon-price-and-deals.
Cursor Marketplace. Install Canopy from Customize or the Cursor Marketplace after it is listed. The listing manifest is .cursor-plugin/plugin.json (name canopy, logo assets/canopy-icon.png). It points mcpServers at .mcp.json, a remote http server, so Cursor starts OAuth against https://mcp.canopyapi.co/mcp without a pasted key. Root mcp.json stays the Agent Plugins file and is not the Cursor listing config. To try it before it is listed, copy this repository to ~/.cursor/plugins/local/canopy (a symlink that points outside that folder is ignored), reload the window, and confirm the Canopy server and both skills in Customize.
Claude Code, from this repo. This repository is also a marketplace. In Claude Code:
claude plugin marketplace add canopy-api/canopy-api-mcp
claude plugin install canopy@canopy-api
Or, inside a session: /plugin marketplace add canopy-api/canopy-api-mcp, then /plugin install canopy@canopy-api. For one session without installing, run claude --plugin-dir /path/to/canopy-api-mcp. The manifest is .claude-plugin/plugin.json, the marketplace catalog is .claude-plugin/marketplace.json, and the server is .mcp.json (type: http). On first use, approve the Canopy OAuth prompt.
Claude.ai and Cowork. After the plugin is listed in Anthropic's directory, add Canopy from the directory. Sign in on the plugin's Connectors tab. The plugin uses the same URL as the existing Canopy connector.
Grok Build. After the plugin is in the xAI plugin marketplace, install it from /marketplace or:
grok plugin install canopy --trust
The first connection opens Canopy's OAuth flow. Skills load from skills/ and the server from .mcp.json.
Other Agent Plugins clients. This repository is also an Agent Plugin (specification 1.0.0). Those clients read root plugin.json (name canopy-api-mcp) and mcp.json (type: streamable-http). They need Agent Plugins 1.0.0. There is no archive and no registry protocol in the specification: the package is this directory.
server.json is the MCP Registry server card (co.canopyapi/mcp), separate from the plugin manifests. npm install, npm run dev, and npm run deploy are unchanged.
Validate the manifests (npm test runs the first command too; it checks that every manifest carries the same version):
npm run validate:plugin
claude plugin validate . --strict grok plugin validate .
Publishing steps for each marketplace are in submissions/README.md.
You'll need a Canopy API key from canopyapi.co.
npm install
npm run dev # xmcp watcher + wrangler dev (local Workers runtime) npm run deploy # build + wrangler deploy --env production
Run npm test to build the worker and run the regression suite. Output-schema tests use mocked REST responses to verify that null-valued fields (unavailable prices, coupons, ratings) are stripped before reaching MCP clients, that responses match the advertised JSON Schema, and that malformed values are still rejected. These tests do not require a real Canopy API key.
Use the MCP Inspector and connect to http://localhost:8787/mcp (or your deployed URL). Provide the API key as a request header:
npx -y @modelcontextprotocol/inspector@latest
Or with curl:
curl -X POST http://localhost:8787/mcp \
-H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -H "CANOPY-API-KEY: $CANOPY_API_KEY" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
Every request must carry credentials. Two modes are supported:
1. OAuth 2.1 (recommended for MCP clients). OAuth-capable clients discover the flow automatically: an unauthenticated request returns 401 with WWW-Authenticate: Bearer resource_metadata="https://mcp.canopyapi.co/.well-known/oauth-protected-resource". Supabase is the authorization server (dynamic client registration supported); consent lives at canopyapi.co. The verified user's Canopy API key is resolved server-side.
2. API key headers. Any of these forms works (checked in this order):
CANOPY-API-KEY: your-api-keyAPI-KEY: your-api-keyX-API-KEY: your-api-keyAuthorization: Bearer your-api-keyA missing or invalid credential returns HTTP 401 with a JSON-RPC error before the request reaches the MCP transport (see src/middleware.ts).
All 17 tools are read-only (readOnlyHint: true) and annotated with a title.
get_amazon_product — product details by ASIN, URL, or GTINget_amazon_product_variants — product variantsget_amazon_product_offers — seller offers and Buy Box infoget_amazon_product_stock — stock level estimatesget_amazon_product_sales — sales estimates (weekly, monthly, annual)get_amazon_product_top_reviews — top customer reviews (title, body, rating, helpful votes, images/videos)search_amazon_products — search with filters and sortingget_amazon_autocomplete — search term suggestionsget_amazon_deals — current deals, optionally filtered by categoryget_amazon_bestsellers — best-selling products for a categoryget_amazon_bestseller_categories — best seller category listget_amazon_categories — root category taxonomyget_amazon_category — category details with products and subcategoriesget_amazon_seller — seller information and product listingsget_amazon_author — author information and book listingsget_amazon_asin_from_gtin — ASIN lookup by ISBN/UPC/EANget_amazon_gtin_from_asin — GTIN lookup by ASINcanopy-api-mcp/
├── .cursor-plugin/plugin.json # Cursor Marketplace manifest ├── .claude-plugin/ │ ├── plugin.json # Claude Code plugin manifest │ └── marketplace.json # self-hosted Claude Code marketplace ├── .grok-plugin/plugin.json # Grok Build plugin manifest ├── .mcp.json # Claude Code, Cursor, and Grok MCP server (HTTP) ├── plugin.json # Agent Plugins 1.0.0 manifest ├── mcp.json # Agent Plugins MCP declaration (Streamable HTTP) ├── skills/ │ ├── amazon-product-research/ │ │ ├── SKILL.md │ │ └── references/tools.md │ └── amazon-price-and-deals/ │ └── SKILL.md ├── submissions/ │ ├── README.md # how to publish to each marketplace │ └── xai-marketplace-entry.json # entry to paste into xai-org/plugin-marketplace ├── server.json # MCP Registry server card (separate from plugin.json) ├── LICENSE # MIT License ├── src/ │ ├── tools/ # one file per tool (auto-discovered by xmcp) │ │ ├── get-amazon-product.ts │ │ └── ... │ ├── lib/ │ │ └── api-key.ts # reads API key from extra.authInfo │ ├── middleware.ts # auth middleware (lifts header → authInfo.token) │ ├── api-client.ts # type-safe Canopy REST client │ └── types/ │ └── api.d.ts # generated from OpenAPI ├── xmcp.config.ts # xmcp config (endpoint, CORS, paths) ├── wrangler.jsonc # Cloudflare Workers config ├── worker-entry.ts # Workers entry (unchanged) ├── tsconfig.json └── package.json
src/types/api.d.ts is generated from the Canopy OpenAPI spec. Regenerate when the API changes:
npm run generate
npm run dev — xmcp watcher + wrangler dev (local Workers runtime)npm run build — xmcp build --cf (emits worker.js for Cloudflare)npm run deploy — build + wrangler deploy --env productionnpm run delete — remove the deployed Workernpm run generate — regenerate API types from the OpenAPI specnpm run validate:plugin — check plugin.json, mcp.json, and skills/ against Agent Plugins 1.0.0v2.0 replaces ModelFetch with xmcp. The MCP endpoint moved from /sse/mcp (deprecated SSE transport mount) to /mcp (current Streamable HTTP convention). Update any clients accordingly.
This project is released under the MIT License. Copyright (c) 2026 Canopy API.
只显示了开头部分;其余内容请在仓库中阅读