Skip to content

Conversation

@Teagan42
Copy link
Contributor

What

  • dynamically mount prompts and resources as REST endpoints alongside tools
  • add media-info prompt and cover REST prompt/resource in tests
  • include prompts and resources in generated OpenAPI schema

Why

  • avoid bespoke routing by registering all MCP components through a single dynamic handler

Affects

  • mcp_plex/server.py
  • tests/test_server.py
  • pyproject.toml

Testing

  • uv run ruff check .
  • uv run pytest

https://chatgpt.com/codex/tasks/task_e_68c6152e803883289792172cf1fc1b49

@github-actions
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
mcp_plex
   loader.py1891095%32–34, 310, 313–317, 642
   server.py3042193%86, 104–105, 227, 455, 459, 479–483, 515, 525, 556–557, 574–575, 598, 601–602, 661
TOTAL5963195% 

Tests Skipped Failures Errors Time
28 0 💤 0 ❌ 0 🔥 32.923s ⏱️

@Teagan42 Teagan42 merged commit 0dc0fc1 into main Sep 14, 2025
4 checks passed
@Teagan42 Teagan42 deleted the codex/add-dynamic-rest-handlers-for-prompts-and-resources branch September 14, 2025 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants