Commit graph python-sdk/examples
Author SHA1 Message Date
Luca Chang
c733eec5d9
Make client examples workspaces to reflect package code (#1466) 2025-10-17 17:13:39 +01:00
Felix Weinberger
de89457683
fix: send params as empty object for list methods without cursor (#1453) 2025-10-14 11:11:38 +01:00
Rocky Haotian Du
eb34ab7c72
fix: Remove unnecessary constructor from ResourceServerSettings (#1424)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2025-10-14 09:21:15 +02:00
Felix Weinberger
7a933fe5da
Fix workspace configuration error with structured_output_lowlevel.py (#1471)
Co-authored-by: lorenss-m <saeclmusic@gmail.com>
2025-10-13 15:53:46 +01:00
Marcus Shu
df3e428ee8
Improve OAuth protected resource metadata URL construction per RFC 9728 (#1407) 2025-10-06 13:52:44 +01:00
Yukuan Jia
c81ff64e94
fix: fix the system message in simple-chatbot example (#1394) 2025-09-30 12:22:33 +01:00
Peter Alexander
80c0d23d48
Update Icon.sizes to use string array format (#1411) 2025-09-29 14:27:32 +01:00
Peter Alexander
71889d7387
Implementation of SEP 973 - Additional metadata + icons support (#1357)
Some checks failed
Main branch checks / checks (push) Has been cancelled
2025-09-24 20:29:04 +01:00
Max Isbey
c0f165776d
Use streamable-http consistently in examples (#1389) 2025-09-23 20:19:14 +01:00
Max Isbey
4fb975c6dc
feat: add paginated list decorators for prompts, resources, and tools (#1286)
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-23 14:58:06 +01:00
Steve Billings
03e19f1c90
Fastmcp logging progress example (#1270)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2025-09-23 14:48:38 +01:00
Peter Alexander
356dfa692b
Update simple-resource example to use non-deprecated read_resource return type (#1331)
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-01 17:58:01 +01:00
jess
1644b822b3
changes structured temperature to not deadly (#1328) 2025-08-31 23:09:49 +00:00
Jerome
09e3a05e13
feat: Add CORS configuration for browser-based MCP clients (#1059)
Some checks failed
Main branch checks / checks (push) Has been cancelled
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2025-08-21 14:34:45 +01:00
Felix Weinberger
ff02c596a4
docs: clarify streamable_http_path configuration when mounting servers (#1172) 2025-08-21 14:15:37 +01:00
David Soria Parra
0926613714
Update dependencies and fix type issues (#1268)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-08-14 10:40:47 +01:00
Marcelo Trylesinski
c7671e470c
Add pyright strict mode on the whole project (#1254) 2025-08-11 18:56:37 +01:00
Inna Harper
41184ba6c8
README - replace code snippets with examples -- auth examples (#1164) 2025-07-17 18:36:20 +01:00
Dagang Wei
dd792977dd
Docs: Update CallToolResult parsing in README (#812)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2025-07-17 12:48:19 +01:00
Inna Harper
e975d0550b
README - replace code snippets with examples - streamable http (#1155) 2025-07-16 21:45:40 +01:00
Inna Harper
0b4ce00be2
README - replace code snippets with examples - add lowlevel to snippets (#1150) 2025-07-16 15:26:16 +01:00
Inna Harper
a10fec7fa6
README - replace code snippets with examples - direct execution and display utilities (#1137) 2025-07-14 15:54:36 +01:00
Inna Harper
9bf5160eea
README - replace code snippets with examples (#1136) 2025-07-14 13:57:47 +01:00
Stanley Law
6d092af6fd
chore: add markdownlint on pre-commit hook and lint md files (#996)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-07-10 09:43:49 +01:00
Inna Harper
4fee123e72
clean up log.error (#1109) 2025-07-09 11:15:14 +01:00
Inna Harper
adf327164a
Embed code snippets for README from executable examples (#1055) 2025-07-04 17:25:54 +01:00
Marcelo Trylesinski
9301924f44
chore: bump ruff (#1085) 2025-07-04 09:01:17 +01:00
bhosmer-ant
43bb24f62b
feat: Add structured output support for tool functions (#993) 2025-06-26 09:36:17 +01:00
bhosmer-ant
c8bbfc034d
Add schema validation to lowlevel server (#1005) 2025-06-25 09:23:49 -04:00
Inna Harper
ce007de66d
Remove github from auth examples (#1011) 2025-06-24 15:43:08 +01:00
Inna Harper
679b22970e
RFC 8707 Resource Indicators Implementation (#991) 2025-06-23 17:10:20 +01:00
Inna Harper
17f9c00c53
MCP server separation into Authorization Server (AS) and Resource Server (RS) roles per spec PR #338 (#982)
Co-authored-by: Paul Carleton <paulc@anthropic.com>
2025-06-23 14:19:03 +01:00
Inna Harper
d0443a1832
Add resource Link (#974) 2025-06-17 20:23:07 +01:00
Felix Weinberger
a2f8766a8a
Add title to tools, resources, prompts (#972)
Co-authored-by: Claude <noreply@anthropic.com>
2025-06-17 15:53:14 +01:00
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)
Some checks failed
Main branch checks / checks (push) Has been cancelled
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