github-actions[bot]
67a3085944
chore: release v2.0.0 ( #920 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-29 08:24:11 -04:00
moroviintaas
415852806d
fix: fill missing fully qualified syntax in prompt_handler macros ( #866 )
...
* fix: fill missing fully qualified syntax in prompt_handler macros
* fix: remove unused prompt handler test imports
---------
Co-authored-by: Dale Seo <5466341+DaleSeo@users.noreply.github.com>
2026-06-26 12:38:17 -04:00
Dale Seo
77932141e3
feat!: align model types with MCP 2025-11-25 spec ( #927 )
...
* feat!: align model types with MCP 2025-11-25 spec
* fix: complete 2025-11-25 model spec conformance
2026-06-24 20:41:13 -04:00
github-actions[bot]
25220361d5
chore: release v1.8.0 ( #850 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-23 08:20:21 -04:00
Dale Seo
254f04a764
fix: strip and validate tool outputSchema and inputSchema ( #860 )
...
* fix: remove unnecessary fields from tools' outputSchema
* fix: validate input schema root type per MCP spec
2026-06-02 12:01:33 -04:00
Federico Poli
53e4410d99
fix: remove unnecessary fields from tools' inputSchema ( #856 )
2026-05-28 11:28:57 -04:00
github-actions[bot]
3529c3675f
chore: release v1.6.1 ( #831 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-13 09:36:22 -04:00
github-actions[bot]
014fb2e6cd
chore: release v1.6.0 ( #818 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-01 09:38:25 -04:00
github-actions[bot]
020a38b6ad
chore: release v1.5.0 ( #804 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-16 12:47:24 -04:00
WeekendsuperHero
6603c1ff15
fix(macros): respect local feature in #[prompt] macro — omit + Send bound ( #803 )
...
* refactor(prompt): update return type handling
* fix(prompt): add omit send and test
2026-04-14 09:56:19 -04:00
github-actions[bot]
4628720f89
chore: release v1.4.0 ( #779 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-10 10:40:38 -04:00
Dale Seo
be321a4abe
feat(macros): auto-generate get_info and default router ( #785 )
...
* feat(macros): auto-generate get_info and default router
* docs: simplify examples and docs with new defaults
* feat(macros): add tool_router(server_handler) to elide separate #[tool_handler] impl
* docs: add Tools section to README and simplify calculator examples with server_handler
2026-04-08 15:06:26 -04:00
github-actions[bot]
ac749e3ced
chore: release v1.3.0 ( #747 )
...
* chore: release v2.0.0
* chore: version 1.3.0
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dale Seo <5466341+DaleSeo@users.noreply.github.com>
2026-03-26 11:31:13 -04:00
Dale Seo
1a4a52a173
feat: add local feature for !Send tool handler support ( #740 )
...
* feat: add local feature for !Send tool handler support
* fix: gate streamable HTTP transport on not(local) feature
2026-03-11 17:22:56 -04:00
Dale Seo
8700e5c920
chore: fix all clippy warnings across workspace ( #746 )
2026-03-11 14:12:00 -04:00
github-actions[bot]
3bd7522070
chore: release v1.2.0 ( #736 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-11 10:28:11 -04:00
Axel
be248980f2
fix(rmcp-macros): use re-exported serde_json path in task_handler ( #735 )
...
* fix(rmcp-macros): use re-exported serde_json path in task_handler
Replace bare `::serde_json::` with `::rmcp::serde_json::` in
task_handler.rs to prevent compilation errors in crates that don't
directly depend on serde_json.
Fixes #487
* Update crates/rmcp-macros/src/task_handler.rs
---------
Co-authored-by: Dale Seo <5466341+DaleSeo@users.noreply.github.com>
2026-03-09 16:30:11 -04:00
github-actions[bot]
1158cfe1b8
chore: release v1.1.1 ( #732 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-09 11:15:31 -04:00
nazq
9b507f5018
fix(rmcp-macros): replace deprecated *Param type aliases with *Params ( #727 )
...
The `#[task_handler]` macro generates code using deprecated type aliases
(`PaginatedRequestParam`, `CallToolRequestParam`, `GetTaskInfoParam`,
`GetTaskResultParam`, `CancelTaskParam`) that were renamed to `*Params`
in rmcp 0.13.0. This causes 5 deprecation warnings for every crate
using the macro.
Update all references to use the canonical `*Params` names:
- `PaginatedRequestParam` → `PaginatedRequestParams`
- `CallToolRequestParam` → `CallToolRequestParams`
- `GetTaskInfoParam` → `GetTaskInfoParams`
- `GetTaskResultParam` → `GetTaskResultParams`
- `CancelTaskParam` → `CancelTaskParams`
Also fix the corresponding doc examples in `lib.rs`.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-07 15:13:54 -05:00
github-actions[bot]
53c86d5d9d
chore: release v1.0.1 ( #722 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-03 20:57:31 -05:00
github-actions[bot]
e223b53812
chore: release v1.0.0 ( #721 )
...
* chore: release v1.0.0-alpha.1
* chore: version 1.0.0
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alex Hancock <alexhancock@block.xyz>
2026-03-03 17:03:37 -05:00
Dale Seo
2d90b76501
fix: api ergonomics follow-up ( #720 )
...
* fix: builder with_* methods take T instead of Option<T>
* fix: emit conditional builder calls for optional fields in macros
* fix: convert with_task, with_stop_reason, with_logger, with_content to proper builders
* fix: update test callers for new builder signatures
* fix: simplify make_task helper and remove unused import
* fix: update sampling_stdio example for new with_stop_reason signature
* fix: make annotations and execution Option<Expr> consistent with other fields
* fix: remove unused none_expr import
2026-03-03 12:05:32 -05:00
github-actions[bot]
28beb9528b
chore: release v1.0.0-alpha ( #719 )
...
* chore: release v0.18.0
* chore: bump to 1.0.0-alpha
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jack Amadeo <jackamadeo@squareup.com>
2026-03-03 11:26:31 -05:00
Alex Hancock
6842f9cc3c
feat: docs update ( #718 )
2026-03-03 11:14:30 -05:00
Jack Amadeo
f63718d202
chore: add #[non_exhaustive] and mutation methods to improve compatibility ( #715 )
...
* chore: add #[non_exhaustive] to reduce backwards-incompatible changes going forward
* fix: remove ProtocolVersion import
* fix: add a few more with_ mutator methods
---------
Co-authored-by: Alex Hancock <alexhancock@block.xyz>
2026-03-03 10:38:01 -05:00
github-actions[bot]
955186502d
chore: release ( #697 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-27 15:32:46 -05:00
EvianZhang
6c336a90c1
feat: add trait-based tool declaration ( #677 )
...
* feat: add trait-based tool declaration
* fix: typo
* fix: add docs, make more idomatic patterns, allow for empty parameters and return types
* fix: format code
* fix: add default trait
* fix: docs typo
2026-02-25 12:23:37 -05:00
github-actions[bot]
3df4c5bf5f
chore: release v0.16.0 ( #652 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-17 13:51:44 -05:00
Dale Seo
08a5b0551b
fix: align task response types with MCP spec ( #658 )
2026-02-13 17:56:44 -05:00
Rodolfo Olivieri
453032faed
chore: include LICENSE in final crate tarball ( #657 )
...
Required for packaging in distributions such as Fedora and others.
Verified with:
$ cargo package --list | grep LICENSE
2026-02-13 16:13:45 -05:00
github-actions[bot]
9cfc905a9e
chore: release v0.15.0 ( #636 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-10 09:00:28 -05:00
Jiho Park
be23334f9d
fix(tasks): avoid dropping completed task results during collection ( #639 )
...
* fix(tasks): avoid dropping completed task results during collection
* chore(tasks): make `task_result_receiver` required
* refactor(tasks): make `collect_completed_results` private
2026-02-05 09:00:09 +01:00
Luca Chang
df6c3f0665
fix(tasks): expose execution.taskSupport on tools ( #635 )
...
* fix(tasks): expose execution.taskSupport on tools
* feat: implement taskSupport validation on server
2026-02-03 19:17:36 -05:00
github-actions[bot]
8d09f8813d
chore: release v0.14.0 ( #623 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-23 13:09:02 -05:00
Jonathan Hefner
e623f2acab
docs: show README content on docs.rs ( #583 )
...
Use `#![doc = include_str!("../README.md")]` to display README as crate
documentation on docs.rs for both `rmcp` and `rmcp-macros`.
Changes to support this:
- Fix code examples to compile as doc tests (`rust,no_run`)
- Fix broken rustdoc links with explicit `crate::` paths
- Add "Structured Output" section and examples link to rmcp README
- Simplify rmcp-macros README to a summary table with doc links
- Fix grammar throughout
- Add CSS to hide GitHub badges when rendered as rustdoc
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:56:16 -05:00
Dale Seo
9e881a645b
Implement SEP-1319: Decouple Request Payload from RPC Methods ( #617 )
...
* feat: implement SEP-1319 Decouple Request Payload from RPC Methods
* test: update tests
* fix: update handler trait methods to use new types
* fix: update examples
* fix: correct deprecation version
* fix: update wrapper macros to use new *Params type names
2026-01-16 12:16:52 -05:00
Alex Hancock
48e989b711
chore: release v0.13.0 ( #620 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-15 13:24:30 -05:00
jokemanfire
621c9f619e
feat(task): add task support (SEP-1686) ( #536 )
...
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-12-22 09:01:00 -05:00
github-actions[bot]
0d65822c38
chore: release v0.12.0 ( #577 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-18 16:07:25 -05:00
Dale Seo
8d33b155b6
refactor: merge cached_schema_for_type into schema_for_type ( #581 )
2025-12-09 20:04:52 -05:00
dependabot[bot]
ad608f080e
chore(deps): update darling requirement from 0.21 to 0.23 ( #574 )
...
Updates the requirements on [darling](https://github.com/TedDriggs/darling ) to permit the latest version.
- [Release notes](https://github.com/TedDriggs/darling/releases )
- [Changelog](https://github.com/TedDriggs/darling/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TedDriggs/darling/compare/v0.21.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: darling
dependency-version: 0.23.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-12-09 09:15:05 +08:00
github-actions[bot]
4c87f7f163
chore: release v0.11.0 ( #568 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-08 16:42:02 -05:00
Dale Seo
df84555065
Implements outputSchema validation ( #566 )
...
* feat: implement output schema validation
* fix: calculator example comply MCP spec
* refactor: merge cached_schema_for_output into schema_for_output
2025-12-08 16:13:19 -05:00
Pavel Bezglasny
81411fc12d
feat(meta): add _meta field to prompts, resources and paginated result ( #558 )
2025-12-04 09:38:47 +08:00
github-actions[bot]
2b60f8af0f
chore: release v0.9.1 ( #548 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-24 13:01:48 -05:00
github-actions[bot]
9cba162071
chore: release v0.9.0 ( #535 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-17 10:31:01 -05:00
Dylan Anthony
03040f8b0b
feat(tool): add _meta to tool definitions ( #534 )
2025-11-11 09:27:52 +08:00
github-actions[bot]
101b8ad84f
chore: release v0.8.4 ( #506 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-04 16:39:13 -05:00
github-actions[bot]
44129e496d
chore: release v0.8.2 ( #480 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-20 20:52:35 -04:00
4t145
75a7e48441
docs(macro): fix visibility attribute's usage of handler macro ( #481 )
2025-10-13 11:21:39 +08:00