Skip to content

Vendor mcp-ui-server for correct MIME type and PyPI compat#130

Merged
nicosuave merged 1 commit intomainfrom
vendor-mcp-ui
Mar 30, 2026
Merged

Vendor mcp-ui-server for correct MIME type and PyPI compat#130
nicosuave merged 1 commit intomainfrom
vendor-mcp-ui

Conversation

@nicosuave
Copy link
Copy Markdown
Member

Summary

  • Vendor ~80 lines from mcp-ui-server git source into sidemantic/apps/_mcp_ui.py
  • Correct MIME type: text/html;profile=mcp-app (PyPI v1.0.0 has text/html)
  • Remove mcp-ui-server external dep and allow-direct-references hatch config
  • PyPI publish no longer blocked by git dep in metadata
  • [apps] extra now only needs mcp[cli] (vendored code uses mcp.types which is already a dep)

PyPI rejects git deps in metadata. The PyPI v1.0.0 of mcp-ui-server
has wrong MIME type (text/html instead of text/html;profile=mcp-app).
Vendor the ~80 lines we need from the git source into
sidemantic/apps/_mcp_ui.py with correct MIME type. Remove external dep.
@nicosuave nicosuave merged commit cfc34cd into main Mar 30, 2026
15 checks passed
@nicosuave nicosuave deleted the vendor-mcp-ui branch March 30, 2026 16:16
@nicosuave nicosuave restored the vendor-mcp-ui branch March 30, 2026 17:28
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.

1 participant