Commit graph quickstart-resources/mcp-client-python/client.py
Author SHA1 Message Date
Alex Akimov
887105360b
Fix issue 28 with tool use and improve the logic overall (#141)
* Fix issue #28 regarding the tool use

* Fix `chat_loop` to exit cleanly
2026-05-27 05:08:18 -07:00
Jonathan Hefner
bd27d306c0
Implement smoke test for clients and servers (#76)
This commit adds `tests/smoke-test.sh`, which performs a smoke test of
all clients and servers. The smoke test tests that the clients and
servers run and that list tools is called.

This commit also adds a GitHub Actions workflow to run the smoke test on
all pull requests and pushes to main.

For practicality, this commit modifies the TypeScript and Python clients
to lazily initialize the Anthropic client, thus allowing tests to skip
setting an API key. This change also provides a friendly error when
users forget to set an API key.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Alex Akimov <alexeyakimov@gmail.com>
2026-02-01 10:57:45 +01:00
Alex Akimov
029944c038 Python MCP client - add ruff 2025-12-13 16:40:05 +01:00
Alex Akimov
8453de06e9 Fix the module not found error 2025-11-16 06:54:03 +01:00
Alex Akimov
dc60b2a7f7 Refactor the python client to define the model only once 2025-11-09 18:12:00 +01:00
Yichi Zhang
99e2ad92ad Update claude sonnet to 4.5 2025-10-06 12:51:55 -07:00
Ido Cohen
dede2bce69 change model to claude-sonnet-4-0 2025-09-25 12:33:34 +03:00
Ido Cohen
7886d3c1be replace claude-3-5-sonnet-20241022 with claude-3-7-sonnet-latest 2025-08-24 00:29:22 +03:00
David Soria Parra
dfc92478e2
remove unused variable 2025-03-10 11:35:14 +00:00
Allen Zhou
6541c17569 Move mcp-client to mcp-client-python 2025-02-17 10:46:18 -08:00
Renamed from mcp-client/client.py (Previous history)