Rohan Sharma

Flipkart Seller MCP

MCP server2026Python, FastMCP, Pydantic, OAuth2

A Model Context Protocol server for the Flipkart Seller v3 API, designed to spend as few context tokens as possible.

Seller APIs return large payloads, and an agent that reads all of them runs out of context quickly. This server is built around that limit.

Instead of thirty or more narrow tools it exposes five domain tools (shipments, inventory, returns, ads and financials), each with an action argument. That cuts the tool schema an agent carries from about 4,000 tokens to about 500.

Every tool returns a compact Markdown summary by default, roughly 100 to 300 tokens, where the raw API response can run past 5,000. Full JSON is one parameter away, and lists are capped at ten items a page.

It refreshes OAuth tokens before they expire and falls back to a mock mode when credentials are missing, so an agent can be tested without a seller account.

Tools
5 instead of 30+
Schema size
about 4,000 to about 500 tokens
Licence
MIT
GitHub stars
1