Marcelo Trylesinski
68cbabb9d7
refactor: introduce MCPModel base class for protocol types ( #1880 )
...
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>
2026-01-16 10:51:36 +01:00
Felix Weinberger
cfb2909631
fix: change Resource URI fields from AnyUrl to str ( #1863 )
2026-01-16 09:58:57 +01:00
Marcelo Trylesinski
812a46ab97
Remove deprecated cursor parameter and ResourceReference ( #1871 )
2026-01-15 21:33:21 +01:00
Marcelo Trylesinski
024d7597fd
Drop Content and args parameter in ClientSessionGroup.call_tool ( #1866 )
2026-01-15 16:24:53 +00:00
Marcelo Trylesinski
32a4587da9
chore: drop as _annotations ( #1858 )
2026-01-15 10:07:06 +00:00
Yann Jouanin
3863f203e9
Server initialize response update to last spec (add title, description) ( #1634 )
2026-01-06 21:34:08 +00:00
Marcelo Trylesinski
201de920a0
refactor: use __future__.annotations ( #1832 )
2026-01-06 20:03:13 +01:00
Jeremiah Lowin
0dedbd9831
feat: client-side support for SEP-1577 sampling with tools ( #1722 )
2025-12-09 23:36:28 +00:00
Felix Weinberger
8e02fc17e1
chore: update LATEST_PROTOCOL_VERSION to 2025-11-25 ( #1715 )
Main branch checks / checks (push) Has been cancelled
2025-12-02 18:27:27 +00:00
Felix Weinberger
fa851d93a2
feat: backwards-compatible create_message overloads for SEP-1577 ( #1713 )
2025-12-02 13:17:45 +00:00
Max Isbey
c92bb2f7ff
SEP-1686: Tasks ( #1645 )
2025-11-28 18:51:58 +00:00
Chris Coutinho
02b7889929
Implement SEP-1036: URL mode elicitation for secure out-of-band interactions ( #1580 )
...
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2025-11-25 11:00:21 +00:00
Tapan Chugh
b19fa6f279
SEP-1330: Elicitation Enum Schema Improvements and Standards Compliance ( #1246 )
...
Co-authored-by: Tapan Chugh <tapanc@cs.washington.edu>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2025-11-23 23:32:08 +00:00
Olivier Chafik
71c475588f
Implement SEP-1577 - Sampling With Tools ( #1594 )
...
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-22 23:58:14 -05:00
Peter Alexander
3e798bfc01
Add icons support for ResourceTemplate ( #1412 )
Main branch checks / checks (push) Has been cancelled
2025-10-01 13:23:46 +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 )
Main branch checks / checks (push) Has been cancelled
2025-09-24 20:29:04 +01:00
Sreenath Somarajapuram
07ae8c0d4e
types: Setting default value for method: Literal ( #1292 )
2025-08-26 16:22:56 +01:00
Marcelo Trylesinski
7570ba30cf
Make sure RequestId is not coerced as int ( #1178 )
2025-07-21 10:57:47 +01:00
Frédéric Barthelet
906ceea388
fix: Expose completions capability ( #865 )
2025-07-07 09:26:22 +01:00
Inna Harper
4b659639f7
Update latest protocol version to 2025-06-18 ( #1036 )
2025-06-26 10:02:57 +01:00
bhosmer-ant
c8bbfc034d
Add schema validation to lowlevel server ( #1005 )
2025-06-25 09:23:49 -04: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
Inna Harper
5429ac6153
Update _meta usage guidance in types ( #971 )
2025-06-17 11:54:59 +01:00
Inna Harper
69e6572d48
Add support for Elicitation ( #625 )
...
Co-authored-by: David Soria Parra <davidsp@anthropic.com>
2025-06-17 11:54:11 +01:00
Inna Harper
a3bcabdce2
Include context into completions ( #966 )
2025-06-17 09:33:25 +01:00
Felix Weinberger
1eb1bba83c
feat: add _meta to more objects ( #963 )
2025-06-16 16:43:54 +01:00
ihrpr
f3cd20c920
Rename ResourceReference to ResourceTemplateReference ( #947 )
2025-06-13 18:25:36 +01:00
Felix Weinberger
df15e9566d
feat: implement MCP-Protocol-Version header requirement for HTTP transport ( #898 )
2025-06-12 18:01:53 +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
xiaoming wang
2cbc435c6c
normalize string ID to int in server messages for compatibility ( #851 )
...
Co-authored-by: 晓明 王 <wxm@v1i.cc>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-06-08 07:15:21 +00: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
Peng Li
8276632caa
fix wrong order of comments ( #899 )
...
Signed-off-by: vincent-pli <justdoit.pli@gmail.com>
2025-06-07 07:18:26 -07:00
Lorenzo
7f94bef85e
Client sampling and roots capabilities set to None if not implemented ( #802 )
...
Co-authored-by: ihrpr <inna@anthropic.com>
2025-05-29 09:56:34 +01:00
Marshall Roch
7901552eba
send errors to pending requests if server closes ( #333 )
...
Co-authored-by: ihrpr <inna@anthropic.com>
2025-05-27 22:55:27 +01:00
Nate Barbettini
e80c0150e1
fix: Pass cursor parameter to server ( #745 )
Main branch checks / checks (push) Has been cancelled
2025-05-21 22:27:06 +01:00
ihrpr
13f018264c
Set 2025-03-26 as the latest protocol version ( #719 )
2025-05-15 09:29:54 +01:00
Akshey D
9e66f7ce89
feat: add message to ProgressNotification ( #435 )
...
Co-authored-by: ihrpr <inna.hrpr@gmail.com>
2025-05-13 18:40:15 +01:00
bhosmer-ant
1a330ac672
Add ToolAnnotations support in FastMCP and lowlevel servers ( #482 )
2025-04-30 14:52:56 +01:00
David Soria Parra
9a2bb6a7e7
refactor: Make types.py strictly typechecked. ( #336 )
2025-03-26 14:21:35 +00:00
Nino Risteski
04586f8f86
Update types.py ( #243 )
...
excluded prompts/get change
2025-03-20 17:53:36 +00:00
Marcelo Trylesinski
ae77772ea8
Add strict mode to pyright ( #315 )
...
* Add strict mode to pyright
* Apply UP rule
* fix readme
* More correct
* Leave wrong Context for now
* Add strict mode to pyright
* Apply UP rule
* fix readme
* fix
* ignore
2025-03-20 09:13:08 +00:00
Marcelo Trylesinski
7196604468
Revert "refactor: reorganize message handling for better type safety and clar…" ( #282 )
...
Main branch checks / checks (push) Has been cancelled
This reverts commit 9d0f2daddb .
2025-03-14 09:50:46 +00:00
David Soria Parra
9d0f2daddb
refactor: reorganize message handling for better type safety and clarity ( #239 )
...
Main branch checks / checks (push) Has been cancelled
* refactor: improve typing with memory stream type aliases
Move memory stream type definitions to models.py and use them throughout
the codebase for better type safety and maintainability.
GitHub-Issue:#201
* refactor: move streams to ParsedMessage
* refactor: update test files to use ParsedMessage
Updates test files to work with the ParsedMessage stream type aliases
and fixes a line length issue in test_201_client_hangs_on_logging.py.
Github-Issue:#201
* refactor: rename ParsedMessage to MessageFrame for clarity
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
* refactor: move MessageFrame class to types.py for better code organization
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
* fix pyright
* refactor: update websocket client to use MessageFrame
Modified the websocket client to work with the new MessageFrame type,
preserving raw message text and properly extracting the root JSON-RPC
message when sending.
Github-Issue:#204
* fix: use NoneType instead of None for type parameters in MessageFrame
🤖 Generated with [Claude Code](https://claude.ai/code )
* refactor: rename root to message
2025-03-13 13:44:55 +00:00
Henry Wildermuth
b53e090299
Update URL validation to allow file and other nonstandard schemas
2025-02-13 14:58:58 -08:00
zzstoatzz
ca060014bb
centralize type
2025-02-04 11:11:38 -06:00
David Soria Parra
bd742272ab
fix: update types to reflext 2024-11-05 schema
2025-01-24 09:52:16 +00:00
Salman Mohammed
135191403a
Add instructions field to InitializeResult
2025-01-13 11:58:43 -05:00