FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Support for Resource and ResourceTemplate metadata by yannj-fr · Pull Request #1840 · modelcontextprotocol/python-sdk · GitHub

Support for Resource and ResourceTemplate metadata - #1840

Merged
maxisbey merged 2 commits into
modelcontextprotocol:mainfrom
MCPAppsBuilders:fix/resources_metadata
Jan 12, 2026
Merged

Support for Resource and ResourceTemplate metadata#1840
maxisbey merged 2 commits into
modelcontextprotocol:mainfrom
MCPAppsBuilders:fix/resources_metadata

Conversation

yannj-fr commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

Motivation and Context

The current implementations of ChatGPT Apps and MCP Apps rely on Resource metadata
This is a missing implementation in the current Python SDK which disables usage of decorator as an example.

How Has This Been Tested?

Unit testing and end to end integration (MCP Inspector/ChatGPT)

Breaking Changes

No

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 has been list as a part of the MCP Apps Working Group initiative

maxisbey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks for the PR! Looks good to me :)

This comment was marked as duplicate.

maxisbey merged commit 0da9a07 into modelcontextprotocol:main Jan 12, 2026
22 checks passed
maxisbey mentioned this pull request Jan 12, 2026
9 tasks
maxisbey added enhancement Request for a new feature that's not currently supported P2 Moderate issues affecting some users, edge cases, potentially valuable feature labels Jan 12, 2026
yannj-fr deleted the fix/resources_metadata branch January 13, 2026 10:04
maxisbey pushed a commit that referenced this pull request Jan 22, 2026
Add meta field support to Resource, ResourceTemplate, FunctionResource,
and ReadResourceContents. The metadata is propagated through the decorator,
resource/template storage, list operations, and read responses via the
_meta protocol field.

Cherry-picked from 0da9a07 (PR #1840).
maxisbey mentioned this pull request Feb 20, 2026
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Request for a new feature that's not currently supported P2 Moderate issues affecting some users, edge cases, potentially valuable feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL