180 Commits

Author SHA1 Message Date
David Soria Parra 2ea14958f0 Update .env.example 2025-03-27 20:33:30 +00:00
David Soria Parra 06e692ba5c fix: fix the name of the env variable 2025-03-11 10:26:38 +00:00
Henry Wildermuth b53e090299 Update URL validation to allow file and other nonstandard schemas 2025-02-13 14:58:58 -08:00
David Soria Parra 960b92355e add uv.lock for simple-chatbot 2025-02-03 13:25:30 +00:00
David Soria Parra c14ec2e0d7 fix typing issues 2025-01-23 13:27:25 +00:00
David Soria Parra 059e831b8d Merge pull request #98 from 3choff/feature/simple-chatbot-example
Add example client to examples/clients folder
2025-01-23 13:27:10 +00:00
David Soria Parra b66c6759c3 feat: add example and test for parameter descriptions in FastMCP tools 2025-01-06 12:30:44 +00:00
David Soria Parra e21e8c157d style: Fix import sorting and update ruff version 2025-01-03 15:57:14 +00:00
David Soria Parra 2d8f08d648 fix: Address formatting and type checking issues 2025-01-03 15:23:58 +00:00
David Soria Parra ed993166e4 example: Add FastMCP example with Unicode characters and emojis 2025-01-03 15:20:43 +00:00
Allen Porter 1134421a3a Fix inconsistencies in examples 2024-12-30 10:08:57 -08:00
Allen Porter 0970ef4ae0 Fix SSE server bug with uncaught TypeError 2024-12-30 10:04:19 -08:00
Edoardo Cilia eba1ad2772 Merge branch 'main' into feature/simple-chatbot-example 2024-12-23 22:59:36 +00:00
David Soria Parra 561397c409 remove comment 2024-12-21 00:46:37 +00:00
David Soria Parra a79f51f55f style: Fix imports and line length formatting 2024-12-21 00:46:36 +00:00
David Soria Parra bed35f3737 Update example servers to use mcp.server.lowlevel 2024-12-21 00:41:59 +00:00
David Soria Parra aa3b550ec6 docs: Update FastMCP import paths and dependencies 2024-12-21 00:41:59 +00:00
David Soria Parra 15cd7df87f refactor: Update FastMCP examples to use new import path
Update all FastMCP examples to use mcp.server.fastmcp instead of fastmcp.
Add tests to verify example servers work correctly.

Changes:
- Update import paths in all example files
- Create test_examples.py to verify functionality
- Fix test assertions to match actual response format
2024-12-21 00:41:39 +00:00
3choff 466e1e8eb7 refactor: modernize type hints and improve async context handling
- Update type hints to use Python 3.10 syntax (dict, list, X | None)
- Replace requests with httpx for HTTP client consistency
- Improve async context management using AsyncExitStack
- Simplify server cleanup method
2024-12-18 16:35:49 +00:00
3choff a0216c3e50 Add example client to examples/clients folder 2024-12-11 16:06:10 +00:00
David Soria Parra aaf32b5307 Merge branch 'v1.1.x' 2024-12-09 14:26:46 +00:00
David Soria Parra 28ed9cba5a Change lower bounds and update locks 2024-12-09 14:23:08 +00:00
Oskar Raszkiewicz e4c00741be Fix simple-prompt example README 2024-12-04 19:44:00 +01:00
David Soria Parra 44ec763f92 Fix READMEs of examples 2024-12-03 22:35:52 +00:00
David Soria Parra b36bde3d85 ruff fix 2024-11-22 10:47:58 +00:00
David Soria Parra bbd9d05851 Fix example servers SSE invocation
Reported-by: Simon Willison
2024-11-22 10:45:24 +00:00
David Soria Parra 464cb02fdd Update READMEs 2024-11-19 12:37:10 +00:00
David Soria Parra f00559a465 pin to lowest supported python version 2024-11-13 10:44:54 +00:00
David Soria Parra e1766443b8 add simple resource example 2024-11-12 14:29:14 +00:00
David Soria Parra 10881fb19b Example server to expose a fetch tool and a fetch prompt 2024-11-12 13:53:36 +00:00