Skip to content

MCP Toolbox config + demo code for the tutorial stack#1

Open
chris-okuda wants to merge 4 commits intomainfrom
chrisokuda/mcp_setup
Open

MCP Toolbox config + demo code for the tutorial stack#1
chris-okuda wants to merge 4 commits intomainfrom
chrisokuda/mcp_setup

Conversation

@chris-okuda
Copy link
Copy Markdown
Collaborator

I added MCP Toolbox with some tools (in YAML files) and some demo code. I produced this with Cursor plus a few hours of tweaking to make sure it all works reliably.

MCP Toolbox: Docker Compose runs Toolbox alongside the existing databases. Under toolbox/config/tools/ there are YAML definitions for data sources, Postgres and Mongo query tools, grouped toolsets, and prompts so the tutorial has a consistent, repeatable surface for demos.

Demo code: A small mcp_tutorial package (settings, prompts, and an agent loop), scripts/run_agent_demo.py for a terminal walkthrough, and notebooks/simple_tool_calls.ipynb to try the same calls interactively. The README and .env.example spell out how to start the stack, install the package, and which env vars to set.

Other (smaller) tweaks: quieter database logging for demos, CSV download caching to speed repeat starts, a seeding adjustment so IDs line up better between Postgres and Mongo for cross-database examples, and related README updates.

… both databases.

* fixed a data import issue with IDs between pg and mongo so lookups work better when cross-referencing.
* silencing/quieting a bunch of the logging from the databases in the docker compose so we can see the important logs for the demo.
@chris-okuda chris-okuda requested a review from SVeldman April 16, 2026 03:52
@chris-okuda chris-okuda self-assigned this Apr 16, 2026
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 10ec6c7. Configure here.

Comment thread scripts/seed_databases.py
Comment thread toolbox/config/tools/03_mongo_tools.yaml
…nt variable for database name instead of hardcoded value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant