Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Amazon product search returning paste-ready affiliate deal rows for your blog
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
AMAZON_CLIENT_ID, AMAZON_CLIENT_SECRET, AMAZON_PARTNER_TAG, AMAZON_CREDENTIAL_VERSION, AMAZON_MARKETPLACE, AMAZON_MAX_CONCURRENCYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"amazon-creators": {
"command": "npx",
"args": [
"-y",
"@houtini/amazon-creators-mcp"
],
"env": {
"AMAZON_CLIENT_ID": "ใส่ค่าของคุณ",
"AMAZON_CLIENT_SECRET": "ใส่ค่าของคุณ",
"AMAZON_PARTNER_TAG": "ใส่ค่าของคุณ",
"AMAZON_CREDENTIAL_VERSION": "ใส่ค่าของคุณ",
"AMAZON_MARKETPLACE": "ใส่ค่าของคุณ",
"AMAZON_MAX_CONCURRENCY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add amazon-creators --env AMAZON_CLIENT_ID='ใส่ค่าของคุณ' --env AMAZON_CLIENT_SECRET='ใส่ค่าของคุณ' --env AMAZON_PARTNER_TAG='ใส่ค่าของคุณ' --env AMAZON_CREDENTIAL_VERSION='ใส่ค่าของคุณ' --env AMAZON_MARKETPLACE='ใส่ค่าของคุณ' --env AMAZON_MAX_CONCURRENCY='ใส่ค่าของคุณ' -- npx -y @houtini/amazon-creators-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"amazon-creators": {
"command": "npx",
"args": [
"-y",
"@houtini/amazon-creators-mcp"
],
"env": {
"AMAZON_CLIENT_ID": "ใส่ค่าของคุณ",
"AMAZON_CLIENT_SECRET": "ใส่ค่าของคุณ",
"AMAZON_PARTNER_TAG": "ใส่ค่าของคุณ",
"AMAZON_CREDENTIAL_VERSION": "ใส่ค่าของคุณ",
"AMAZON_MARKETPLACE": "ใส่ค่าของคุณ",
"AMAZON_MAX_CONCURRENCY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"amazon-creators": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@houtini/amazon-creators-mcp"
],
"env": {
"AMAZON_CLIENT_ID": "ใส่ค่าของคุณ",
"AMAZON_CLIENT_SECRET": "ใส่ค่าของคุณ",
"AMAZON_PARTNER_TAG": "ใส่ค่าของคุณ",
"AMAZON_CREDENTIAL_VERSION": "ใส่ค่าของคุณ",
"AMAZON_MARKETPLACE": "ใส่ค่าของคุณ",
"AMAZON_MAX_CONCURRENCY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
AMAZON_MAX_CONCURRENCY envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub houtini-ai ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: AMAZON_CLIENT_ID, AMAZON_CLIENT_SECRET, AMAZON_PARTNER_TAG, AMAZON_CREDENTIAL_VERSION, AMAZON_MARKETPLACE
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.3) เข้า registry 12 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
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.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
If you write product round-ups, you already know the boring part. You find the product on Amazon, copy the image, grab the price, paste your affiliate link, and hope the price hasn't moved by the time someone reads the post. Then you do it again for the next nine products.
This does that part for you. You ask Claude to find something, it searches the live Amazon catalogue, and it hands you back a finished HTML card - image, price, savings, star rating, your Associates tag already baked into the link, and the disclosure footer Amazon requires. Paste it into WordPress, Ghost, Substack, whatever you write in. In Claude Desktop you even see the card render before you copy it.
Built on the Amazon Creators API - the REST API that replaced Product Advertising API 5.0 when Amazon retired the old endpoint on 15 May 2026. If your workflow still points at PA-API, it's been dead for a while now. This is the way back in.
One "make a grid of these" and you get this - styles inlined, tag in every link, disclosure at the bottom. Paste it and move on.
Quick nav
Who it's for · How you'll actually use it · Getting your API key · Install · Environment variables · Tools · Output formats · Styling · Associates compliance · Troubleshooting
You don't need to know what an API is to use it - if you can add an MCP server to Claude and paste your Associates keys once, you're set. The key bit is having an eligible Associates account.
The whole thing is built around a conversation, not a form. You describe what you're writing about, Claude searches and summarises, and it only spits out HTML when you actually ask for the embed. Here's the shape of it.
*"Find me the best direct-drive racing wheels under £500"*
Claude runs search_items and comes back with a plain summary - no HTML yet:
*Found 8 direct-drive wheels under £500. The ones worth a look:*
*• Fanatec CSL DD (£349) - well reviewed, 5 Nm motor*
*• Moza R5 Bundle (£469) - comes with pedals, 5.5 Nm*
*• Cammus C5 (£399) - compact*
*Want me to build an embeddable grid for these?*
*"Yes, make a grid of the top three"*
Now it switches to format: 'html-grid' and returns a complete HTML document. Images, prices, savings, stars, your tag, the "as of" timestamp, the disclosure footer. All of it. Paste and you're done.
This is the bit that saves you. The Creators API has real rate limits (roughly a request a second to start with, climbing as you drive more sales), so you don't want to re-query Amazon every time you fancy a different colour. You don't have to. Claude keeps the data from the last call and re-renders locally:
*"Same grid, but dark cards and hotpink buttons"*
{
"response": { "searchResult": { "items": [ /* from the previous call */ ] } }, "format": "html-grid", "customStyles": ".amzn-card{background:#0f172a;color:#f1f5f9} .amzn-card__cta{background:hotpink;color:#111}" }
Twenty style tweaks, zero extra API calls. Iterate on the look as much as you like.
*"Get me the current details for B09B2SBHQK, B08N5M7S6K and B0BZC6YR7Q"*
Claude calls get_items and summarises the three. One thing worth knowing: the API doesn't promise to return items in the order you asked for them, and it quietly drops any ASIN it can't find (those land in a separate errors array). Claude matches on the asin field so you don't have to think about it.
*"What colours does the Echo Show 5 come in?"*
That's get_variations - it lists the child products of a parent ASIN, each with its own price.
This is where most people get stuck, so I'll be straight with you: the Creators API isn't open to everyone, and there's a sales gate. Worth knowing before you spend an afternoon on it.
.com account won't work against .co.uk - the credentials are tied to a region).Sign in to Associates Central, open the Tools menu, and pick Creators API - or just go straight to affiliate-program.amazon.com/creatorsapi. Then it's three steps.
1. Create a Creators API application
2. Name it and pick your region
The region you choose here decides your AMAZON_CREDENTIAL_VERSION (NA = 3.1, EU = 3.2, FE = 3.3 - full table below). Pick the region that matches the marketplace you actually write for.
3. Copy the Credential ID and Secret
Amazon generates a Login with Amazon (v3.x) credential pair. Copy both - the ID goes in AMAZON_CLIENT_ID, the secret in AMAZON_CLIENT_SECRET. These never leave your own machine. The MCP server talks to Amazon directly; nothing is sent to Houtini or anyone else.
On older v2.x credentials: if you set an app up before early 2026 you might have v2.x Cognito credentials lying around. They don't work here. Create a fresh Login with Amazon application to get v3.x keys - the server checks on startup and refuses v2.x with a message telling you exactly this, so you won't be left guessing.
You don't clone anything to use it - npx pulls the published package. You just need your five environment variables to hand.
Open your config file:
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": { "amazon-creators": { "command": "npx", "args": ["-y", "@houtini/amazon-creators-mcp"], "env": { "AMAZON_CLIENT_ID": "amzn1.application-oa2-client.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "AMAZON_CLIENT_SECRET": "amzn1.oa2-cs.v1.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "AMAZON_PARTNER_TAG": "yourtag-20", "AMAZON_CREDENTIAL_VERSION": "3.1", "AMAZON_MARKETPLACE": "www.amazon.com" } } } }
Restart Claude Desktop, then say *"find me \[whatever you're writing about\] on Amazon"* and you're off.
claude mcp add \
-e AMAZON_CLIENT_ID=amzn1.application-oa2-client.xxx \ -e AMAZON_CLIENT_SECRET=amzn1.oa2-cs.v1.xxx \ -e AMAZON_PARTNER_TAG=yourtag-20 \ -e AMAZON_CREDENTIAL_VERSION=3.1 \ -e AMAZON_MARKETPLACE=www.amazon.com \ -s user amazon-creators -- npx -y @houtini/amazon-creators-mcp
Check it took with claude mcp get amazon-creators - you want to see Status: Connected.
| Variable | Required | Example | Notes |
|---|---|---|---|
AMAZON_CLIENT_ID | Yes | amzn1.application-oa2-client.… | "Credential Id" from your Creators API app |
AMAZON_CLIENT_SECRET | Yes | amzn1.oa2-cs.v1.… | "Secret" from the same place |
AMAZON_PARTNER_TAG | Yes | yourtag-20 | Your Associates tracking ID |
AMAZON_CREDENTIAL_VERSION | Yes | 3.1 / 3.2 / 3.3 | Region-specific - see table below |
AMAZON_MARKETPLACE | Yes | www.amazon.com | The full marketplace host |
AMAZON_MAX_CONCURRENCY | No | 4 | Max requests in flight at once. Default 4. |
DEBUG | No | 1 | Noisy stderr logging. Off by default. |
Your credentials are tied to one region, and calling a marketplace outside it fails auth - so the server cross-checks these at startup and stops you early rather than letting you find out mid-request.
| Region | Version | Marketplaces |
|---|---|---|
| NA | 3.1 | www.amazon.com, www.amazon.ca, www.amazon.com.mx, www.amazon.com.br |
| EU | 3.2 | www.amazon.co.uk, www.amazon.de, www.amazon.fr, www.amazon.it, www.amazon.es, www.amazon.nl, www.amazon.com.be, www.amazon.eg, www.amazon.in, www.amazon.ie, www.amazon.pl, www.amazon.sa, www.amazon.se, www.amazon.com.tr, www.amazon.ae |
| FE | 3.3 | www.amazon.co.jp, www.amazon.sg, www.amazon.com.au |
| Tool | Input | What it does |
|---|---|---|
search_items | keywords / actor / author / brand / title + filters | Search the catalogue. Max 10 items a page; page through with itemPage. |
get_items | asins: string[] (1-10) | Look up specific ASINs. Match results on asin, not on the order you sent them. |
get_variations | asin: string | The size / colour children of a parent ASIN. |
get_browse_nodes | browseNodeIds: string[] | Category metadata and the ancestor chain. json / markdown only. |
| format_items | response *or* items[] from a prior call | Re-render data you already fet
ตัดมาแค่ช่วงต้น อ่านต่อใน repo