59 Commits

Author SHA1 Message Date
Luca Chang
d69b290b65 chore: create union for working with message content (#939) 2025-06-12 09:01:33 +02:00
Marcelo Trylesinski
543961968c Use 120 characters instead of 88 (#856) 2025-06-11 11:45:50 +02:00
Nandha Reddy
f7265f7b91 Use FileUrl on the resources/list call in the simple-resource example (#907) 2025-06-11 10:48:42 +02:00
dr3s
1a9ead07f5 relax validation (#879) 2025-06-09 19:21:01 +01:00
Luca Chang
7123556a34 feat: support audio content (#725)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-06-07 14:32:11 +00:00
Arash Ashtiani
7c8ad510b7 llamallama-3.2-90b-vision-preview is deprecated (#523) 2025-05-23 13:47:52 +01:00
Clare Liguori
4cd4fe006c Chatbot example: clean up servers in correct order (#353) 2025-05-23 11:30:50 +01:00
ciccolo-anthropic
2ca2de767b Change default binding from 0.0.0.0 to 127.0.0.1 to align with security recommendations (#738) 2025-05-20 20:23:19 +01:00
ihrpr
43ded92633 add auth client sse (#760) 2025-05-20 15:21:14 +01:00
ihrpr
e33cd41c7a Add OAuth authentication client for HTTPX (#751)
Co-authored-by: Paul Carleton <paulc@anthropic.com>
2025-05-19 20:38:04 +01:00
ihrpr
5d33861cad Add progress notification callback for client (#721) 2025-05-15 17:45:58 +01:00
ihrpr
b3fbee9c48 Include server examples folder in pyright check (#667) 2025-05-15 09:29:36 +01:00
Daniel
8b5838675c docs: clarify LLM API configuration in mcp_simple_chatbot README (#487)
Co-authored-by: Danny <88821366+ddaltn@users.noreply.github.com>
2025-05-13 14:00:01 +01:00
ihrpr
fdb538bc28 Simple Auth Example to use shttp in addition to sse (#695) 2025-05-12 22:08:23 +01:00
ihrpr
ed25167fa5 Introduce a function to create a standard AsyncClient with options (#655) 2025-05-08 20:53:21 +01:00
ihrpr
e4e119b324 Streamable HTTP - improve usability, fast mcp and auth (#641) 2025-05-08 20:43:25 +01:00
ihrpr
a027d75f60 Auth SSE simple server example (#610)
Co-authored-by: Peter Raboud <praboud@anthropic.com>
Co-authored-by: David Soria Parra <davidsp@anthropic.com>
Co-authored-by: Basil Hosmer <basil@anthropic.com>
Co-authored-by: Paul Carleton <paulc@anthropic.com>
Co-authored-by: Paul Carleton <paulcarletonjr@gmail.com>
2025-05-07 17:52:29 +01:00
ihrpr
9d99aee014 Revert "Add message queue for SSE messages POST endpoint (#459)" (#649) 2025-05-07 16:35:20 +01:00
Akash D
3b1b213a96 Add message queue for SSE messages POST endpoint (#459) 2025-05-06 17:10:43 -07:00
Akash D
83968b5b2f Handle SSE Disconnects Properly (#612) 2025-05-02 09:32:46 -07:00
ihrpr
5d8eaf77be Streamable Http - clean up server memory streams (#604) 2025-05-02 14:59:17 +01:00
ihrpr
3978c6e1b9 StreamableHttp -- resumability support for servers (#587) 2025-05-02 14:10:40 +01:00
ihrpr
9dfc925090 StreamableHttp client transport (#573) 2025-05-02 13:59:02 +01:00
ihrpr
46523afe30 StreamableHttp - GET request standalone SSE (#561) 2025-05-02 13:52:27 +01:00
ihrpr
72b66a58b1 StreamableHttp - stateless server support (#554) 2025-05-02 13:40:21 +01:00
ihrpr
78f0b11a09 StreamableHttp - Server transport with state management (#553) 2025-05-02 11:58:54 +01:00
Peter Raboud
2210c1be18 Add support for serverside oauth (#255)
Co-authored-by: David Soria Parra <davidsp@anthropic.com>
Co-authored-by: Basil Hosmer <basil@anthropic.com>
Co-authored-by: ihrpr <inna@anthropic.com>
2025-05-01 19:42:59 +01:00
Christian Clauss
babb477dff Python lint: Ruff rules for comprehensions and performance (#512) 2025-04-15 16:58:33 +02:00
徐徐如生
321498ab5d Fix python -m command error (#387)
Co-authored-by: xzx <xuzexin@thinktown.com>
2025-03-31 07:32:15 +00:00
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