Provide tutorial documentation for the MCP feature which gives some examples of how to use the MCP feature.
We should discuss with the docs team to identify what documentation is expected for liberty features. As a starting point, I think we should have a step-by-step guide to getting started and registering a tool, which we can then build on to explain more advanced features.
I think we need to cover:
- registering tools
- providing tool arguments
- using structured content
- registering encoders
- throwing exceptions
- handling cancellation
- writing asynchronous tools
- programmatically registering tools
- stateless mode
- endpoint configuration
Each entry should also note whether there are any restrictions (e.g. cancellation does not work in stateless mode, structured content only works for clients which support version 2025-06-18 or later).
Provide tutorial documentation for the MCP feature which gives some examples of how to use the MCP feature.
We should discuss with the docs team to identify what documentation is expected for liberty features. As a starting point, I think we should have a step-by-step guide to getting started and registering a tool, which we can then build on to explain more advanced features.
I think we need to cover:
Each entry should also note whether there are any restrictions (e.g. cancellation does not work in stateless mode, structured content only works for clients which support version
2025-06-18or later).