Add a minimal Python MCP client example - #72
Conversation
|
Thank you for this — first contribution to the new issue set, and the structure is right: it's small, runnable, has no dependency on a local corpus, and the README link lands in the correct section. I ran it against production before reviewing, and it exits 0 but prints nothing. The cause is a genuine wrinkle in our API that the issue text didn't warn you about, so this is our documentation gap rather than a mistake on your part.
So Two ways to fix it, and I'd prefer the second: Option A — print the text. Drop the JSON handling and print the tool's own formatted output. Honest and three lines shorter, but it doesn't demonstrate reading a specific field, which was the point of the example. Option B — use Either way, two smaller points:
I've also opened this as a documentation fix on our side: the text-versus-JSON split across tools isn't written down anywhere, and you're the second consumer to hit it. Happy to take this in either shape — say which you'd prefer and I'll review promptly. |
|
Thank you for this — and for picking up a Exit 0, no output. The cause is that Two ways to finish it, either is fine:
I would take (2) for this example, since printing citation strings is what it advertises, and it doubles as a demonstration of the R1 contract (copy Happy to merge once it prints something. No rush. |
Add a small runnable Python example that connects to the hosted MCP server, calls
search_decisions, and prints the returned German citation strings.Fixes #62