Add MCP Gateway shoe store support chatbot sample#14
Open
ramyaravi1 wants to merge 10 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new sample under
MCP-Gateway/shoe-store-support-chatbot/— a StreamlitStreamable HTTP. It demonstrates an AI agent reaching live data through a single,
secured MCP endpoint across two backends:
ordersapi(HTTP Server) →get_orderslists a shopper's recent orders.supporttickets(Kafka) →submit_requestpublishes a support request to thesupport-requeststopic.This is the companion code for the MCP Gateway tutorial (connecting an AI agent
to Apache Kafka and HTTP Server backends).
What's included
src/shoe_bot/— app code (Streamlit UI, Bedrock Converse agent, MCP manager,config loader, async runtime).
example_mcp_server.py— optional minimal stdio MCP server for local testing.config.example.json— sanitized config template (copy toconfig.json).pyproject.toml,uv.lock— uv project + locked dependencies.README.md— setup, configuration, and run instructions.LICENSE— MIT.Security
No real endpoints or credentials are committed. Only the sanitized
config.example.json(placeholder URL) is included; the liveconfig.jsonisintentionally excluded. AWS credentials are read at runtime from the standard
AWS credential chain.
Testing
uv syncinstalls dependencies.uv run streamlit run src/shoe_bot/app.pylaunches the chatbot.get_orders(HTTP) andsubmit_request(Kafka) respectively against a configured MCP Gateway.
Notes for reviewers
LICENSE. Happy to remove it and defer to the repo'soverall licensing if that's the preferred convention here.