Pull Request Overview
- Opened on October 20, 2026
- Status Open
- Commit count 4 with first commit October 3, 2026
Total Delta
4938 Total Diff Delta
Open Days
Open 19 weekdays
Test Delta
231 Diff Delta in Test Files
Breakdown by Phase
How long has this pull request spent in each phase of its lifecycle?
| Fraction of total time | Business days | Phase |
|---|---|---|
|
|
11.5 days | Authoring 4 commits before pull request opened for review |
|
|
0.6 days | Awaiting first review |
|
|
18.0 days | Revising work with 0 commits in response to 8 reviews that left 10 comments |
Total time for pull request still awaiting merge (longer than repo's target): 30.1 business days
Add project-aware Coproducer and MCP server
Summary
This PR adds Coproducer, a project-aware AI assistant for Shotcut, and exposes its tools through a Streamable HTTP MCP endpoint. Coproducer and external MCP clients use the same endpoint.
Coproducer
- Adds a QML-based Coproducer dock, opened with
Ctrl+Shift+7. - Adds Chat and Search User Guide entries to Help.
- Adds two interchangeable AI provider modes:
-
OpenAI-compatible API: configure the API key, model, and base URL. HTTPS is required except for localhost endpoints. -
Local model: select a GGUF model; Shotcut starts and managesllama-server.
-
-
AI Chat sends model-requested tools through MCP for project inspection, timeline summaries, and forum search. -
Search User Guide calls the forum-search MCP tool directly, without invoking an AI model. - Streams Markdown responses, supports citations, and includes cancellation and new-chat controls.
MCP
- Implements a stateless Streamable HTTP endpoint at
/mcp, with dynamic localhost ports and MCP initialization, tool discovery, and tool calls. - Adds Help β Copy MCP Endpoint so users can provide the current Shotcut instanceβs URL to external MCP clients.
- Registers three tools:
shotcut_project_inspect,shotcut_timeline_summary, andshotcut_forum_search. - Project inspection returns read-only clip, playlist, timeline, and UI context. Timeline summaries can omit per-track details to reduce payload size.
- Restricts connections to loopback and validates Host and Origin headers.
- Moves MCP-only forum search and project inspection into the
mcp/module.
Testing
- MCP tests cover initialization, tool listing and calls, per-instance isolation, HTTP Origin and GET handling, and timeline summary track inclusion.
- MCP Inspector was used to verify connection, tool discovery, and tool calls.
Comments Threads Pending Resolution
ddennedy
reviewed
on October 20, 2026
src/coproducer/localllamaserverprovider.cpp
|
93
|
|||
|
94
|
|||
|
95
|
|||
|
96
|
|||
|
97
|
ddennedy
reviewed
on October 20, 2026
ddennedy
reviewed
on October 20, 2026
src/mainwindow.cpp
|
935
|
|
||
|
936
|
|
||
|
937
|
|
||
|
939
|
|
scripts/build-shotcut.sh
|
109
|
|
||
|
110
|
|
||
|
111
|
|
||
|
112
|
|
src/mainwindow.cpp
|
921
|
|
||
|
922
|
|
||
|
923
|
|
||
|
924
|
|
||
|
925
|
|