Skip to content

MCP server non-reference documentation #35030

@Azquelt

Description

@Azquelt

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions