Commit Graph

19 Commits

Author SHA1 Message Date
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
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
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