-
Notifications
You must be signed in to change notification settings - Fork 2
Add example: MCP tool integration (local Ollama) #4
Copy link
Copy link
Open
Labels
examplesExamples and tutorialsExamples and tutorialsgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Summary
Add a 5th example to the jamjet-benchmarks examples directory that shows how to connect a JamJet workflow to an MCP tool server.
What to build
A self-contained example (05_mcp_tool_call/) that:
- Starts (or connects to) a simple MCP server — e.g. a local file reader or calculator
- Runs a JamJet workflow that calls the MCP tool as a step
- Prints the result with the execution timeline (
result.events)
The example should run locally with Ollama (no API key needed), following the same pattern as the existing examples:
main.py— the workflowrequirements.txt—jamjet>=0.1.2,openai>=1.0,pydantic>=2.0setup.sh— creates.venv, installs deps
Why this is useful
MCP integration is one of JamJet's core differentiators. A working example makes it tangible for developers evaluating the framework.
Resources
- MCP guide
- Existing examples — follow the same structure
- JamJet Python SDK docs
Good first issue?
Yes — this is a self-contained addition with no changes to the core SDK. If you're new to JamJet, the existing examples are the best starting point.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
examplesExamples and tutorialsExamples and tutorialsgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed