Observed since 21 Oct, 10:02 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
MCP Server for Online Boutique AI Assistant - exposing microservices via Model Context Protocol
Model Context Protocol (MCP) Server for Online Boutique AI Assistant
Expose microservices through the standardized Model Context Protocol, enabling any MCP client to access complete e-commerce functionality.
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────────┐
│ MCP Client │────│ MCP Server │────│ Microservices │
│ (Any LLM/Agent) │ │ (This Package) │ │ (Online Boutique) │
└─────────────────┘ └──────────────────┘ └─────────────────────┘
Install from PyPI:
pip install ai-boutique-assit-mcp
Or install from source:
git clone https://github.com/arjunprabhulal/ai-boutique-assit-mcp.git
cd ai-boutique-assit-mcp
pip install -e .
The server supports two modes of operation:
# Standalone HTTP server (default)
boutique-mcp-server --port 8080
# Or explicitly force HTTP mode
boutique-mcp-server --http --port 8081
# Force stdio mode for direct ADK integration
boutique-mcp-server --stdio
# ADK will automatically launch in stdio mode when using StdioConnectionParams
boutique-mcp-server --help
# Options:
# --port PORT Port for HTTP mode (default: 8080)
# --stdio Force stdio mode (for ADK integration)
# --http Force HTTP mode (for web/API access)
from google.adk.agents import Agent
from google.adk.tools.mcp_tool import McpToolset, SseConnectionParams
agent = Agent(
name="boutique_assistant",
model="gemini-2.0-flash",
instruction="You are a helpful e-commerce assistant.",
tools=[
McpToolset(
connection_params=SseConnectionParams(
url="http://localhost:8081/mcp"
)
)
]
)
from google.adk.agents import Agent
from google.adk.tools.mcp_tool import McpToolset, StdioConnectionParams, StdioServerParameters
agent = Agent(
name="boutique_assistant",
model="gemini-2.0-flash",
instruction="You are a helpful e-commerce assistant.",
tools=[
McpToolset(
connection_params=StdioConnectionParams(
server_params=StdioServerParameters(
command="boutique-mcp-server",
args=["--stdio"],
env={
"PRODUCT_CATALOG_SERVICE": "localhost:3550",
"CART_SERVICE": "localhost:7070",
# Add other service endpoints as needed
}
)
)
)
]
)
The MCP server exposes 18 e-commerce functions:
list_products() - Browse all productssearch_products(query) - Search product catalogget_product(product_id) - Get product detailsget_product_with_image(product_id) - Product with imagefilter_products_by_price(max_price_usd) - Price filteringadd_item_to_cart(user_id, product_id, quantity) - Add to cartget_cart(user_id) - View cart contentsempty_cart(user_id) - Clear cartplace_order(user_id, currency, address, email, credit_card) - Complete purchaseinitiate_checkout() - Start checkout processget_shipping_quote(address, items) - Calculate shippingship_order(address, items) - Arrange shippingcharge_card(amount, credit_card) - Process paymentget_supported_currencies() - Available currenciesconvert_currency(from_amount, to_currency) - Currency conversionsend_order_confirmation(email, order) - Email confirmationsget_ads(context_keys) - Promotional contentlist_recommendations(user_id, product_ids) - Product suggestionsThe server connects to Online Boutique microservices using these default endpoints (Kubernetes service names):
# Default endpoints (production/GKE environment)
PRODUCT_CATALOG_SERVICE="productcatalogservice:3550"
CART_SERVICE="cartservice:7070"
RECOMMENDATION_SERVICE="recommendationservice:8080"
SHIPPING_SERVICE="shippingservice:50051"
CURRENCY_SERVICE="currencyservice:7000"
PAYMENT_SERVICE="paymentservice:50051"
EMAIL_SERVICE="emailservice:5000"
CHECKOUT_SERVICE="checkoutservice:5050"
AD_SERVICE="adservice:9555"
For local testing, override with localhost endpoints:
export PRODUCT_CATALOG_SERVICE="localhost:3550"
export CART_SERVICE="localhost:7070"
export RECOMMENDATION_SERVICE="localhost:8080"
export SHIPPING_SERVICE="localhost:50051"
export CURRENCY_SERVICE="localhost:7000"
export PAYMENT_SERVICE="localhost:50052"
export EMAIL_SERVICE="localhost:5000"
export CHECKOUT_SERVICE="localhost:5050"
export AD_SERVICE="localhost:9555"
# 1. Clone the repository
git clone https://github.com/arjunprabhulal/ai-boutique-assit-mcp.git
cd ai-boutique-assit-mcp
# 2. Install dependencies
pip install -r requirements.txt
# 3. Start MCP server
boutique-mcp-server --port 8081
# Or use Python module directly
python -m ai_boutique_assit_mcp.mcp_server --port 8081
# 4. Test with ADK (stdio mode)
adk run your_agent.py
# 5. Test with ADK (HTTP mode - start server first)
boutique-mcp-server --http --port 8081
# Then in another terminal: adk run your_agent.py
# Build package
python -m build
# Publish to PyPI
python -m twine upload dist/*
Contributions are welcome! Please feel free to submit a Pull Request.
Repository: https://github.com/arjunprabhulal/ai-boutique-assit-mcp
MIT License - see LICENSE file for details.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.4 | 22 Sept 2025 | 9 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 21 Oct, 10:02 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:5964681e1d47cf811553e4363789ecb546f48da669dc4fe610245e378da32c36