Skip to content

Support setting title and description for server and client #1783

@JulianJvn

Description

@JulianJvn

Description

The MCP spec schema for Implementation, which is used for clientInfo and serverInfo in InitializeRequestParams and InitializeResult, features the two fields

  • title for a human-readable title of the MCP client/server, and
  • description for a human-readable description of the MCP client/server.

Curiously, it is not possible to set these basic fields for server and client with the Python SDK.

To be more precise, types.Implementation only supports setting the title (via the superclass BaseMetadata), the description is missing altogether and therefore can't be set for both client and server.

In addition, while the client accepts an Implementation-type client_info object during initialization (so it at least permits setting the title), the server only accepts a server.models.InitializationOptions-type init_options object, which doesn't support neither title nor description.

The feature request is to support setting the title and the description for both clients and servers.

The use case is as the MCP specification says: I'd like to provide human-readable titles and descriptions to MCP hosts.

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Moderate issues affecting some users, edge cases, potentially valuable featurebugSomething isn't workingready for workEnough information for someone to start working on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions