Skip to content

Conversation

@koic
Copy link
Member

@koic koic commented Dec 29, 2025

Motivation and Context

This PR adds support for the optional icons parameter in prompt, resource, resource template, and server info.

The specifications for icons are as follows.
https://modelcontextprotocol.io/specification/2025-11-25/schema#icon

Resolves #127.

How Has This Been Tested?

Existing tests have been updated and new tests have been added.

Breaking Changes

None. The newly added icons parameter defaults to an empty array, so it is backward-compatible.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

This PR adds support for the optional `icons` parameter in prompt, resource,
resource template, and server info.

The specifications for `icons` are as follows.
https://modelcontextprotocol.io/specification/2025-11-25/schema#icon

Resolves modelcontextprotocol#127.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement SEP-973: Icons and metadata support

2 participants