Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AMAZON_MCP_IDLE_MSNoIdle ms before the browser auto-closes. 0 = never close.45000
AMAZON_MCP_HEADLESSNoSet 0 to run headed (visible window). Headed draws fewer CAPTCHAs on order pages. Also switchable at runtime via set_browser_mode.1
AMAZON_MCP_PROFILE_DIRNoChrome profile dir (holds your session)~/.amazon-in-mcp/profile

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
login_statusA

Loads the Amazon.in homepage in the persistent browser session and reports whether you are signed in, or whether a CAPTCHA/sign-in wall is blocking access. Run npm run login once if not signed in.

loginA

Opens a visible Chrome window at the Amazon.in sign-in page and keeps it open so you can sign in by hand (including OTP/CAPTCHA). Your session is saved automatically for future calls. After signing in, call finish_login. Use this instead of any command-line login.

finish_loginA

Verifies you're signed in after using the login tool, then closes the visible window and returns to headless mode. Pass keepHeaded=true to keep the browser visible for this session.

get_browser_stateA

Report the current browser configuration: whether it's running headless or headed, whether a browser is currently open, the idle auto-close timeout, and the profile directory.

set_browser_modeA

Switch the browser between headless (no window) and headed (visible window). If the browser is currently open, it is closed so the next tool call relaunches in the new mode. Your login is preserved. Returns the resulting state.

search_itemsA

Search Amazon.in for products. Returns title, price (₹), rating, rating count, ASIN and product URL. Works without being signed in.

list_ordersA

List your recent Amazon.in orders (requires a signed-in session). Returns order id, date, total, and item titles. Paginates automatically up to maxOrders.

get_orderA

Open a single order's detail page by order id (format 123-1234567-1234567) and return its readable contents: items, prices, shipping and payment summary.

analyze_order_trendsA

Pull a window of orders and compute spend trends: total spend, average order value, spend by month, most-repeated items, and biggest orders.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/kausikram/amazon-in-marketplace-mcp'

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