Skip to content

Conversation

@lorenss-m
Copy link
Contributor

Motivation and Context

The workspace configuration in pyproject.toml uses glob pattern examples/servers/* expecting all items to be packages with their own pyproject.toml. However, structured_output_lowlevel.py is a standalone file, causing uv sync to fail when installing the SDK as a git dependency.

How Has This Been Tested?

  • Created proper package structure for the example
  • Verified uv sync works correctly

Breaking Changes

None. The example functionality remains identical.

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

Moved examples/servers/structured_output_lowlevel.py to examples/servers/structured-output-lowlevel/mcp_structured_output_lowlevel/__main__.py with proper package structure.

@lorenss-m lorenss-m requested review from a team and ihrpr August 10, 2025 21:15
Copy link
Contributor

@felixweinberger felixweinberger left a comment

Choose a reason for hiding this comment

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

HI @lorenss-m thanks for this contribution!

This change looks good to me and is a nice clean-up - just left a comment on the pyproject.toml for something I don't think we need to have in this PR?

Comment on lines +8 to +9
[tool.uv.sources]
mcp = { workspace = true }
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we actually need this? I don't think any of the other examples have this.

@felixweinberger felixweinberger added needs more work Not ready to be merged yet, needs additional changes. needs sync Needs sync with latest main branch to ensure CI passes needs maintainer action Potentially serious issue - needs proactive fix and maintainer attention and removed needs more work Not ready to be merged yet, needs additional changes. labels Sep 23, 2025
@felixweinberger felixweinberger self-assigned this Sep 30, 2025
@felixweinberger felixweinberger added needs more work Not ready to be merged yet, needs additional changes. and removed needs maintainer action Potentially serious issue - needs proactive fix and maintainer attention labels Sep 30, 2025
@felixweinberger felixweinberger removed their assignment Oct 1, 2025
@felixweinberger
Copy link
Contributor

Closing in favor of #1471 - thanks again for this contribution!

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

Labels

needs more work Not ready to be merged yet, needs additional changes. needs sync Needs sync with latest main branch to ensure CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants